Re: OpenWRT 2nd stage u-boot problems on Pogoplug-E02 August 13, 2016 10:07PM |
Admin Registered: 13 years ago Posts: 18,550 |
setenv mtdids 'nand0=orion_nand' setenv bootargs "console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)"
Re: OpenWRT 2nd stage u-boot problems on Pogoplug-E02 August 13, 2016 11:01PM |
Registered: 10 years ago Posts: 24 |
Re: OpenWRT 2nd stage u-boot problems on Pogoplug-E02 August 14, 2016 01:46AM |
Admin Registered: 13 years ago Posts: 18,550 |
ver setenv mtdids 'nand0=orion_nand' setenv partition 'nand0,2' setenv bootargs 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial' printenv boot
setenv mtdids 'nand0=orion_nand' setenv partition 'nand0,2' setenv bootargs 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)' printenv boot
Re: OpenWRT 2nd stage u-boot problems on Pogoplug-E02 August 17, 2016 07:42AM |
Registered: 10 years ago Posts: 24 |
ver setenv mtdids 'nand0=orion_nand' setenv partition 'nand0,2' setenv bootargs 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial' printenv boot
setenv mtdids 'nand0=orion_nand' setenv partition 'nand0,2' setenv bootargs 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)' printenv boot
root@debian:~# cat /proc/mtd dev: size erasesize name mtd0: 00100000 00020000 "u-boot" mtd1: 00400000 00020000 "uImage" mtd2: 02000000 00020000 "rootfs" mtd3: 05b00000 00020000 "data"
Re: OpenWRT 2nd stage u-boot problems on Pogoplug-E02 August 17, 2016 04:29PM |
Admin Registered: 13 years ago Posts: 18,550 |
setenv mtdids 'nand0=orion_nand' setenv partition 'nand0,2' setenv bootargs 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)' printenv boot
> root@debian:~# cat /proc/mtd > dev: size erasesize name > mtd0: 00100000 00020000 "u-boot" > mtd1: 00400000 00020000 "uImage" > mtd2: 02000000 00020000 "rootfs" > mtd3: 05b00000 00020000 "data" >>
Re: OpenWRT 2nd stage u-boot problems on Pogoplug-E02 August 19, 2016 11:35PM |
Registered: 10 years ago Posts: 24 |
setenv bootargs "console=$(console) root=LABEL=rootfs rootdelay=10 earlyprintk=serial mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)"
setenv bootargs 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)'
flash_erase /dev/mtd0 0 4
Erase Total 4 Units Performing Flash Erase of length 131072 at offset 0x60000 done
Erasing 128 Kibyte @ 60000 -- 100 % complete
/usr/sbin/flash_erase /dev/mtd0 0xc0000 1
Erase Total 1 Units Performing Flash Erase of length 131072 at offset 0xc0000 done
Erasing 128 Kibyte @ c0000 -- 100 % complete
Re: OpenWRT 2nd stage u-boot problems on Pogoplug-E02 August 20, 2016 01:20AM |
Admin Registered: 13 years ago Posts: 18,550 |
> flash_erase /dev/mtd0 0 4 >>
> Erase Total 4 Units > Performing Flash Erase of length 131072 at offset > 0x60000 done >>
> Erasing 128 Kibyte @ 60000 -- 100 % complete >>
> /usr/sbin/flash_erase /dev/mtd0 0xc0000 1 >>
> Erase Total 1 Units > Performing Flash Erase of length 131072 at offset > 0xc0000 done >>
> Erasing 128 Kibyte @ c0000 -- 100 % complete >>
flash_erase --version
Re: OpenWRT 2nd stage u-boot problems on Pogoplug-E02 August 20, 2016 07:38AM |
Registered: 10 years ago Posts: 24 |
root@debian:/tmp# flash_erase --version flash_erase version 1.5.1 Copyright (C) 2000 Arcom Control Systems Ltd flash_erase comes with NO WARRANTY to the extent permitted by law. You may redistribute copies of flash_erase under the terms of the GNU General Public Licence. See the file `COPYING' for more information.
root@debian:/tmp# flash_erase /dev/mtd0 0 4 Erasing 128 Kibyte @ 60000 -- 100 % complete
Re: OpenWRT 2nd stage u-boot problems on Pogoplug-E02 August 20, 2016 05:10PM |
Admin Registered: 13 years ago Posts: 18,550 |
Re: OpenWRT 2nd stage u-boot problems on Pogoplug-E02 August 20, 2016 05:42PM |
Registered: 10 years ago Posts: 24 |
fw_setenv arcNumber 3542 fw_setenv machid dd6
fw_setenv mtdparts 'mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)'
fw_setenv mtdparts 'orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)'
Re: OpenWRT 2nd stage u-boot problems on Pogoplug-E02 August 20, 2016 05:54PM |
Admin Registered: 13 years ago Posts: 18,550 |
> fw_setenv arcNumber 3542 > fw_setenv machid dd6 >>
> fw_setenv mtdparts > 'mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(roo > tfs),-(data)' >>
Re: OpenWRT 2nd stage u-boot problems on Pogoplug-E02 August 20, 2016 06:36PM |
Registered: 10 years ago Posts: 24 |
[ 0.160952] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set [ 0.165857] No ATAGs?
[ 1.804158] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4 [ 2.883951] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address aa:bb:cc:dd:ee:ff
Re: OpenWRT 2nd stage u-boot problems on Pogoplug-E02 August 20, 2016 07:23PM |
Registered: 10 years ago Posts: 24 |
cd /boot apt-get remove flash-kernel dpkg -i linux-image-4.6.0-kirkwood-tld-1_1.0_armel.deb
root@debian:/boot# dpkg -i linux-image-4.6.0-kirkwood-tld-1_1.0_armel.deb Selecting previously unselected package linux-image-4.6.0-kirkwood-tld-1. (Reading database ... 12733 files and directories currently installed.) Preparing to unpack linux-image-4.6.0-kirkwood-tld-1_1.0_armel.deb ... Examining /etc/kernel/preinst.d/ Done. Unpacking linux-image-4.6.0-kirkwood-tld-1 (1.0) ... Setting up linux-image-4.6.0-kirkwood-tld-1 (1.0) ... Hmm. There is a symbolic link /lib/modules/4.6.0-kirkwood-tld-1/build However, I can not read it: No such file or directory Therefore, I am deleting /lib/modules/4.6.0-kirkwood-tld-1/build Hmm. The package shipped with a symbolic link /lib/modules/4.6.0-kirkwood-tld-1/source However, I can not read the target: No such file or directory Therefore, I am deleting /lib/modules/4.6.0-kirkwood-tld-1/source Running depmod. Examining /etc/kernel/postinst.d. run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.6.0-kirkwood-tld-1 /boot/vmlinuz-4.6.0-kirkwood-tld-1 run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.6.0-kirkwood-tld-1 /boot/vmlinuz-4.6.0-kirkwood-tld-1 update-initramfs: Generating /boot/initrd.img-4.6.0-kirkwood-tld-1 run-parts: executing /etc/kernel/postinst.d/zz-flash-kernel 4.6.0-kirkwood-tld-1 /boot/vmlinuz-4.6.0-kirkwood-tld-1 root@debian:/boot#
fw_setenv usb_boot 'run load_dtb; run load_uimage; if run load_initrd; then bootm 0x800000 0x1100000 0x1c00000; else bootm 0x800000 - 0x1c00000; fi'
< marvell-cesa f1030000.crypto: CESA device successfully registered --- > marvell-cesa: probe of f1030000.crypto failed with error -524
Re: OpenWRT 2nd stage u-boot problems on Pogoplug-E02 August 21, 2016 04:04AM |
Admin Registered: 13 years ago Posts: 18,550 |
> [ 0.160952] [Firmware Info]: > /ocp@f1000000/ethernet-controller@72000/ethernet0- > port@0: local-mac-address is not set > [ 0.165857] No ATAGs? >>
> [ 1.804158] mv643xx_eth: MV-643xx 10/100/1000 > ethernet driver version 1.4 > [ 2.883951] mv643xx_eth_port mv643xx_eth_port.0 > eth0: port 0 with MAC address aa:bb:cc:dd:ee:ff >>
custom_params=earlyprintk
Re: OpenWRT 2nd stage u-boot problems on Pogoplug-E02 August 21, 2016 04:10AM |
Admin Registered: 13 years ago Posts: 18,550 |
> cd /boot > apt-get remove flash-kernel > dpkg -i > linux-image-4.6.0-kirkwood-tld-1_1.0_armel.deb >>
> root@debian:/boot# dpkg -i > linux-image-4.6.0-kirkwood-tld-1_1.0_armel.deb > Selecting previously unselected package > linux-image-4.6.0-kirkwood-tld-1. > (Reading database ... 12733 files and directories > currently installed.) > Preparing to unpack > linux-image-4.6.0-kirkwood-tld-1_1.0_armel.deb > ... > Examining /etc/kernel/preinst.d/ > Done. > Unpacking linux-image-4.6.0-kirkwood-tld-1 (1.0) > ... > Setting up linux-image-4.6.0-kirkwood-tld-1 (1.0) > ... > > Hmm. There is a symbolic link > /lib/modules/4.6.0-kirkwood-tld-1/build > However, I can not read it: No such file or > directory > Therefore, I am deleting > /lib/modules/4.6.0-kirkwood-tld-1/build > > > Hmm. The package shipped with a symbolic link > /lib/modules/4.6.0-kirkwood-tld-1/source > However, I can not read the target: No such file > or directory > Therefore, I am deleting > /lib/modules/4.6.0-kirkwood-tld-1/source > > Running depmod. > Examining /etc/kernel/postinst.d. > run-parts: executing > /etc/kernel/postinst.d/apt-auto-removal > 4.6.0-kirkwood-tld-1 > /boot/vmlinuz-4.6.0-kirkwood-tld-1 > run-parts: executing > /etc/kernel/postinst.d/initramfs-tools > 4.6.0-kirkwood-tld-1 > /boot/vmlinuz-4.6.0-kirkwood-tld-1 > update-initramfs: Generating > /boot/initrd.img-4.6.0-kirkwood-tld-1 > run-parts: executing > /etc/kernel/postinst.d/zz-flash-kernel > 4.6.0-kirkwood-tld-1 > /boot/vmlinuz-4.6.0-kirkwood-tld-1 > root@debian:/boot# >>
> fw_setenv usb_boot 'run load_dtb; run load_uimage; > if run load_initrd; then bootm 0x800000 0x1100000 > 0x1c00000; else bootm 0x800000 - 0x1c00000; fi' >>
> < marvell-cesa f1030000.crypto: CESA device > successfully registered > --- > > marvell-cesa: probe of f1030000.crypto failed > with error -524 >>
Re: OpenWRT 2nd stage u-boot problems on Pogoplug-E02 March 04, 2017 11:09AM |
Registered: 7 years ago Posts: 67 |