Re: Linux Kernel 4.2 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs September 09, 2015 08:57AM |
Registered: 14 years ago Posts: 34 |
Re: Linux Kernel 3.18 (FDT) and 3.16 (non-FDT) Kirkwood package and rootfs September 09, 2015 05:22PM |
Admin Registered: 13 years ago Posts: 19,224 |
Re: Linux Kernel 4.2 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs September 09, 2015 11:40PM |
Admin Registered: 13 years ago Posts: 19,224 |
Re: Linux Kernel 3.18 (FDT) and 3.16 (non-FDT) Kirkwood package and rootfs September 09, 2015 11:47PM |
Admin Registered: 13 years ago Posts: 19,224 |
lsmod | grep -i iwlwifi
Re: Linux Kernel 4.2 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs September 10, 2015 02:30AM |
Registered: 9 years ago Posts: 5 |
Re: Linux Kernel 4.2 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs September 10, 2015 02:51AM |
Registered: 14 years ago Posts: 34 |
fw_printenv ethact=egiga0 baudrate=115200 mainlineLinux=yes console=ttyS0,115200 led_init=green blinking led_exit=green off led_error=orange blinking mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) mtdids=nand0=orion_nand partition=nand0,2 stdin=serial stdout=serial stderr=serial rescue_set_bootargs=setenv bootargs console=$console ubi.mtd=2 root=ubi0:rootfs ro rootfstype=ubifs $mtdparts $rescue_custom_params 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 pogo_bootcmd=if fsload uboot-original-mtd0.kwb; then go 0x800200; fi force_rescue=0 force_rescue_bootcmd=if test $force_rescue -eq 1 || ext2load usb 0:1 0x1700000 /rescueme 1 || fatload usb 0:1 0x1700000 /rescueme.txt 1; then run rescue_bootcmd; fi ubifs_mtd=3 ubifs_set_bootargs=setenv bootargs console=$console ubi.mtd=$ubifs_mtd root=ubi0:rootfs rootfstype=ubifs $mtdparts $ubifs_custom_params ubifs_bootcmd=run ubifs_set_bootargs; if ubi part data && ubifsmount rootfs && ubifsload 0x800000 /boot/uImage && ubifsload 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; fi usb_scan=usb_scan_done=0;for scan in $usb_scan_list; do run usb_scan_$scan; if test $usb_scan_done -eq 0 && ext2load usb $usb 0x800000 /boot/uImage 1; then usb_scan_done=1; echo "Found bootable drive on usb $usb"; setenv usb_device $usb; setenv usb_root /dev/$dev; fi; done usb_scan_list=1 2 3 4 usb_scan_2=usb=1:1 dev=sdb1 usb_scan_3=usb=2:1 dev=sdc1 usb_scan_4=usb=3:1 dev=sdd1 usb_device=0:1 usb_rootdelay=10 usb_set_bootargs=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_custom_params usb_bootcmd=run usb_init; run usb_set_bootargs; run usb_boot usb_boot=mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage; if ext2load usb $usb_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi bootcmd=usb start; run force_rescue_bootcmd; run ubifs_bootcmd; run usb_bootcmd; usb stop; run rescue_bootcmd; run pogo_bootcmd; reset ethaddr=00:10:75:1A:94:B9 rescue_installed=1 arcNumber=2097 bootdelay=10 usb_init= usb_rootfstype=ext3 usb_scan_1=usb=0:1 dev=sda1 usb_root=rootfs=/dev/sda1
Re: Linux Kernel 4.2 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs September 10, 2015 02:52AM |
Admin Registered: 13 years ago Posts: 19,224 |
Re: Linux Kernel 4.2 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs September 10, 2015 03:13AM |
Admin Registered: 13 years ago Posts: 19,224 |
> usb_root=rootfs=/dev/sda1
usb_root=/dev/sda1
Re: Linux Kernel 4.2 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs September 10, 2015 03:24AM |
Registered: 14 years ago Posts: 34 |
> > usb_root=rootfs=/dev/sda1 >>
> usb_root=/dev/sda1 >is the command fw_setenv usb_root=/dev/sda1?
Re: Linux Kernel 4.2 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs September 10, 2015 03:39AM |
Admin Registered: 13 years ago Posts: 19,224 |
fw_setenv usb_root '/dev/sda1'
fw_setenv usb_scan_list '1 2 3 4'
Re: Linux Kernel 4.2 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs September 10, 2015 04:02AM |
Registered: 14 years ago Posts: 34 |
Re: Linux Kernel 4.2 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs September 10, 2015 12:31PM |
Admin Registered: 13 years ago Posts: 19,224 |
Re: Linux Kernel 4.2 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs September 11, 2015 12:39AM |
Registered: 9 years ago Posts: 5 |
Re: Linux Kernel 4.2 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs September 11, 2015 01:24AM |
Admin Registered: 13 years ago Posts: 19,224 |
Re: Linux Kernel 4.2 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs September 11, 2015 02:36AM |
Registered: 9 years ago Posts: 5 |
Re: Linux Kernel 4.2 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs September 11, 2015 03:37AM |
Admin Registered: 13 years ago Posts: 19,224 |
Re: Linux Kernel 4.2 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs September 11, 2015 12:29PM |
Admin Registered: 13 years ago Posts: 19,224 |
Re: Linux Kernel 3.18 (FDT) and 3.16 (non-FDT) Kirkwood package and rootfs September 15, 2015 06:56AM |
Registered: 9 years ago Posts: 10 |
# lsmod Module Size Used by cfg80211 396985 0 rfkill 15823 1 cfg80211 evdev 9408 0 marvell_cesa 24785 0 des_generic 16866 1 marvell_cesa mv_cesa 11324 0 orion_wdt 6105 0 lm63 10715 0 uio_pdrv_genirq 2946 0 uio 7174 1 uio_pdrv_genirq gpio_keys 7609 0 fuse 75892 3 ipv6 312359 32 autofs4 28801 2 sg 21297 0 sd_mod 28586 2 uas 12100 0 usb_storage 42754 2 uas scsi_mod 173509 4 sg,uas,usb_storage,sd_mod #
Re: Linux Kernel 3.18 (FDT) and 3.16 (non-FDT) Kirkwood package and rootfs September 15, 2015 12:06PM |
Admin Registered: 13 years ago Posts: 19,224 |
> # lsmod > Module Size Used by > cfg80211 396985 0 > rfkill 15823 1 cfg80211 > evdev 9408 0 > marvell_cesa 24785 0 > des_generic 16866 1 marvell_cesa > mv_cesa 11324 0 > orion_wdt 6105 0 > lm63 10715 0 > uio_pdrv_genirq 2946 0 > uio 7174 1 uio_pdrv_genirq > gpio_keys 7609 0 > fuse 75892 3 > ipv6 312359 32 > autofs4 28801 2 > sg 21297 0 > sd_mod 28586 2 > uas 12100 0 > usb_storage 42754 2 uas > scsi_mod 173509 4 > sg,uas,usb_storage,sd_mod > # >>
modprobe iwlwifi
Re: Linux Kernel 3.18 (FDT) and 3.16 (non-FDT) Kirkwood package and rootfs September 16, 2015 03:27AM |
Registered: 9 years ago Posts: 10 |
Debian GNU/Linux 8 ZoliConnect ttyS0 ZoliConnect login: zoli Password: Last login: Wed Sep 16 09:53:22 CEST 2015 on ttyS0 Linux ZoliConnect 4.2.0-kirkwood-tld-1 #1 PREEMPT Mon Aug 31 23:12:00 PDT 2015 armv5tel The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. zoli@ZoliConnect:~$ su Password: root@ZoliConnect:/home/zoli# lsmod | grep -i iwlwifi root@ZoliConnect:/home/zoli# modprobe iwlwifi [ 186.295898] Intel(R) Wireless WiFi driver for Linux [ 186.300866] Copyright(c) 2003- 2015 Intel Corporation root@ZoliConnect:/home/zoli# lsmod | grep -i iwlwifi iwlwifi 85784 0 cfg80211 396985 1 iwlwifi root@ZoliConnect:/home/zoli# ifconfig eth0 Link encap:Ethernet HWaddr 00:d0:b8:0c:d3:cd UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Interrupt:87 eth0:avahi Link encap:Ethernet HWaddr 00:d0:b8:0c:d3:cd inet addr:169.254.10.178 Bcast:169.254.255.255 Mask:255.255.0.0 UP BROADCAST MULTICAST MTU:1500 Metric:1 Interrupt:87 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:40 errors:0 dropped:0 overruns:0 frame:0 TX packets:40 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:3808 (3.7 KiB) TX bytes:3808 (3.7 KiB) root@ZoliConnect:/home/zoli#DMESG contains only the 2 lines printed at modprobe command above.
Re: Linux Kernel 3.18 (FDT) and 3.16 (non-FDT) Kirkwood package and rootfs September 16, 2015 03:36AM |
Admin Registered: 13 years ago Posts: 19,224 |
> Debian GNU/Linux 8 ZoliConnect ttyS0 > > ZoliConnect login: zoli > Password: > Last login: Wed Sep 16 09:53:22 CEST 2015 on > ttyS0 > Linux ZoliConnect 4.2.0-kirkwood-tld-1 #1 PREEMPT > Mon Aug 31 23:12:00 PDT 2015 armv5tel > > The programs included with the Debian GNU/Linux > system are free software; > the exact distribution terms for each program are > described in the > individual files in /usr/share/doc/*/copyright. > > Debian GNU/Linux comes with ABSOLUTELY NO > WARRANTY, to the extent > permitted by applicable law. > zoli@ZoliConnect:~$ su > Password: > root@ZoliConnect:/home/zoli# lsmod | grep -i > iwlwifi > root@ZoliConnect:/home/zoli# modprobe iwlwifi > [ 186.295898] Intel(R) Wireless WiFi driver for > Linux > [ 186.300866] Copyright(c) 2003- 2015 Intel > Corporation > root@ZoliConnect:/home/zoli# lsmod | grep -i > iwlwifi > iwlwifi 85784 0 > cfg80211 396985 1 iwlwifi > root@ZoliConnect:/home/zoli# ifconfig > eth0 Link encap:Ethernet HWaddr > 00:d0:b8:0c:d3:cd > UP BROADCAST MULTICAST MTU:1500 > Metric:1 > RX packets:0 errors:0 dropped:0 > overruns:0 frame:0 > TX packets:0 errors:0 dropped:0 > overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) > Interrupt:87 > > eth0:avahi Link encap:Ethernet HWaddr > 00:d0:b8:0c:d3:cd > inet addr:169.254.10.178 > Bcast:169.254.255.255 Mask:255.255.0.0 > UP BROADCAST MULTICAST MTU:1500 > Metric:1 > Interrupt:87 > > lo Link encap:Local Loopback > inet addr:127.0.0.1 Mask:255.0.0.0 > inet6 addr: ::1/128 Scope:Host > UP LOOPBACK RUNNING MTU:65536 > Metric:1 > RX packets:40 errors:0 dropped:0 > overruns:0 frame:0 > TX packets:40 errors:0 dropped:0 > overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:3808 (3.7 KiB) TX bytes:3808 > (3.7 KiB) > > root@ZoliConnect:/home/zoli# > >> DMESG contains only the 2 lines printed at
ifconfig -a
Re: Linux Kernel 3.18 (FDT) and 3.16 (non-FDT) Kirkwood package and rootfs September 16, 2015 04:58AM |
Registered: 9 years ago Posts: 10 |
root@ZoliConnect:/home/zoli# ifconfig -a eth0 Link encap:Ethernet HWaddr 00:d0:b8:0c:d3:cd UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Interrupt:87 eth0:avahi Link encap:Ethernet HWaddr 00:d0:b8:0c:d3:cd inet addr:169.254.10.178 Bcast:169.254.255.255 Mask:255.255.0.0 UP BROADCAST MULTICAST MTU:1500 Metric:1 Interrupt:87 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:40 errors:0 dropped:0 overruns:0 frame:0 TX packets:40 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:3808 (3.7 KiB) TX bytes:3808 (3.7 KiB) root@ZoliConnect:/home/zoli#
Re: Linux Kernel 3.18 (FDT) and 3.16 (non-FDT) Kirkwood package and rootfs September 16, 2015 06:57AM |
Registered: 11 years ago Posts: 80 |
Re: Linux Kernel 3.18 (FDT) and 3.16 (non-FDT) Kirkwood package and rootfs September 16, 2015 11:59AM |
Admin Registered: 13 years ago Posts: 19,224 |
Re: Linux Kernel 4.2 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs September 20, 2015 12:00PM |
Registered: 10 years ago Posts: 14 |
root@fs:~# fw_printenv Too few good blocks within range
preboot=setenv stderr serial; setenv stdin serial; setenv stdout serial; setenv baudrate 115200; setenv console ttyS0,115200; setenv bootdelay 10 baudrate=115200 console=ttyS0,115200 stderr=serial stdin=serial stdout=serial ethact=egiga0 ethaddr=28:28:5d:16:09:ee bootdelay=10 led_error=orange blinking led_exit=green off led_init=green blinking mtdids=nand0=orion_nand mtdparts=mtdparts=nand_mtd:0x100000(uboot),0x80000(stock_uboot_env) partition=nand0,2 bootcmd=run bootcmd_uenv; run bootcmd_usb; usb stop; run bootcmd_sata; 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 bootcmd_sata=run sata_init; run set_bootargs_sata; run sata_boot uenv_import=echo importing envs ...; env import -t 0x810000 uenv_load=usb start; setenv uenv_loaded 0; for devtype in usb; do for disknum in 0; do run uenv_read_disk; done; done uenv_read_disk=if $devtype part $disknum; then run uenv_read; fi uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 0x810000 /boot/uEnv/uEnv.txt; then setenv uenv_loaded 1; fi
root@fs:~# cat /boot/uEnv/uEnv.txt arcNumber=3956 machid=118f mainlineLinux=yes led_error=orange blinking led_exit=orange on led_init=green blinking mtdparts=mtdparts=nand_mtd:0x100000(uboot),0x80000(stock_uboot_env) partition=nand0,2 device=0:1 rootdelay=10 rootfstype=ext4 usb_root=/dev/sdc1 usb_init=usb start set_bootargs_usb=setenv bootargs console=$console root=$usb_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts usb_boot=mw 0x800000 0 1; run usb_load_dtb; run usb_load_uimage; if run usb_load_uinitrd; then bootm 0x800000 0x1100000 0x1c00000; else bootm 0x800000 - 0x1c00000; fi usb_load_dtb=ext4load usb $device 0x1c00000 /boot/dts/kirkwood-nsa320.dtb usb_load_uimage=ext4load usb $device 0x800000 /boot/uImage usb_load_uinitrd=ext4load usb $device 0x1100000 /boot/uInitrd sata_root=/dev/sda1 sata_init=ide reset set_bootargs_sata=setenv bootargs console=$console root=$sata_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts $init sata_boot=mw 0x800000 0 1; run sata_load_dtb; run sata_load_uimage; if run sata_load_uinitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi sata_load_dtb=ext4load usb $device 0x1c00000 /boot/dts/kirkwood-nsa320.dtb sata_load_uimage=ext4load ide $device 0x800000 /boot/uImage sata_load_uinitrd=ext4load ide $device 0x1100000 /boot/uInitrd
Re: Linux Kernel 4.2 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs September 20, 2015 02:40PM |
Admin Registered: 13 years ago Posts: 19,224 |
Re: Linux Kernel 4.2 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs September 20, 2015 02:49PM |
Registered: 10 years ago Posts: 14 |
Re: Linux Kernel 4.2 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs September 20, 2015 03:00PM |
Admin Registered: 13 years ago Posts: 19,224 |
Re: Linux Kernel 4.2 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs September 20, 2015 03:26PM |
Admin Registered: 13 years ago Posts: 19,224 |
Re: Linux Kernel 4.2 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs September 20, 2015 04:02PM |
Registered: 10 years ago Posts: 14 |