Hi I have a PogoPlug POGO-V4-A3-01, and I have installed Archlinux ARM on it using this tutorial:
https://archlinuxarm.org/platforms/armv5/pogoplug-series-4
So I want to run this Debian on it:
https://forum.doozan.com/read.php?2,12096
I downloaded this rootfs pack: Latest released rootfs: Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2 (25 Aug 2019)
I did not use the latest kernel.
I prepared a SD card with that rootfs package (filesystem is ext3 with journaling)
I downloaded this latest U-Boot:
https://forum.doozan.com/read.php?3,12381
I followed this UART boot guide:
https://forum.doozan.com/read.php?3,7852,7852
And I successfully booted into U-Boot with prompt "Pogov4".
I remembered I have to chagne this environment var from:
To:
And the devices starts running Debian now.
So the next step I reckon is to write the U-boot to somewhere in the internal "mtdblock". And I suppose the environment variables to U-Boot need to be updated as well?
In current Debian system, my configuration is as follows:
Are they correct?
Do I need to change /etc/fw_env.config to the following?
I've seen this error on console for env vars:
Or do I need to boot to the Archlinux U-boot and save output from "printenv"?
So in this running Debian system, I just need to run the following commands?
mtdparts=mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root)
)
Is this all?
Thank you.
https://archlinuxarm.org/platforms/armv5/pogoplug-series-4
So I want to run this Debian on it:
https://forum.doozan.com/read.php?2,12096
I downloaded this rootfs pack: Latest released rootfs: Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2 (25 Aug 2019)
I did not use the latest kernel.
I prepared a SD card with that rootfs package (filesystem is ext3 with journaling)
I downloaded this latest U-Boot:
https://forum.doozan.com/read.php?3,12381
I followed this UART boot guide:
https://forum.doozan.com/read.php?3,7852,7852
And I successfully booted into U-Boot with prompt "Pogov4".
I remembered I have to chagne this environment var from:
dtb_file=/boot/dts/kirkwood-pogoplug_v4
To:
dtb_file=/boot/dts/kirkwood-pogoplug_v4.dtb
And the devices starts running Debian now.
So the next step I reckon is to write the U-boot to somewhere in the internal "mtdblock". And I suppose the environment variables to U-Boot need to be updated as well?
In current Debian system, my configuration is as follows:
Are they correct?
# cat /etc/fw_env.config # MTD device name Device offset Env. size Flash sector size Number of sectors /dev/mtd0 0xc0000 0x20000 0x20000 root@debian: /dev # cat /proc/mtd dev: size erasesize name mtd0: 00200000 00020000 "u-boot" mtd1: 00300000 00020000 "uImage" mtd2: 00300000 00020000 "uImage2" mtd3: 00800000 00020000 "failsafe" mtd4: 07000000 00020000 "root"
Do I need to change /etc/fw_env.config to the following?
mtd0: 00100000 00020000 "u-boot"
I've seen this error on console for env vars:
# fw_printenv ethaddr Warning: Bad CRC, using default environment ethaddr=00:00:11:22:33:44There may be no need to backup these environment variables in Debian?
Or do I need to boot to the Archlinux U-boot and save output from "printenv"?
So in this running Debian system, I just need to run the following commands?
flash_erase /dev/mtd0 0 4 nandwrite /dev/mtd0 uboot.2017.07-tld-1.pogo_v4.mtd0.kwbAnd flash default u-boot envs:
/usr/sbin/flash_erase /dev/mtd0 0xc0000 1 /usr/sbin/nandwrite -s 786432 /dev/mtd0 uboot.2016.05-tld-1.environment.imgAnd finally update environment vars:
fw_setenv arcNumber 3960 fw_setenv machid f78 fw_setenv mtdparts 'xxxxxxxxx'(This "mtdparts" var has the following value when I UART booted the U-boot, is it correct?
mtdparts=mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root)
)
fw_setenv ethaddr 'xx:xx:xx:xx:xx:xx' fw_setenv dtb_file '/boot/dts/kirkwood-pogoplug_v4.dtb'And also the env vars for utilizing "uEnv.txt".
Is this all?
Thank you.