Skip to content

Conversation

@goodSupper
Copy link

No description provided.

gl-niyin and others added 30 commits December 22, 2022 03:51
Signed-off-by: Jianhui Zhao <[email protected]>
Signed-off-by: Jianhui Zhao <[email protected]>
Signed-off-by: Jianhui Zhao <[email protected]>
Signed-off-by: Jianhui Zhao <[email protected]>
Signed-off-by: Jianhui Zhao <[email protected]>
Signed-off-by: Jianhui Zhao <[email protected]>
Signed-off-by: Jianhui Zhao <[email protected]>
Signed-off-by: Jianhui Zhao <[email protected]>
Signed-off-by: Jianhui Zhao <[email protected]>
Signed-off-by: Jianhui Zhao <[email protected]>
Signed-off-by: Jianhui Zhao <[email protected]>
install bit.lua

Signed-off-by: Jianhui Zhao <[email protected]>
Signed-off-by: Jianhui Zhao <[email protected]>
Signed-off-by: Jianhui Zhao <[email protected]>
Signed-off-by: Jianhui Zhao <[email protected]>
Signed-off-by: Jianhui Zhao <[email protected]>
If the bus is not specified, the configuration file is incorrectly generated.

Signed-off-by: Yin Ni <[email protected]>
Signed-off-by: Jianhui Zhao <[email protected]>
Other conf files will upgraded following firmware.

Signed-off-by: Jianhui Zhao <[email protected]>
yongpingxie and others added 27 commits April 18, 2024 01:49
Do not required libmosquitto

Signed-off-by: Jianhui Zhao <[email protected]>
* refactor(mqtt): reimplemented in pure lua, do not depend libmosquitto
* fix md5 for some old gcc
* fix panic while send on a closed socket.

Signed-off-by: Jianhui Zhao <[email protected]>
* refactor(mqtt): reimplemented in pure lua, do not depend libmosquitto
* fix md5 for some old gcc
* fix panic while send on a closed socket.

Signed-off-by: Jianhui Zhao <[email protected]>
* Reduce the memory usage

Signed-off-by: Jianhui Zhao <[email protected]>
* perf: improve random seed

Signed-off-by: Jianhui Zhao <[email protected]>
- **file**: add support linux inotify ([Jianhui Zhao](zhaojh329/lua-eco@fb6c511))

- **file**: remove unused require for 'bufio' ([Jianhui Zhao](zhaojh329/lua-eco@21302fc))

- improve random seed ([Jianhui Zhao](zhaojh329/lua-eco@13559c6))

Signed-off-by: Jianhui Zhao <[email protected]>
…cert

This is occurs in linux-6.x

```
[    2.880746] gl_sdk4_hw_info: loading out-of-tree module taints kernel.
[    2.888591] detected buffer overflow in __fortify_strlen
[    2.893940] ------------[ cut here ]------------
[    2.898539] kernel BUG at lib/string_helpers.c:1046!
[    2.903486] Internal error: Oops - BUG: 00000000f2000800 [#1] SMP
[    2.909559] Modules linked in: gl_sdk4_hw_info(O+)
[    2.914337] CPU: 2 PID: 569 Comm: kmodloader Tainted: G           O       6.6.30 #0
[    2.921971] Hardware name: GL.iNet GL-MT6000 (DT)
[    2.926656] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[    2.933597] pc : fortify_panic+0x18/0x1c
[    2.937510] lr : fortify_panic+0x18/0x1c
[    2.941417] sp : ffffffc081b1b850
[    2.944714] x29: ffffffc081b1b850 x28: 0000000000000000 x27: ffffffc078c92280
[    2.951830] x26: ffffffc080c611f0 x25: ffffff8000e2dc68 x24: 000000000000000c
[    2.958945] x23: ffffffc078c92000 x22: ffffffc078c92000 x21: ffffffc078c92088
[    2.966060] x20: ffffffc078c96f68 x19: ffffff803fdfac00 x18: 00000000000000a9
[    2.973176] x17: 00000000ab3b1d9a x16: 000000003021b7d6 x15: ffffffc080b6a128
[    2.980292] x14: 00000000000001fb x13: 00000000000000a9 x12: 00000000ffffffea
[    2.987408] x11: 00000000ffffefff x10: ffffffc080bc2128 x9 : ffffffc080b6a0d0
[    2.994523] x8 : 0000000000017fe8 x7 : c0000000ffffefff x6 : 0000000000057fa8
[    3.001640] x5 : 0000000000000fff x4 : 0000000000000000 x3 : ffffffc081b1b660
[    3.008754] x2 : ffffffc080b6a068 x1 : ffffffc080b6a068 x0 : 000000000000002c
[    3.015869] Call trace:
[    3.018301]  fortify_panic+0x18/0x1c
[    3.021861]  lookup_country+0x0/0x1f8 [gl_sdk4_hw_info]
[    3.027074]  lookup_country+0x94/0x1f8 [gl_sdk4_hw_info]
[    3.032369]  platform_probe+0x64/0xbc
[    3.036017]  really_probe+0x140/0x2a8
[    3.039668]  __driver_probe_device+0x74/0x120
[    3.044009]  driver_probe_device+0x3c/0x110
[    3.048177]  __driver_attach+0x88/0x18c
[    3.051998]  bus_for_each_dev+0x60/0xa0
[    3.055819]  driver_attach+0x20/0x28
[    3.059380]  bus_add_driver+0xe0/0x1ec
[    3.063114]  driver_register+0x58/0x114
[    3.066936]  __platform_driver_register+0x24/0x2c
[    3.071621]  init_module+0x3c/0x1000 [gl_sdk4_hw_info]
[    3.076745]  do_one_initcall+0x64/0x1e0
[    3.080565]  do_init_module+0x54/0x1d0
[    3.084300]  load_module+0x17f8/0x194c
[    3.088032]  __do_sys_init_module+0x178/0x220
[    3.092371]  __arm64_sys_init_module+0x18/0x20
[    3.096796]  invoke_syscall.constprop.0+0x4c/0xe0
[    3.101484]  do_el0_svc+0x3c/0xb8
[    3.104784]  el0_svc+0x18/0x4c
[    3.107827]  el0t_64_sync_handler+0x118/0x124
[    3.112166]  el0t_64_sync+0x150/0x154
[    3.115815] Code: aa0003e1 910003fd 912a8040 97f26904 (d4210000)
[    3.121888] ---[ end trace 0000000000000000 ]---
[    3.128186] pstore: backend (ramoops) writing error (-28)
[    3.133567] Kernel panic - not syncing: Oops - BUG: Fatal exception
[    3.139812] SMP: stopping secondary CPUs
[    3.143720] Kernel Offset: disabled
[    3.147191] CPU features: 0x0,00000000,00000000,1000400b
[    3.152484] Memory Limit: none
[    3.157114] Rebooting in 1 seconds..
```

Signed-off-by: Jianhui Zhao <[email protected]>
qsdk wifi init need a long time, wireless page will
error if nginx startup before wifi init, so add a
delay function in nginx.init boot

Signed-off-by: gl-dengxinfa <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.