openwrt/target
Freddy Leitner 459a40fce2 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>
2018-12-27 16:40:07 +01:00
..
imagebuilder imagebuilder: don't rewrite package list output 2017-12-13 16:00:57 +01:00
linux apm821xx: MBL: load kernel/dtb from SATA 0:1 first 2018-12-27 16:40:07 +01:00
sdk sdk: find kernel modules when KDIR is a symlink 2018-11-29 11:37:04 +01:00
toolchain target/toolchain: Fix toolchain packaging without package build 2016-09-06 11:40:12 +02:00
Config.in kernel: allow selecting RTC drivers on targets without explicit RTC support 2017-12-13 15:20:38 +01:00
Makefile sdk: depend on linux/install 2016-11-04 16:14:51 +01:00