OpenWrt installation failure February 22, 2019 04:12PM |
Registered: 7 years ago Posts: 337 |
NAS>> reset <------> -- NAS EXPLORER -- _ _ ____ _ | | | | | __ ) ___ ___ | |_. | | | |___| _ \ / _ \ / _ \| __|. | |_| |___| |_) | (_) | (_) | |_. \___/ |____/ \___/ \___/ \__|. ** QSI BOARD: NAS-PLUG LE. U-Boot 1.1.4 (Jun 10 2010 - 08:28:13) Marvell version: 3.4.27 QSI NAS version: 1.0.4 U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006CFB00 Soc: 88F6281 A1 (DDR2) CPU running @ 1200Mhz L2 running @ 400Mhz SysClock = 400Mhz , TClock = 200Mhz. DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6 DRAM CS[0] base 0x00000000 size 128MB. DRAM Total size 128MB 16bit width Addresses 8M - 0M are saved for the U-Boot usage. Mem malloc Initialization (8M - 7M): Done NAND:256 MB Flash: 0 kB CPU : Marvell Feroceon (Rev 1) Streaming disabled. Write allocate disabled USB 0: host mode PEX 0: interface detected no Link. Net: egiga0 [PRIME] Hit any key to stop autoboot: 3 ^H^H^H 2 ^H^H^H 1 ^H^H^H 0. NAND read: device 0 offset 0x100000, size 0x600000 Reading data from 0x100000 -- 0% complete.Reading data from 0x10f000 -- 1% complete.Reading data from 0x11e800 -- 2% complete.Reading data from 0x12e000 -- 3% complete.Read 6291456 bytes read: OK ## Booting image at 00800000 ... Image Name: Linux-2.6.22.18 Created: 2010-06-17 5:37:59 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2095148 Bytes = 2 MB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... Bad Data CRC NAS>> exit Unknown command 'exit' - try 'help' NAS>> ~ [EOT]
Re: OpenWrt installation failure February 22, 2019 04:31PM |
Registered: 7 years ago Posts: 337 |
Re: OpenWrt installation failure February 22, 2019 04:47PM |
Admin Registered: 13 years ago Posts: 18,898 |
Re: OpenWrt installation failure February 22, 2019 05:45PM |
Registered: 7 years ago Posts: 337 |
Install u-boot and OpenWrt 18.06.1 into NAND via serial cable and tftp-server Prepare on PC Download files https://downloads.openwrt.org/releases/18.06.1/targets/kirkwood/generic/u-boot-goflexhome/u-boot.kwb https://downloads.openwrt.org/releases/18.06.1/targets/kirkwood/generic/openwrt-18.06.1-kirkwood-seagate_goflexhome-squashfs-factory.bin Start tftp-server sudo dnsmasq -p0 --enable-tftp --tftp-root="/tmp" -d Copy files u-boot.kwb, openwrt-18.06.1-kirkwood-seagate_goflexhome-squashfs-factory.bin to /tmp Start on GoFlex Serial port Pinout J1: 8 Rx (in) 9 Tx (out) 10 GND (3.3V) Port: 115200 8N1 Install u-boot Hit any key to stop autoboot in the u-boot and set goflexhome ip, tftp-server ip, set your mac-address from bottom of the machine: setenv ipaddr '192.168.1.1' setenv serverip '192.168.1.2' setenv ethaddr '00:10:75:xx:xx:xx' saveenv download from tftp-server u-boot.kwb file to RAM start offset 0x6400000 tftp 0x6400000 u-boot.kwb or tftpboot 0x6400000 u-boot.kwb Bytes transferred = 607044 (94344 hex) ← this number is needed for nand write erase nand start from 0x0 size 0x100000 nand erase 0x0 0x100000 write nand from RAM start offset 0x6400000 to nand start 0x0 size 0x94344 nand write 0x6400000 0x0 0javascript:editor_tools_handle_code()x94344 reboot device reset now you are rebooting in the new u-boot
root@FreeBSD:/mnt/projects/openwrt/GoFlexHome/gfh3 # cu -l /dev/cuaU0 -s 115200 Connected <------> -- NAS EXPLORER -- _ _ ____ _ | | | | | __ ) ___ ___ | |_. | | | |___| _ \ / _ \ / _ \| __|. | |_| |___| |_) | (_) | (_) | |_. \___/ |____/ \___/ \___/ \__|. ** QSI BOARD: NAS-PLUG LE. U-Boot 1.1.4 (Jun 10 2010 - 08:28:13) Marvell version: 3.4.27 QSI NAS version: 1.0.4 U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006CFB00 Soc: 88F6281 A1 (DDR2) CPU running @ 1200Mhz L2 running @ 400Mhz SysClock = 400Mhz , TClock = 200Mhz. DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6 DRAM CS[0] base 0x00000000 size 128MB. DRAM Total size 128MB 16bit width Addresses 8M - 0M are saved for the U-Boot usage. Mem malloc Initialization (8M - 7M): Done NAND:256 MB Flash: 0 kB CPU : Marvell Feroceon (Rev 1) Streaming disabled. Write allocate disabled USB 0: host mode PEX 0: interface detected no Link. Net: egiga0 [PRIME] Hit any key to stop autoboot: 3 ^H^H^H 0. NAS>> tftp 0x6400000 file-3 Using egiga0 device TFTP from server 192.168.1.2; our IP address is 192.168.1.200 Filename 'file-3'. Load address: 0x6400000 Loading: *^H################################################################# <------> ###################################################### done Bytes transferred = 607044 (94344 hex) NAS>> nand erase 0x0 0x100000^H ^H^H ^H^H ^H^H ^H^H ^H00000 NAND erase: device 0 offset 0x0, size 0x100000 Erasing at 0x0 -- 12% complete.Erasing at 0x20000 -- 25% complete.Erasing at 0x40000 -- 37% complete.Erasing at 0x60000 -- 50% complete.Erasing at 0x80000 -- 62% complete.Eras OK NAS>> nand write 0x640000 0x0 0x94344 NAND write: device 0 offset 0x0, size 0x94344 nand_write_ecc: Attempt to write not page aligned data 0 bytes written: ERROR NAS>> ~ [EOT]
Re: OpenWrt installation failure February 23, 2019 12:27AM |
Admin Registered: 13 years ago Posts: 18,898 |
NAS>> nand write 0x640000 0x0 0x94344 NAND write: device 0 offset 0x0, size 0x94344 nand_write_ecc: Attempt to write not page aligned data
Re: OpenWrt installation failure February 23, 2019 04:22AM |
Registered: 7 years ago Posts: 337 |
Re: OpenWrt installation failure February 23, 2019 02:04PM |
Admin Registered: 13 years ago Posts: 18,898 |
Re: OpenWrt installation failure February 28, 2019 11:10AM |
Registered: 7 years ago Posts: 337 |
3. Run the following code for starting the process: # @bootloader run LEDE from usb pendrive usb reset; fatload usb 0 0x800000 lede-kirkwood-pogo_e02-initramfs-uImage; bootm 0x800000
Re: OpenWrt installation failure February 28, 2019 04:04PM |
Admin Registered: 13 years ago Posts: 18,898 |
4a. CLI upgrade: opkg update opkg install ca-bundle ca-certificates libustream-openssl ubi-utils cd /tmp wget https://downloads.lede-project.org/releases/17.01.4/targets/kirkwood/generic/lede-17.01.4-kirkwood-pogo_e02-squashfs-sysupgrade.tar sysupgrade lede*kirkwood-pogo_e02-squashfs-sysupgrade.tar
Re: OpenWrt installation failure March 04, 2019 04:19AM |
Registered: 7 years ago Posts: 337 |
3. Run the following code for starting the process: # @bootloader run LEDE from usb pendrive usb reset; fatload usb 0 0x800000 lede-kirkwood-pogo_e02-initramfs-uImage; bootm 0x800000
Re: OpenWrt installation failure March 04, 2019 04:00PM |
Admin Registered: 13 years ago Posts: 18,898 |
Re: OpenWrt installation failure March 04, 2019 04:04PM |
Registered: 6 years ago Posts: 183 |
Re: OpenWrt installation failure March 04, 2019 05:52PM |
Registered: 7 years ago Posts: 337 |
_______ ________ __. | |.-----.-----.-----.| | | |.----.| |_. | - || _ | -__| || | | || _|| _|. |_______|| __|_____|__|__||________||__| |____|. |__| W I R E L E S S F R E E D O M. -----------------------------------------------------. OpenWrt 18.06.2, r7676-cddd7b4c77. -----------------------------------------------------. === WARNING! =====================================. There is no root password defined on this device!. Use the "passwd" command to set up a new password. in order to prevent unauthorized SSH logins.. --------------------------------------------------. root@OpenWrt:/# opkg update. Downloading http://downloads.openwrt.org/releases/18.06.2/targets/kirkwood/generic/packages/Packages.gz. Updated list of available packages in /var/opkg-lists/openwrt_core. Downloading http://downloads.openwrt.org/releases/18.06.2/targets/kirkwood/generic/packages/Packages.sig. Signature check passed.. Downloading http://downloads.openwrt.org/releases/18.06.2/packages/arm_xscale/base/Packages.gz. Updated list of available packages in /var/opkg-lists/openwrt_base. Downloading http://downloads.openwrt.org/releases/18.06.2/packages/arm_xscale/base/Packages.sig. Signature check passed.. Downloading http://downloads.openwrt.org/releases/18.06.2/packages/arm_xscale/luci/Packages.gz. Updated list of available packages in /var/opkg-lists/openwrt_luci. Downloading http://downloads.openwrt.org/releases/18.06.2/packages/arm_xscale/luci/Packages.sig. Signature check passed.. Downloading http://downloads.openwrt.org/releases/18.06.2/packages/arm_xscale/packages/Packages.gz. Updated list of available packages in /var/opkg-lists/openwrt_packages. Downloading http://downloads.openwrt.org/releases/18.06.2/packages/arm_xscale/packages/Packages.sig. Signature check passed.. Downloading http://downloads.openwrt.org/releases/18.06.2/packages/arm_xscale/routing/Packages.gz. Updated list of available packages in /var/opkg-lists/openwrt_routing. Downloading http://downloads.openwrt.org/releases/18.06.2/packages/arm_xscale/routing/Packages.sig. Signature check passed.. Downloading http://downloads.openwrt.org/releases/18.06.2/packages/arm_xscale/telephony/Packages.gz. Updated list of available packages in /var/opkg-lists/openwrt_telephony. Downloading http://downloads.openwrt.org/releases/18.06.2/packages/arm_xscale/telephony/Packages.sig. Signature check passed.. root@OpenWrt:/# opkg install ca-bundle ca-certificates libustream-openssl ubi-ut. ils. Installing ca-bundle (20180409-2) to root.... Installing ca-certificates (20180409-2) to root.... Installing libustream-openssl (2018-07-30-23a3f283-1) to root.... Package ubi-utils (2.0.2-1) installed in root is up to date.. Collected errors:. * verify_pkg_installable: Only have 0kb available on filesystem /overlay, pkg ca-bundle needs 117. * opkg_install_cmd: Cannot install package ca-bundle.. * verify_pkg_installable: Only have 0kb available on filesystem /overlay, pkg ca-certificates needs 127. * opkg_install_cmd: Cannot install package ca-certificates.. * verify_pkg_installable: Only have 0kb available on filesystem /overlay, pkg libustream-openssl needs 4. * opkg_install_cmd: Cannot install package libustream-openssl.. root@OpenWrt:/# echo '/dev/mtd0 0xc0000 0x20000 0x20000' > /etc/fw_env.config . root@OpenWrt:/# fw_printenv. arcNumber=3338. bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec; run bootcmd_lede. bootcmd_exec=if run load_uimage; then; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load. bootcmd_lede=run set_bootargs_lede; ubi part ubi; ubi read 0x800000 kernel; bootm 0x800000. bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi. bootdelay=10. bootdev=usb. device=0:1. devices=usb ide mmc. disks=0 1 2 3. dtb_file=/boot/dts/kirkwood-goflexhome.dtb. ethact=egiga0. ethaddr=00:10:75:28:cc:00. fileaddr=800000. filesize=3e0000. if_netconsole=ping $serverip. led_error=orange blinking. led_exit=green off. led_init=green blinking. oad_dtb=echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file. load_dtb_addr=0x1c00000. load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd. load_initrd_addr=0x1100000. load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage. load_uimage_addr=0x800000. mainlineLinux=yes. mtddevname=rootfs. mtddevnum=2. mtdids=nand0=orion_nand. mtdparts=mtdparts=orion_nand:0x100000@0x0(u-boot),-@0x100000(ubi). nc_ready=1. ncip=192.168.1.2. partition=nand0,0. preboot=run preboot_nc. preboot_nc=setenv nc_ready 0; for pingstat in 1 2 3 4 5; do; sleep 1; if run if_netconsole; then setenv nc_ready 1; fi; done; if test $nc_ready -eq 1; then run . scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start"; setenv scan_ide "ide reset"; setenv scan_mmc "mmc rescan"; for dev in $devices. serverip=192.168.1.2. set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params. set_bootargs_lede=setenv bootargs console=ttyS0,115200 $mtdparts. start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;. uenv_addr=0x810000. uenv_import=echo importing envs ...; env import -t $uenv_addr $filesize. uenv_init_devices=setenv init_usb "usb start"; setenv init_ide "ide reset"; setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done;. uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in 0; do run uenv_read_disk; done; done;. uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 $uenv_addr /boot/uEnv.txt; then setenv uenv_loaded 1; fi. uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read; fi; else if $devtype part $disknum; then run uenv_read; fi; fi. usb_ready_retry=15. stderr=serial. stdin=serial. stdout=serial. ipaddr=192.168.1.23. root@OpenWrt:/# cat /proc/mtds. cat: can't open '/proc/mtds': No such file or directory. root@OpenWrt:/# ls -al .. console=ttyS0,115200n8 earlyprintk root=/dev/sda1 rootdelay=10. root@OpenWrt:/# root@OpenWrt:/# cat /proc/cmdline. ils. Installing ca-bundle (20180409-2) to root.... Installing ca-certificates (20180409-2) to root.... Installing libustream-openssl (2018-07-30-23a3f283-1) to root.... Package ubi-utils (2.0.2-1) installed in root is up to date.. Collected errors:. * verify_pkg_installable: Only have 0kb available on filesystem /overlay, pkg ca-bundle needs 117. * opkg_install_cmd: Cannot install package ca-bundle.. * verify_pkg_installable: Only have 0kb available on filesystem /overlay, pkg ca-certificates needs 127. * opkg_install_cmd: Cannot install package ca-certificates.. * verify_pkg_installable: Only have 0kb available on filesystem /overlay, pkg libustream-openssl needs 4. * opkg_install_cmd: Cannot install package libustream-openssl.. root@OpenWrt:/# cat /proc/mtd. dev: size erasesize name. mtd0: 00100000 00020000 "u-boot". mtd1: 0ff00000 00020000 "ubi". root@OpenWrt:/# df -h. Filesystem Size Used Available Use% Mounted on. tmpfs 60.2M 656.0K 59.6M 1% /tmp. tmpfs 512.0K 0 512.0K 0% /dev.
Re: OpenWrt installation failure March 04, 2019 05:56PM |
Registered: 7 years ago Posts: 337 |
Installing ca-bundle (20180409-2) to root.... Installing ca-certificates (20180409-2) to root.... Installing libustream-openssl (2018-07-30-23a3f283-1) to root.... Package ubi-utils (2.0.2-1) installed in root is up to date.. Collected errors:. * verify_pkg_installable: Only have 0kb available on filesystem /overlay, pkg ca-bundle needs 117. * opkg_install_cmd: Cannot install package ca-bundle.. * verify_pkg_installable: Only have 0kb available on filesystem /overlay, pkg ca-certificates needs 127. * opkg_install_cmd: Cannot install package ca-certificates.. * verify_pkg_installable: Only have 0kb available on filesystem /overlay, pkg libustream-openssl needs 4. * opkg_install_cmd: Cannot install package libustream-openssl..
Re: OpenWrt installation failure March 04, 2019 06:08PM |
Admin Registered: 13 years ago Posts: 18,898 |
Quote
bodhi
> You can post this question in joerg's thread so he
> will notice and answer:
>
> https://forum.doozan.com/read.php?4,42279
>
> Post the log of your installation there. If joerg
> is not around, I will answer.
Re: OpenWrt installation failure March 05, 2019 01:52AM |
Registered: 7 years ago Posts: 337 |
mount /dev/sda1 /mnt
opkg install kmod-usb-storage
Re: OpenWrt installation failure March 05, 2019 07:37AM |
Registered: 7 years ago Posts: 337 |
Re: OpenWrt installation failure March 05, 2019 08:55AM |
Registered: 7 years ago Posts: 337 |
Re: OpenWrt installation failure March 05, 2019 03:27PM |
Registered: 6 years ago Posts: 183 |
Re: OpenWrt installation failure June 06, 2019 05:15PM |
Registered: 13 years ago Posts: 157 |