Re: HowTo: OpenWrt on Kirkwood boxes June 11, 2022 07:20PM |
Registered: 2 years ago Posts: 11 |
Re: HowTo: OpenWrt on Kirkwood boxes June 11, 2022 08:11PM |
Admin Registered: 13 years ago Posts: 18,997 |
Re: HowTo: OpenWrt on Kirkwood boxes June 11, 2022 08:58PM |
Registered: 2 years ago Posts: 11 |
Re: HowTo: OpenWrt on Kirkwood boxes June 11, 2022 10:11PM |
Admin Registered: 13 years ago Posts: 18,997 |
Quote
2. Download an OpenWrt/LEDE image
Next, we need the appropriate image. Start on the release page of OpenWrt and choose the one you like best and then navigate to
targets/kirkwood/generic
Then, download the uImage appropriate for your box. Rename it to uImage and place it in the root of a FAT32 formatted USD device.
Re: HowTo: OpenWrt on Kirkwood boxes June 11, 2022 10:26PM |
Admin Registered: 13 years ago Posts: 18,997 |
Quote
1. Modify uBoot variables
First, we need to boot the box to debian, log in and then do the following:
fw_setenv mtdparts 'mtdparts=orion_nand:0x200000@0x0(u-boot),-@0x100000(ubi)'
Re: HowTo: OpenWrt on Kirkwood boxes June 12, 2022 01:03PM |
Registered: 2 years ago Posts: 11 |
Quote
2. Download an OpenWrt/LEDE image
>
> Next, we need the appropriate image. Start on the
> release page of OpenWrt and choose the one you
> like best and then navigate to
> targets/kirkwood/generic
> Then, download the uImage appropriate for your
> box. Rename it to uImage and place it in the
> root of a FAT32 formatted USD device.
Re: HowTo: OpenWrt on Kirkwood boxes June 12, 2022 01:06PM |
Registered: 2 years ago Posts: 11 |
>Quote
1. Modify uBoot variables
>
> First, we need to boot the box to debian, log in
> and then do the following:
>
> fw_setenv mtdparts
> 'mtdparts=orion_nand:0x200000@0x0(u-boot),-@0x100000(ubi)'
Re: HowTo: OpenWrt on Kirkwood boxes June 12, 2022 03:15PM |
Admin Registered: 13 years ago Posts: 18,997 |
ver printenv
Re: HowTo: OpenWrt on Kirkwood boxes June 12, 2022 03:56PM |
Registered: 2 years ago Posts: 11 |
> ver > printenv >>
ver U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:34:01 -0700) Pogoplug V4 gcc (Debian 6.3.0-18) 6.3.0 20170516 GNU ld (GNU Binutils for Debian) 2.28 printenv arcNumber=2097 bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec; run bootcmd_lede bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $load_initrd_addr; fi; else if run load_dtb; then bootm $load_uimage_addr - $load_dtb_addr; else bootm $load_uimage_addr; fi; fi 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; sleep 10 bootdelay=10 bootdev=usb device=0:1 devices=usb ide mmc disks=0 1 2 3 dtb_file=/boot/dts/kirkwood-pogoplug_v4.dtb ethact=egiga0 ethaddr=00:25:31:05:24:99 if_netconsole=ping $serverip ipaddr=192.168.1.11 led_error=orange blinking led_exit=green off led_init=green blinking load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file load_dtb_addr=0x2c00000 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 machid=0x831 mainlineLinux=yes mtdids=nand0=orion_nand mtdparts=mtdparts=orion_nand:0x200000@0x0(u-boot),-@0x100000(ubi) ncip=192.168.1.177 partition=nand0,0 preboot=run if_netconsole start_netconsole 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 start_netconsole; fi 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; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 $load_uimage_addr /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done serverip=192.168.1.177 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; stderr=nc stdin=nc stdout=nc 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
Re: HowTo: OpenWrt on Kirkwood boxes June 12, 2022 04:07PM |
Admin Registered: 13 years ago Posts: 18,997 |
setenv arcNumber 3960 setenv machid f78
Re: HowTo: OpenWrt on Kirkwood boxes June 12, 2022 04:14PM |
Admin Registered: 13 years ago Posts: 18,997 |
Sun Jun 12 17:49:29 UTC 2022 upgrade: Device cloudengines,pogoe02 not supported by this image
Re: HowTo: OpenWrt on Kirkwood boxes June 12, 2022 04:50PM |
Registered: 2 years ago Posts: 11 |
> Sun Jun 12 17:49:29 UTC 2022 upgrade: Device > cloudengines,pogoe02 not supported by this image >
Re: HowTo: OpenWrt on Kirkwood boxes June 12, 2022 06:05PM |
Admin Registered: 13 years ago Posts: 18,997 |
Re: HowTo: OpenWrt on Kirkwood boxes July 29, 2022 10:46PM |
Admin Registered: 13 years ago Posts: 18,997 |
Re: HowTo: OpenWrt on Kirkwood boxes August 10, 2022 06:33PM |
Admin Registered: 13 years ago Posts: 18,997 |
https://downloads.openwrt.org/releases/22.03.0-rc6/targets/kirkwood/generic/openwrt-22.03.0-rc6-kirkwood-zyxel_nsa310s-squashfs-sysupgrade.bin
andy_help
Re: HowTo: OpenWrt on Kirkwood boxes August 27, 2022 04:30AM |
Re: HowTo: OpenWrt on Kirkwood boxes August 27, 2022 06:43PM |
Admin Registered: 13 years ago Posts: 18,997 |
Re: HowTo: OpenWrt on Kirkwood boxes September 10, 2022 08:39AM |
Registered: 2 years ago Posts: 23 |
Re: HowTo: OpenWrt on Kirkwood boxes January 05, 2024 06:35PM |
Registered: 1 year ago Posts: 10 |
Re: HowTo: OpenWrt on Kirkwood boxes January 05, 2024 06:45PM |
Registered: 9 years ago Posts: 461 |
> fw_printenv mtdparts >>
> ## Error: "mtdparts" not defined >> Any help appreciated.
Re: HowTo: OpenWrt on Kirkwood boxes January 05, 2024 09:31PM |
Admin Registered: 13 years ago Posts: 18,997 |
Quote
1. Modify uBoot variables
First, we need to boot the box to debian and log in. Then, we perform some checks and add to the environment.
1.a Check mtdparts definition
fw_printenv mtdparts
Re: HowTo: OpenWrt on Kirkwood boxes January 16, 2024 01:59AM |
Registered: 1 year ago Posts: 10 |