tn3399_openwrt/package/boot
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
..
apex apex: Remove dead URL. 2018-08-22 11:21:53 +02:00
arm-trusted-firmware-sunxi arm-trusted-firmware-sunxi: Replace with official ARM version 2019-01-13 17:35:14 +01:00
at91bootstrap at91: Add SAMA5D2 PTC EK board 2018-05-05 06:55:22 +02:00
fconfig fconfig: Remove dead URLs 2018-08-22 11:22:04 +02:00
grub2 grub2: fix regression caused by binutils-2.31.1 2018-10-25 16:51:42 +02:00
imx-bootlets treewide: clean up download hashes 2016-12-16 22:39:22 +01:00
kexec-tools kexec-tools: bump version to 2.0.16 2018-02-11 16:10:51 +01:00
kobs-ng kobs-ng: add header for integer definitions 2017-11-16 22:56:54 +01:00
rbcfg rbcfg: Implement CPU frequency control 2017-10-07 15:00:26 +02:00
uboot-ar71xx uboot-ar71xx: fix musl host build 2019-01-22 13:29:46 +01:00
uboot-at91 at91: Add SAMA5D2 PTC EK board 2018-05-05 06:55:22 +02:00
uboot-envtools mpc85xx: add support for OCEDO Panda 2019-01-26 17:10:19 +01:00
uboot-fritz4040 ipq40xx: copy Fritz4040 UBoot to STAGING_DIR_IMAGE 2019-01-06 12:26:12 +01:00
uboot-imx6 imx6: use BUILD_DEVICES in uboot-imx6 for mx6cuboxi 2018-09-05 10:00:01 +02:00
uboot-kirkwood uboot-kirkwood: fix malformed boot configuration 2018-06-27 08:42:54 +02:00
uboot-lantiq uboot-lantiq: fix compile with modern host dtc 2018-10-07 02:12:06 +02:00
uboot-layerscape layerscape: add LS1021AIOT board support 2018-12-18 20:17:23 +01:00
uboot-layerscape-armv8_32b layerscape: add ls1012afrwy support and drop ls1012afrdm 2018-09-22 21:20:57 +02:00
uboot-mvebu uboot-mvebu: fix build on hosts lacking pkg-config 2018-05-23 09:05:55 +02:00
uboot-mxs uboot-mxs: bump to v2018.09 2018-11-01 17:16:52 +01:00
uboot-omap omap: rename image for sysupgrade compatibility 2018-07-30 11:03:02 +02:00
uboot-oxnas uboot-oxnas: fix typo accidentally committed during oxnas reboot 2018-06-18 18:55:19 +02:00
uboot-sunxi uboot-sunxi: Orange Pi Zero Plus: Fix SdCard detection 2019-01-13 17:35:14 +01:00
uboot-xburst treewide: clean up download hashes 2016-12-16 22:39:22 +01:00
uboot-zynq uboot-zynq: use a file to modify the default environment 2018-09-10 08:54:41 +02:00
yamonenv yamonenv: Remove dead URLs 2018-08-22 11:22:17 +02:00