You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/target/linux/apm821xx
Freddy Leitner 7aa5dc46ee apm821xx: MBL: load kernel/dtb from SATA 0:1 first
This remedies an issue with the MBL Duo if both disks are inserted
and contain OpenWrt. kernel and dtb would be loaded from SATA 1:1
while rootfs (/dev/sda2) would be mounted on SATA 0:1.

Such a mix&match would obviously only work if both OpenWrt versions/
builds are identical, and especially fail after sysupgrade upgraded
the system disk on SATA 0:1.

The fallback to SATA 1:1 needs to be kept for MBL Single (only has
SATA 1:1) and MBL Duo with one disk inserted on SATA 1:1. To speed
up booting in those cases, the unneccesarily doubled "sata init"
will only be called once. (In theory it could be omitted completely
since the on-flash boot script already initializes SATA to load the
on-disk boot script.)

Tested on MBL Duo (all possible combination of disks) and MBL Single

Acked-by: Christian Lamparter <chunkeey@gmail.com>
Signed-off-by: Freddy Leitner <hello@square.wf>
6 years ago
..
base-files treewide: fix upgrade led handling 6 years ago
dts treewide: fix some cosmetic glitches in dts files 6 years ago
files/arch/powerpc/platforms/44x apm821xx: fix atheros PCIe cards on the MR24 8 years ago
image apm821xx: MBL: load kernel/dtb from SATA 0:1 first 6 years ago
nand apm821xx: nand remove obsolete kernel config symbol 6 years ago
patches-4.14 kernel: bump 4.14 to 4.14.59 6 years ago
sata apm821xx: clean up gpio-hogs 6 years ago
Makefile apm821xx: switch to 4.14.x kernel 6 years ago
config-4.14 kernel: enable THIN_ARCHIVES by default 6 years ago