ImmortalWrt/package/boot/uboot-envtools/files
David Bauer b368373fab mpc85xx: add support for OCEDO Panda
CPU:   FSL P1020 (2x 800MHz E500 PPC)
RAM:   1GB DDR3
FLASH: 256MiB NAND
WiFi:  2x Atheros AR9382 2x2:2 abgn
ETH:   2x BCM54616S - 1x BCM53128 8-port switch
LED:   5x LEDs (Power, WiFi1, WiFi2, N/D, SYS)
BTN:   1x RESET

Installation
------------

1. Download initrams kernel image, dtb binary and sysupgrade image.

2. Place initramfs kernel into tftp root directory. Rename to
"panda-uimage-factory".

3. Place dtb binary into tftp root directory. Rename to "panda.fdt".

4. Start tftp server on 192.168.100.8/24.

5. Power up the device with the reset button pressed. It will download
the initrams and dtb via tftp and boot into OpenWRT in RAM.

6. SSH into the device and remove the factory partitions.

 > ubirmvol /dev/ubi0 --name=kernel1
 > ubirmvol /dev/ubi0 --name=rootfs1
 > ubirmvol /dev/ubi0 --name=devicetree1

You will have around 60 MiB of free space with that.

You can also delete "kernel2", "devicetree2", "rootfs2" and "storage"
respectively in case you do not want to go back to the vendor firmware.

7. Modify the U-Boot bootcmd to allow for booting OpenWRT

 > fw_setenv bootcmd_owrt "ubi part ubi && ubi read 0x1000000 kernel
   && bootm 0x1000000"

 > fw_setenv bootargs_owrt "setenv bootargs console=ttyS0,115200
   ubi.mtd=3,2048"

 > fw_setenv bootcmd "run bootargs_owrt; run bootcmd_owrt"

8. Transfer the sysupgrade image via scp into the /tmp directory.

9. Upgrade the device

 > sysupgrade -n /tmp/<imagename>

Signed-off-by: David Bauer <mail@david-bauer.net>
2019-01-26 17:10:19 +01:00
..
apm821xx apm821xx: add support for the Netgear WNDAP620 and WNDAP660 2018-11-26 12:05:46 +01:00
ar71xx uboot-envtools: Add domywifi dw33d support 2019-01-02 22:24:52 +01:00
ath79 ath79: fix boardname of GL.iNet GL-AR300M 2018-12-31 14:24:21 +01:00
cns3xxx treewide: use the generic board_name function 2017-07-15 23:13:34 +02:00
imx6 treewide: use the generic board_name function 2017-07-15 23:13:34 +02:00
ipq40xx uboot-envtools: ipq40xx: Configuration for GL.iNet GL-B1300 2019-01-02 22:24:49 +01:00
ipq806x uboot-envtools: adds r7800 uboot env support 2018-10-07 02:12:06 +02:00
kirkwood kirkwood: add support for Iomega Storcenter ix2-200 2018-07-30 15:21:00 +02:00
lantiq lantiq: use the compatible string as board name 2017-12-16 23:33:56 +01:00
layerscape uboot-envtools: add configuration for Traverse LS1043 boards. 2018-07-30 10:53:57 +02:00
mpc85xx mpc85xx: add support for OCEDO Panda 2019-01-26 17:10:19 +01:00
mvebu mvebu: add support for WRT32X (venom) 2018-05-14 17:20:10 +02:00
mxs uboot-envtools: fix configuration for I2SE Duckbills 2018-12-18 20:17:22 +01:00
oxnas treewide: use the generic board_name function 2017-07-15 23:13:34 +02:00
pistachio pistachio: remove custom board detection override 2017-03-22 11:43:22 +01:00
ramips ramips: drop support for ALLNET ALL0239-3G and Sitecom WL-341 v3 2018-12-12 11:01:59 +01:00
uboot-envtools.sh