openwrt/target/linux/apm821xx
Freddy Leitner 9671a2d2c8 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

Signed-off-by: Freddy Leitner <hello@square.wf>
Acked-by: Christian Lamparter <chunkeey@gmail.com>
2018-11-26 21:30:31 +01:00
..
base-files apm821xx: wndr4700: restore sd-card media detection 2018-11-26 10:56:42 +01:00
dts apm821xx: fix usb-otg on 4.14 2018-07-16 08:43:15 +02:00
files/arch/powerpc/platforms/44x apm821xx: fix atheros PCIe cards on the MR24 2016-07-25 10:38:48 +02:00
image apm821xx: MBL: load kernel/dtb from SATA 0:1 first 2018-11-26 21:30:31 +01:00
nand apm821xx: nand remove obsolete kernel config symbol 2018-02-23 07:54:29 +01:00
patches-4.14 kernel: bump 4.14 to 4.14.78 2018-10-22 15:29:01 +02:00
sata apm821xx: MyBook Live convert to DT PHY 2017-12-14 09:29:30 +01:00
config-4.14 kernel: enable THIN_ARCHIVES by default 2018-05-24 17:24:31 +02:00
Makefile apm821xx: switch to 4.14.x kernel 2018-01-12 08:00:05 +01:00