[Question] How to install Debian on PogoPlug POGO-V4-A3-01 which is currently running Archlinux ARM? March 28, 2020 10:25AM |
Registered: 4 years ago Posts: 2 |
dtb_file=/boot/dts/kirkwood-pogoplug_v4
dtb_file=/boot/dts/kirkwood-pogoplug_v4.dtb
# 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"
mtd0: 00100000 00020000 "u-boot"
# 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?
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?
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".
Re: [Question] How to install Debian on PogoPlug POGO-V4-A3-01 which is currently running Archlinux ARM? March 28, 2020 05:45PM |
Admin Registered: 13 years ago Posts: 18,858 |
> dtb_file=/boot/dts/kirkwood-pogoplug_v4 >>
> dtb_file=/boot/dts/kirkwood-pogoplug_v4.dtb >>
> # 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" >>
> mtd0: 00100000 00020000 "u-boot" >
/dev/mtd0 0xc0000 0x20000 0x20000
> # fw_printenv ethaddr > Warning: Bad CRC, using default environment > ethaddr=00:00:11:22:33:44 >> There may be no need to backup these environment
> flash_erase /dev/mtd0 0 4 > nandwrite /dev/mtd0 > uboot.2017.07-tld-1.pogo_v4.mtd0.kwb >> And 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.img >
Re: [Question] How to install Debian on PogoPlug POGO-V4-A3-01 which is currently running Archlinux ARM? April 11, 2020 05:35AM |
Registered: 4 years ago Posts: 2 |
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)And I changed it back to this:
mtdparts=mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root)
# uname -a Linux debian 5.5.1-kirkwood-tld-1 #1.0 PREEMPT Sat Feb 1 22:28:36 PST 2020 armv5tel GNU/Linux
# fw_printenv dtb_file load_dtb load_initrd load_uimage usb_boot dtb_file=/boot/dts/kirkwood-pogoplug_v4.dtb load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage ## Error: "usb_boot" not defined
Re: [Question] How to install Debian on PogoPlug POGO-V4-A3-01 which is currently running Archlinux ARM? April 11, 2020 06:30AM |
Admin Registered: 13 years ago Posts: 18,858 |
> # fw_printenv dtb_file load_dtb load_initrd > load_uimage usb_boot > dtb_file=/boot/dts/kirkwood-pogoplug_v4.dtb > load_dtb=echo loading DTB $dtb_file ...; load > $bootdev $device $load_dtb_addr $dtb_file > load_initrd=echo loading uInitrd ...; load > $bootdev $device $load_initrd_addr /boot/uInitrd > load_uimage=echo loading uImage ...; load $bootdev > $device $load_uimage_addr /boot/uImage > ## Error: "usb_boot" not defined >
apt-get update apt-get upgrade