Hi Bodi
Finally i got my pogoplug v4 running again! I'm now trying to setup netconsole.
The thing is only that the commands fw_setenv dont work. Its just setenv. I can boot in debian now and adjusted the /etc/fw_config but it seems its not read during booting. Im missing something (essential knowledge) but dont know what.
Here is the output of my printenv.
and my /etc/fw_config
Snarky
-------
mod edit: use code tags
Finally i got my pogoplug v4 running again! I'm now trying to setup netconsole.
The thing is only that the commands fw_setenv dont work. Its just setenv. I can boot in debian now and adjusted the /etc/fw_config but it seems its not read during booting. Im missing something (essential knowledge) but dont know what.
Here is the output of my printenv.
Pogov4> printenv arcNumber=3960 baudrate=115200 bootargs_usb=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial bootcmd=run bootcmd_uenv; run bootcmd_usb; reset bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi bootcmd_usb=run usb_init; run set_bootargs_usb; run usb_boot; bootdelay=10 console=ttyS0,115200 device=0:1 ethact=egiga0 ethaddr=00:25:31:05:23:6c led_error=orange blinking led_exit=green off led_init=green blinking machid=f78 mainlineLinux=yes mtdids=nand0=orion_nand mtdparts=mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root) nc_ready=0 partition=nand0,2 rootdelay=10 rootfstype=ext2 set_bootargs_usb=setenv bootargs console=$console root=$usb_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts stderr=serial stdin=serial stdout=serial uenv_import=echo importing envs ...; env import -t 0x810000 uenv_load=usb start; mmc rescan; ide reset; setenv uenv_loaded 0; for devtype in usb mmc ide; 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 0x810000 /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_boot=mw 0x800000 0 1; run usb_load_uimage; run usb_load_uinitrd; run usb_load_dtb; bootm 0x800000 0x1100000 0x1c00000 usb_init=usb start usb_load_dtb=ext2load usb $device 0x1c00000 /boot/dts/kirkwood-pogoplug_v4.dtb usb_load_uimage=ext2load usb $device 0x800000 /boot/uImage usb_load_uinitrd=ext2load usb $device 0x1100000 /boot/uInitrd usb_root=/dev/sda1
and my /etc/fw_config
# MTD device name Device offset Env. size Flash sector size Number of sectors /dev/mtd0 0xc0000 0x20000 0x20000 dev: size erasesize name mtd0: 00100000 00020000 "u-boot" mtd1: 00400000 00020000 "uImage" mtd2: 02000000 00020000 "rootfs" mtd3: 0db00000 00020000 "data"
fw_setenv 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' fw_setenv preboot 'run preboot_nc' fw_setenv ipaddr '192.168.0.25' fw_setenv serverip '192.168.0.40'
Snarky
-------
mod edit: use code tags