openwrt-owl/target/linux/apm821xx
Christian Lamparter 4fc48a8cf2 apm821xx: replace recovery image for the MBL with initramfs
The patch "images: bump default rootfs size to 256 MB"
a1f83bad60 caused a crash
during boot for the recovery images. This is because
both variants of the MyBook Live only have 256MB of RAM
and for the recovery option, the ext4 rootfs was simply
stored in the RAMDISK.

This patch replaces recovery image for the MBL with an
initramfs kernel.

In order to boot the initramfs (for recovery or development):

0. copy the initramfs and device tree into tftp's server directory
   # cp *-initramfs-kernel.bin to /tftp-server/mbl.bin
   # cp *-ext4-kernel.dtb to /tftp-server/fdt.bin

1. Connect the MyBook Live (Duo) serial port.
   (Warning! Use a 3.3v level shifter).

2. Hit Enter during u-boot and insert these three lines:
   # setenv serverip 192.168.1.254; setenv ipaddr 192.168.1.1;
   # tftp ${kernel_addr_r} mbl.bin; tftp ${fdt_addr_r} fdt.bin
   # run addtty addmisc; bootm ${kernel_addr_r} - ${fdt_addr_r}

   Where 192.168.1.254 is your TFTP server.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2016-10-13 17:04:33 +02:00
..
base-files apm821xx: backport generic HDD led-triggers for WNDR4700 and MBL 2016-09-08 13:40:03 +02:00
dts apm821xx: detect sd-card media changes for the WNDR4700 2016-09-08 13:40:02 +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: replace recovery image for the MBL with initramfs 2016-10-13 17:04:33 +02:00
nand apm821xx: backport generic HDD led-triggers for WNDR4700 and MBL 2016-09-08 13:40:03 +02:00
patches-4.4 kernel: update kernel 4.4 to version 4.4.20 2016-09-15 08:10:55 +02:00
sata apm821xx: replace recovery image for the MBL with initramfs 2016-10-13 17:04:33 +02:00
Makefile build: fix subtarget descriptions 2016-09-04 13:35:11 +02:00
config-4.4 apm821xx: add support for the Netgear Centria N900 WNDR4700/WNDR4720 2016-07-22 09:48:12 +02:00