Re: Linux Kernel 4.1 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs August 12, 2015 03:28AM |
Registered: 9 years ago Posts: 298 |
Re: Linux Kernel 4.1 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs August 12, 2015 04:13AM |
Admin Registered: 14 years ago Posts: 19,231 |
Re: Linux Kernel 4.1 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs August 12, 2015 04:28AM |
Admin Registered: 14 years ago Posts: 19,231 |
Re: Linux Kernel 4.1 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs August 12, 2015 07:39AM |
Registered: 9 years ago Posts: 298 |
Re: Linux Kernel 4.1 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs August 12, 2015 11:40AM |
Registered: 11 years ago Posts: 3 |
Re: Linux Kernel 4.1 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs August 12, 2015 02:53PM |
Admin Registered: 14 years ago Posts: 19,231 |
Re: Linux Kernel 4.1 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs August 12, 2015 03:19PM |
Admin Registered: 14 years ago Posts: 19,231 |
apt-get clean dpkg --clear-avail rm /var/lib/apt/lists/* --force dpkg --configure -a
Re: Linux Kernel 4.1 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs August 12, 2015 05:08PM |
Registered: 11 years ago Posts: 3 |
Re: Linux Kernel 4.1 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs August 12, 2015 05:44PM |
Admin Registered: 14 years ago Posts: 19,231 |
Re: Linux Kernel 4.1 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs August 14, 2015 11:50AM |
Registered: 9 years ago Posts: 298 |
Re: Linux Kernel 4.1 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs August 14, 2015 03:08PM |
Registered: 11 years ago Posts: 91 |
Re: Linux Kernel 4.1 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs August 19, 2015 01:41PM |
Registered: 11 years ago Posts: 91 |
root@debian-jessie:/usr/src/linux-4.1.0# sensors nsa3xx-isa-0000 Adapter: ISA adapter Chassis Fan: 4800 RPM System Temperature: +43.6°C
root@debian-jessie:/sys/devices/platform/nsa3xx-hwmon# ll insgesamt 0 drwxr-xr-x 4 root root 0 Aug 19 18:34 . drwxr-xr-x 17 root root 0 Aug 19 18:34 .. lrwxrwxrwx 1 root root 0 Aug 19 18:34 driver -> ../../../bus/platform/drivers/nsa3xx-hwmon -rw-r--r-- 1 root root 4096 Aug 19 18:34 driver_override -r--r--r-- 1 root root 4096 Aug 19 18:34 fan1_input -r--r--r-- 1 root root 4096 Aug 19 18:34 fan1_label drwxr-xr-x 3 root root 0 Aug 19 18:34 hwmon -r--r--r-- 1 root root 4096 Aug 19 18:34 modalias -r--r--r-- 1 root root 4096 Aug 19 18:34 name lrwxrwxrwx 1 root root 0 Aug 19 18:34 of_node -> ../../../firmware/devicetree/base/nsa3xx-hwmon drwxr-xr-x 2 root root 0 Aug 19 18:34 power lrwxrwxrwx 1 root root 0 Aug 19 18:34 subsystem -> ../../../bus/platform -r--r--r-- 1 root root 4096 Aug 19 18:34 temp1_input -r--r--r-- 1 root root 4096 Aug 19 18:34 temp1_label -rw-r--r-- 1 root root 4096 Aug 19 18:34 uevent
root@debian-jessie:/proc/device-tree/nsa3xx-hwmon# ll insgesamt 0 drwxr-xr-x 2 root root 0 Aug 19 18:33 . drwxr-xr-x 13 root root 0 Aug 19 18:33 .. -r--r--r-- 1 root root 12 Aug 19 19:18 act-gpios -r--r--r-- 1 root root 12 Aug 19 19:18 clk-gpios -r--r--r-- 1 root root 17 Aug 19 19:18 compatible -r--r--r-- 1 root root 12 Aug 19 19:18 data-gpios -r--r--r-- 1 root root 13 Aug 19 19:18 name -r--r--r-- 1 root root 12 Aug 19 19:18 pinctrl-0 -r--r--r-- 1 root root 8 Aug 19 19:18 pinctrl-names
[ 1615.809435] data-gpios value id 0x0e! [ 1615.809459] clk-gpios value id 0x10! [ 1615.809472] act-gpios value id 0x11! [ 1615.809729] nsa3xx-hwmon nsa3xx-hwmon: initialized
[ 1620.327976] nsa3xx-hwmon nsa3xx-hwmon: Reading MCU data [ 1620.328002] nsa3xx-hwmon nsa3xx-hwmon: gpio set value MCU act pin 0 [ 1620.439730] nsa3xx-hwmon nsa3xx-hwmon: gpio set value MCU act pin 1 [ 1620.439749] channel value 0x01! [ 1620.440609] channel value 0x00! [ 1620.440814] channel value 0x00!
Re: Linux Kernel 4.1 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs August 19, 2015 03:27PM |
Admin Registered: 14 years ago Posts: 19,231 |
Re: Linux Kernel 4.1 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs August 19, 2015 07:41PM |
Registered: 11 years ago Posts: 42 |
Re: Linux Kernel 4.1 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs August 20, 2015 04:32AM |
Registered: 9 years ago Posts: 298 |
Re: Linux Kernel 4.1 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs August 20, 2015 05:48AM |
Admin Registered: 14 years ago Posts: 19,231 |
Re: Linux Kernel 4.1 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs August 21, 2015 11:46AM |
Registered: 11 years ago Posts: 91 |
Re: Linux Kernel 4.1 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs August 21, 2015 01:15PM |
Admin Registered: 14 years ago Posts: 19,231 |
Re: Linux Kernel 4.1 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs August 21, 2015 02:52PM |
Registered: 9 years ago Posts: 3 |
U-Boot 2014.07-tld-3 (Mar 06 2015 - 21:30:53) ZyXEL NSA325 2-Bay Power Media Server SoC: Kirkwood 88F6282_?? DRAM: 512 MiB WARNING: Caches not enabled NAND: 128 MiB In: serial Out: serial Err: serial Net: egiga0 MV88E1318 PHY initialized on egiga0 Hit any key to stop autoboot: 0 (Re)start USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 3 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found Partition Map for USB device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 63 15728577 100615b5-01 83 Boot loading envs from usb 0 ... (Re)start USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 3 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found 2931288 bytes read in 599 ms (4.7 MiB/s) 6535284 bytes read in 934 ms (6.7 MiB/s) ## Booting kernel from Legacy Image at 00800000 ... Image Name: Linux-4.0.0-kirkwood-tld-1 Created: 2015-08-21 19:28:15 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2931224 Bytes = 2.8 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 01100000 ... Image Name: initramfs-4.0.0-kirkwood-tld-1 Created: 2015-08-21 19:31:12 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 6535220 Bytes = 6.2 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Loading Kernel Image ... OK Using machid 0x118f from environment Starting kernel ... Uncompressing Linux... done, booting the kernel. Error: unrecognized/unsupported machine ID (r1 = 0x0000118f). Available machine support: ID (hex) NAME ffffffff Generic DT based system ffffffff Marvell Kirkwood (Flattened Device Tree) Please check your kernel config and/or bootloader.
MODEL_ID=4495 arcNumber=4495 baudrate=115200 bootcmd=run bootcmd_uenv; run bootcmd_usb; usb stop; run bootcmd_sata; reset bootcmd_sata=run sata_init; run set_bootargs_sata; run sata_boot 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=b6:d0:5e:0f:a1:17 led_error=orange blinking led_exit=green off led_init=green blinking machid=118f mainlineLinux=yes mtdids=nand0=orion_nand mtdparts=mtdparts=nand_mtd:0x100000(uboot),0x80000(stock_uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2) partition=nand0,2 preboot=setenv stderr serial; setenv stdin serial; setenv stdout serial; setenv baudrate 115200; setenv console ttyS0,115200; setenv bootdelay 10 rootdelay=10 rootfstype=ext2 sata_boot=mw 0x800000 0 1; run sata_load_uimage; if run sata_load_uinitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi sata_init=ide reset sata_load_uimage=ext2load ide $device 0x800000 /boot/uImage sata_load_uinitrd=ext2load ide $device 0x1100000 /boot/uInitrd sata_root=/dev/sda1 set_bootargs_sata=setenv bootargs console=$console root=$sata_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts 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; setenv uenv_loaded 0; for devtype in usb; 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 $devtype part $disknum; then run uenv_read; fi usb_boot=mw 0x800000 0 1; run usb_load_uimage; if run usb_load_uinitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi usb_init=usb start usb_load_uimage=ext2load usb $device 0x800000 /boot/uImage usb_load_uinitrd=ext2load usb $device 0x1100000 /boot/uInitrd usb_root=/dev/sda1 Environment size: 2248/131068 bytes
Re: Linux Kernel 4.1 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs August 21, 2015 03:07PM |
Admin Registered: 14 years ago Posts: 19,231 |
> Part Start Sector Num Sectors UUID > Type > 1 63 15728577 > 100615b5-01 83 Boot > loading envs from usb 0 ... > ** File not found /boot/uEnv.txt ** > (Re)start USB... > USB0: USB EHCI 1.00 > scanning bus 0 for devices... 3 USB Device(s) > found > scanning usb for storage devices... 1 > Storage Device(s) found > 2931288 bytes read in 607 ms (4.6 MiB/s) > 6535284 bytes read in 909 ms (6.9 MiB/s) > ## Booting kernel from Legacy Image at 00800000 > ... > Image Name: Linux-4.0.0-kirkwood-tld-1 > Created: 2015-08-21 19:28:15 UTC > Image Type: ARM Linux Kernel Image > (uncompressed) > Data Size: 2931224 Bytes = 2.8 MiB > Load Address: 00008000 > Entry Point: 00008000 > Verifying Checksum ... OK > ## Loading init Ramdisk from Legacy Image at > 01100000 ... > Image Name: initramfs-4.0.0-kirkwood-tld-1 > Created: 2015-08-21 19:31:12 UTC > Image Type: ARM Linux RAMDisk Image (gzip > compressed) > Data Size: 6535220 Bytes = 6.2 MiB > Load Address: 00000000 > Entry Point: 00000000 > Verifying Checksum ... OK > Loading Kernel Image ... OK > Using machid 0x118f from environment > > Starting kernel ... > > Uncompressing Linux... done, booting the kernel. > > Error: unrecognized/unsupported machine ID (r1 = > 0x0000118f). > > Available machine support: > > ID (hex) NAME > ffffffff Generic DT based system > ffffffff Marvell Kirkwood (Flattened Device > Tree) > > Please check your kernel config and/or > bootloader. >>
Re: Linux Kernel 4.1 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs August 21, 2015 03:08PM |
Registered: 11 years ago Posts: 80 |
Re: Linux Kernel 4.1 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs August 21, 2015 03:25PM |
Registered: 9 years ago Posts: 3 |
Re: Linux Kernel 4.1 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs August 22, 2015 11:37AM |
Registered: 11 years ago Posts: 42 |
Re: Linux Kernel 4.1 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs August 22, 2015 03:29PM |
Admin Registered: 14 years ago Posts: 19,231 |
Re: Linux Kernel 4.1 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs August 22, 2015 04:48PM |
Registered: 9 years ago Posts: 3 |
> > Part Start Sector Num Sectors UUID > > > Type > > 1 63 15728577 > > 100615b5-01 83 Boot > > loading envs from usb 0 ... > > ** File not found /boot/uEnv.txt ** > > (Re)start USB... > > USB0: USB EHCI 1.00 > > scanning bus 0 for devices... 3 USB Device(s) > > found > > scanning usb for storage devices... 1 > > Storage Device(s) found > > 2931288 bytes read in 607 ms (4.6 MiB/s) > > 6535284 bytes read in 909 ms (6.9 MiB/s) > > ## Booting kernel from Legacy Image at 00800000 > > ... > > Image Name: Linux-4.0.0-kirkwood-tld-1 > > Created: 2015-08-21 19:28:15 UTC > > Image Type: ARM Linux Kernel Image > > (uncompressed) > > Data Size: 2931224 Bytes = 2.8 MiB > > Load Address: 00008000 > > Entry Point: 00008000 > > Verifying Checksum ... OK > > ## Loading init Ramdisk from Legacy Image at > > 01100000 ... > > Image Name: initramfs-4.0.0-kirkwood-tld-1 > > Created: 2015-08-21 19:31:12 UTC > > Image Type: ARM Linux RAMDisk Image (gzip > > compressed) > > Data Size: 6535220 Bytes = 6.2 MiB > > Load Address: 00000000 > > Entry Point: 00000000 > > Verifying Checksum ... OK > > Loading Kernel Image ... OK > > Using machid 0x118f from environment > > > > Starting kernel ... > > > > Uncompressing Linux... done, booting the > kernel. > > > > Error: unrecognized/unsupported machine ID (r1 > = > > 0x0000118f). > > > > Available machine support: > > > > ID (hex) NAME > > ffffffff Generic DT based system > > ffffffff Marvell Kirkwood (Flattened > Device > > Tree) > > > > Please check your kernel config and/or > > bootloader. > >> >
Re: Linux Kernel 4.1 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs August 22, 2015 05:53PM |
Admin Registered: 14 years ago Posts: 19,231 |
bastel
Re: Linux Kernel 4.1 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs August 24, 2015 04:48PM |
root@nsa320:~# rtcwake -d rtc0 -s 120 -m no rtcwake: wakeup using /dev/rtc0 at Mon Aug 24 21:08:07 2015 root@nsa320:~# rtcwake -d rtc1 -s 120 -m no rtcwake: wakeup using /dev/rtc1 at Mon Aug 24 20:36:32 2015
rtc_time : 21:35:36 rtc_date : 2015-08-24 alrm_time : 21:36:30 alrm_date : 2015-08-24 alarm_IRQ : yes alrm_pending : no update IRQ enabled : no periodic IRQ enabled : no periodic IRQ frequency : 1 max user IRQ frequency : 64 24hr : yesBut the Box will not wake up...
echo enabled > /sys/class/rtc/rtc1/device/power/wakeupand then -m off will work with rtcwake.
Re: Linux Kernel 4.1 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs August 25, 2015 02:29AM |
Admin Registered: 14 years ago Posts: 19,231 |
Re: Linux Kernel 4.1 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs August 25, 2015 11:30AM |
Registered: 9 years ago Posts: 25 |
bastel
Re: Linux Kernel 4.1 Kirkwood (FDT) and 3.16 Kirkwood (non-FDT) package and rootfs August 25, 2015 04:46PM |
if [ -d /sys/class/leds/nsa320:green:sys ]; then echo default-on > /sys/class/leds/nsa320:green:sys/trigger echo none > /sys/class/leds/nsa320:orange:sys/trigger fi if [ -d /sys/class/leds/nsa320:green:hdd1 ]; then echo ide-disk1 > /sys/class/leds/nsa320:green:hdd1/trigger; fi if [ -d /sys/class/leds/nsa320:green:hdd2 ]; then echo ide-disk2 > /sys/class/leds/nsa320:green:hdd2/trigger; fi if [ -d /sys/class/leds/nsa320:green:usb ]; then echo usb-host > /sys/class/leds/nsa320:green:usb/trigger; fi