openwrt/target/linux
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
..
apm821xx apm821xx: MBL: load kernel/dtb from SATA 0:1 first 2018-11-26 21:30:31 +01:00
ar7 kernel: remove linux 3.18 support 2018-08-08 09:54:51 +02:00
ar71xx ar71xx: fix TP-Link Archer C7 v5 switch LEDs 2018-11-17 16:31:55 +01:00
arc770 arc770: remove source-only 2018-05-24 17:24:30 +02:00
archs38 kernel: enable THIN_ARCHIVES by default 2018-05-24 17:24:31 +02:00
armvirt kernel: bump 4.14 to 4.14.77 2018-10-19 10:00:48 +02:00
at91 kernel: enable memory compaction 2018-10-09 14:36:00 +02:00
ath25 kernel: bump 4.14 to 4.14.79 2018-11-05 16:00:47 +01:00
bcm53xx kernel: bump 4.14 to 4.14.81 2018-11-14 16:27:43 +01:00
brcm47xx kernel: bump 4.14 to 4.14.81 2018-11-14 16:27:43 +01:00
brcm63xx kernel: bump 4.14 to 4.14.79 2018-11-05 16:00:47 +01:00
brcm2708 kernel: bump 4.9 to 4.9.137 2018-11-14 16:27:43 +01:00
cns3xxx kernel: bump 4.14 to 4.14.77 2018-10-19 10:00:48 +02:00
gemini kernel: enable THIN_ARCHIVES by default 2018-05-24 17:24:31 +02:00
generic kernel: bump 4.14 to 4.14.82 2018-11-22 10:51:27 +01:00
imx6 imx6: fix DMA transaction errors 2018-11-06 11:49:55 +01:00
ipq40xx kernel: bump 4.14 to 4.14.79 2018-11-05 16:00:47 +01:00
ipq806x kernel: bump 4.14 to 4.14.81 2018-11-14 16:27:43 +01:00
ixp4xx kernel: bump 4.9 to 4.9.127 for 18.06 2018-09-17 15:47:44 +02:00
kirkwood kernel: enable THIN_ARCHIVES by default 2018-05-24 17:24:31 +02:00
lantiq kernel: bump 4.14 to 4.14.82 2018-11-22 10:51:27 +01:00
layerscape kernel: bump 4.9 to 4.9.137 2018-11-14 16:27:43 +01:00
malta malta: bump tp v4.14 2018-01-09 10:26:16 +01:00
mediatek kernel: bump 4.14 to 4.14.79 2018-11-05 16:00:47 +01:00
mpc85xx mpc85xx: add migration script for TP-Link TL-WDR4900 v1 WLAN PCI paths 2018-09-04 21:28:52 +02:00
mvebu kernel: bump 4.14 to 4.14.81 2018-11-14 16:27:43 +01:00
mxs kernel: bump 4.14 to 4.14.75 2018-10-10 14:46:25 +02:00
octeon kernel: enable THIN_ARCHIVES by default 2018-05-24 17:24:31 +02:00
octeontx kernel: enable memory compaction 2018-10-09 14:36:00 +02:00
omap kernel: bump 4.14 to 4.14.77 2018-10-19 10:00:48 +02:00
orion orion: remove linux 4.4 support 2018-04-19 14:38:57 +02:00
oxnas kernel: bump 4.14 to 4.14.81 2018-11-14 16:27:43 +01:00
pistachio kernel: Add support for Winbond w25q128jv SPI NOR flash 2018-11-07 11:41:59 +01:00
ramips kernel: Add support for Winbond w25q128jv SPI NOR flash 2018-11-07 11:41:59 +01:00
rb532 treewide: move nand_do_upgrade call to platform_do_upgrade 2018-02-16 14:44:02 +01:00
sunxi sunxi: remove kernel 4.9 support 2018-11-14 16:27:43 +01:00
uml kernel: bump 4.9 to 4.9.102 for 18.06 2018-05-24 16:03:58 +02:00
x86 kernel: enable memory compaction 2018-10-09 14:36:00 +02:00
Makefile