goflexnet w/ 6.2.7 envs? April 02, 2023 11:37AM |
Registered: 1 year ago Posts: 2 |
Re: goflexnet w/ 6.2.7 envs? April 02, 2023 02:08PM |
Admin Registered: 13 years ago Posts: 19,107 |
dmesg
cat /proc/mtd cat /etc/fw_env.config fw_printenvAnd please post the output of the commands above.
Re: goflexnet w/ 6.2.7 envs? April 02, 2023 05:09PM |
Registered: 1 year ago Posts: 2 |
> dmesg >>
> cat /proc/mtd > cat /etc/fw_env.config > fw_printenv >> And please post the output of the commands above.
U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:17:19 -0700) Seagate GoFlex Net Linux version 6.2.7-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #1.0 PREEMPT Tue Mar 21 18:52:10 PDT 2023 Debian 11.6 Sun Apr 2 14:05:10 PDT 2023 up 4 hours, 21 minutes
dev: size erasesize name mtd0: 00100000 00020000 "u-boot" mtd1: 00400000 00020000 "uImage" mtd2: 02000000 00020000 "rootfs" mtd3: 0db00000 00020000 "data"
# MTD device name Device offset Env. size Flash sector size Number of sectors /dev/mtd0 0xc0000 0x20000 0x20000
arcNumber=3089 bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec; run rescue_bootcmd 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_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi; sleep 3 bootdelay=10 bootdev=usb device=0:1 devices=ide usb disks=0 1 2 3 4 dtb_file=/boot/dts/kirkwood-goflexnet.dtb ethact=egiga0 ethaddr=00:10:75:26:8E:FE if_netconsole=ping $serverip ipaddr=192.168.0.27 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=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 mtdids=nand0=orion_nand mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) nc_ready=1 ncip=192.168.0.26 partition=nand0,2 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 start_netconsole; fi rescue-usb_bootcmd=usb reset; run scan_disk; setenv bootargs "console=ttyS0,115200 root=PARTLABEL=rescue-usb rootdelay=10 rw rootfstype=ext3 $mtdparts" ; mw 0x800000 0 1; ext2load usb 0:1 0x800000 /boot/uImage; bootm 0x800000; bootdelay=15 rescue_bootcmd=if test $rescue_installed -eq 1; then run rescue_set_bootargs; nand read.e 0x800000 0x100000 0x400000; bootm 0x800000; else run pogo_bootcmd; fi rescue_installed=1 rescue_set_bootargs=setenv bootargs console=ttyS0,115200 ubi.mtd=2 root=ubi0:rootfs ro rootfstype=ubifs $mtdparts $rescue_custom_params 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.0.26 set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params 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 usb_root=LABEL=rootfs
Re: goflexnet w/ 6.2.7 envs? April 02, 2023 05:40PM |
Admin Registered: 13 years ago Posts: 19,107 |
e2label /dev/sda1 rootfs