openwrt/target/linux/realtek
Markus Stockhausen dc9fca1fd1 realtek: 6.6: harden fw_init_cmdline()
Some devices (e.g. HP JG924A) hand over other than expected kernel boot
arguments. Looking at these one can see:

fw_init_cmdline: fw_arg0=00020000
fw_init_cmdline: fw_arg1=00060000
fw_init_cmdline: fw_arg2=fffdffff
fw_init_cmdline: fw_arg3=0000416c

Especially fw_arg2 should be the pointer to the environment and it looks
very suspicous. It is not aligned and the address is outside KSEG0 and
KSEG1. Booting the device will result in a hang. Do better at verifying
the address.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Suggested-by: Bjørn Mork <bjorn@mork.no>
2024-09-14 20:08:57 +02:00
..
base-files realtek: fix filter_port_list_reverse calls 2024-04-13 13:22:11 +03:00
dts realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
files/firmware/rtl838x_phy
files-5.15 realtek: rework hardware-assisted indirect mdio access 2024-09-14 19:58:21 +02:00
files-6.6 realtek: 6.6: set phylink supported_interfaces 2024-09-14 20:08:41 +02:00
image realtek: normalize dts directory 2024-09-14 16:56:37 +02:00
patches-5.15 realtek: rework hardware-assisted indirect mdio access 2024-09-14 19:58:21 +02:00
patches-6.6 realtek: 6.6: harden fw_init_cmdline() 2024-09-14 20:08:57 +02:00
profiles target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
rtl838x realtek: 6.6: copy files and config from 5.15 2024-09-14 19:58:54 +02:00
rtl839x realtek: 6.6: copy files and config from 5.15 2024-09-14 19:58:54 +02:00
rtl930x realtek: 6.6: copy files and config from 5.15 2024-09-14 19:58:54 +02:00
rtl931x realtek: 6.6: fix rtl931x kernel config 2024-09-14 19:58:54 +02:00
Makefile realtek: switch to Kernel 5.15 by default 2023-03-14 18:47:00 +01:00