Welcome! Log In Create A New Profile

Advanced

Linux Kernel 6.11.6 Kirkwood package and Debian rootfs

Posted by bodhi 
Re: Linux Kernel 3.16 Kirkwood package and rootfs (Non Flattened Device Tree)
September 29, 2014 11:36AM
h1ro,

But it doesn't matter whether it was pre-made.
root@HomeMBP:/boot# dpkg -i /localdisk/linux/linux-image-3.16.0-kirkwood-tld-3_3_armel.deb 
Selecting previously unselected package linux-image-3.16.0-kirkwood-tld-3.
(Reading database ... 64462 files and directories currently installed.)
Unpacking linux-image-3.16.0-kirkwood-tld-3 (from .../linux-image-3.16.0-kirkwood-tld-3_3_armel.deb) ...
Setting up linux-image-3.16.0-kirkwood-tld-3 (3) ...
update-initramfs: Generating /boot/initrd.img-3.16.0-kirkwood-tld-3

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Linux Kernel 3.16 Kirkwood package and rootfs (Non Flattened Device Tree)
September 30, 2014 05:48AM
oh, then that's just some quirk on my old debian squeeze i guess.
I ran update-initramfs -c -k 3.16.0-kirkwood-tld-3 manually to create it.
Re: Linux Kernel 3.16 Kirkwood package and rootfs (Non Flattened Device Tree)
September 30, 2014 03:46PM
I have a nsa320 zyxel
i found in my zyxel ver 1.21 and write uboot width kwboot tool
after write the system Debian-3.16.0-kirkwood-tld-2-rootfs-bodhi.tar.bz2 on my hdd
all is right but after some research found this on my system

cat /proc/cpuinfo
processor : 0
model name : Feroceon 88FR131 rev 1 (v5l)
Features : swp half thumb fastmult edsp
CPU implementer : 0x56
CPU architecture: 5TE
CPU variant : 0x2
CPU part : 0x131
CPU revision : 1

Hardware : ZyXEL NSA320 2-Bay Power Media Server
Revision : 0000
Serial : 0000000000000000

cpufreq-aperf
CPU doesn't support APERF/MPERF

cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 7 (wheezy)"
NAME="Debian GNU/Linux"
VERSION_ID="7"
VERSION="7 (wheezy)"
ID=debian
ANSI_COLOR="1;31"
HOME_URL="http://www.debian.org/";
SUPPORT_URL="http://www.debian.org/support/";
BUG_REPORT_URL="http://bugs.debian.org/";

dmidecode | grep "Current Speed"
-bash: dmidecode: command not found


dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.16.0-kirkwood-tld-3 (root@tldDebian) (gcc version 4.6.3 (Debian 4.6.3-14) ) #2 PREEMPT Sat Sep 27 02:01:41 PDT 2014
[ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] Machine: ZyXEL NSA320 2-Bay Power Media Server
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] On node 0 totalpages: 131072
[ 0.000000] free_area_init_node: node 0, pgdat c07c303c, node_mem_map dfbfb000
[ 0.000000] DMA zone: 1024 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 131072 pages, LIFO batch:31
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048
[ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sda1 rootdelay=10 mtdparts=orion_nand:1M(u-boot),512K(uboot_env),512K(key_store),512K(info),10M(etc),10M(kernel_1),48896K(rootfs1),10M(kernel_2),-(rootfs2)
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 505584K/524288K available (5441K kernel code, 397K rwdata, 1840K rodata, 257K init, 299K bss, 18704K reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xffe00000 (2048 kB)
[ 0.000000] vmalloc : 0xe0800000 - 0xff000000 ( 488 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc07248b0 (7283 kB)
[ 0.000000] .init : 0xc0725000 - 0xc0765444 ( 258 kB)
[ 0.000000] .data : 0xc0766000 - 0xc07c975c ( 398 kB)
[ 0.000000] .bss : 0xc07c975c - 0xc08144dc ( 300 kB)
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] NR_IRQS:114
[ 0.000011] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474836475ns
[ 1.791975] Console: colour dummy device 80x30
[ 1.792004] Calibrating delay loop... 1196.85 BogoMIPS (lpj=5984256)
[ 1.881760] pid_max: default: 32768 minimum: 301
[ 1.881881] Security Framework initialized
[ 1.881948] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 1.881968] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 1.882823] Initializing cgroup subsys devices
[ 1.882885] Initializing cgroup subsys freezer
[ 1.882912] Initializing cgroup subsys net_cls
[ 1.882958] Initializing cgroup subsys blkio
[ 1.883056] CPU: Testing write buffer coherency: ok
[ 1.883498] Setting up static identity map for 0x5273f0 - 0x527448
[ 1.885794] devtmpfs: initialized
[ 1.889581] prandom: seed boundary self test passed
[ 1.893653] prandom: 100 self tests passed
[ 1.893686] pinctrl core: initialized pinctrl subsystem
[ 1.894178] regulator-dummy: no parameters
[ 1.894647] NET: Registered protocol family 16
[ 1.895078] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 1.896294] cpuidle: using governor ladder
[ 1.896320] cpuidle: using governor menu
[ 1.896443] Kirkwood: MV88F6281-A1, TCLK=200000000.
[ 1.896466] Feroceon L2: Enabling L2
[ 1.896505] Feroceon L2: Cache support initialised.
[ 1.897119] initial MPP regs: 01111111 00003311 00001100 00000000 00000000 00000000 00000000
[ 1.897150] final MPP regs: 01111111 00003311 00001100 00000000 00000000 00000000 00000000
[ 1.933278] vgaarb: loaded
[ 1.933627] usbcore: registered new interface driver usbfs
[ 1.933702] usbcore: registered new interface driver hub
[ 1.933823] usbcore: registered new device driver usb
[ 1.934787] Switched to clocksource orion_clocksource
[ 1.973190] NET: Registered protocol family 2
[ 1.974142] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 1.974199] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[ 1.974251] TCP: Hash tables configured (established 4096 bind 4096)
[ 1.974317] TCP: reno registered
[ 1.974331] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 1.974353] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 1.974558] NET: Registered protocol family 1
[ 1.974932] RPC: Registered named UNIX socket transport module.
[ 1.974944] RPC: Registered udp transport module.
[ 1.974951] RPC: Registered tcp transport module.
[ 1.974958] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.974986] PCI: CLS 0 bytes, default 32
[ 1.975254] Unpacking initramfs...
[ 2.471742] Freeing initrd memory: 5888K (c1101000 - c16c1000)
[ 2.471860] NetWinder Floating Point Emulator V0.97 (double precision)
[ 2.473001] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 2.473069] audit: initializing netlink subsys (disabled)
[ 2.473121] audit: type=2000 audit(0.670:1): initialized
[ 2.473908] zbud: loaded
[ 2.474181] VFS: Disk quotas dquot_6.5.2
[ 2.474235] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 2.474779] NFS: Registering the id_resolver key type
[ 2.474897] Key type id_resolver registered
[ 2.474908] Key type id_legacy registered
[ 2.474937] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 2.474951] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 2.475119] jffs2: version 2.2. (NAND) (SUMMARY) \xffffffc2\xffffffa9 2001-2006 Red Hat, Inc.
[ 2.475428] msgmni has been set to 998
[ 2.475585] Key type big_key registered
[ 2.477957] alg: No test for stdrng (krng)
[ 2.478075] bounce: pool size: 64 pages
[ 2.478139] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 2.478159] io scheduler noop registered
[ 2.478173] io scheduler deadline registered
[ 2.478342] io scheduler cfq registered (default)
[ 2.478768] mv_xor mv_xor.0: Marvell shared XOR driver
[ 2.514864] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[ 2.554852] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[ 2.555025] mv_xor mv_xor.1: Marvell shared XOR driver
[ 2.594851] mv_xor mv_xor.1: Marvell XOR: ( xor cpy )
[ 2.634851] mv_xor mv_xor.1: Marvell XOR: ( xor cpy )
[ 2.635288] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 2.636242] console [ttyS0] disabled
[ 2.656326] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33, base_baud = 12500000) is a 16550A
[ 3.210951] console [ttyS0] enabled
[ 3.215761] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1
[ 3.222147] nand: Samsung NAND 128MiB 3,3V 8-bit
[ 3.226814] nand: 128MiB, SLC, page size: 2048, OOB size: 64
[ 3.232506] Scanning device for bad blocks
[ 3.295956] Bad eraseblock 558 at 0x0000045c0000
[ 3.324539] Bad eraseblock 784 at 0x000006200000
[ 3.354587] 9 cmdlinepart partitions found on MTD device orion_nand
[ 3.360899] Creating 9 MTD partitions on "orion_nand":
[ 3.366082] 0x000000000000-0x000000100000 : "u-boot"
[ 3.371455] 0x000000100000-0x000000180000 : "uboot_env"
[ 3.377079] 0x000000180000-0x000000200000 : "key_store"
[ 3.382667] 0x000000200000-0x000000280000 : "info"
[ 3.387853] 0x000000280000-0x000000c80000 : "etc"
[ 3.392945] 0x000000c80000-0x000001680000 : "kernel_1"
[ 3.398488] 0x000001680000-0x000004640000 : "rootfs1"
[ 3.403952] 0x000004640000-0x000005040000 : "kernel_2"
[ 3.409509] 0x000005040000-0x000008000000 : "rootfs2"
[ 3.415772] libphy: Fixed MDIO Bus: probed
[ 3.432489] libphy: orion_mdio_bus: probed
[ 3.436791] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[ 3.446208] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address b0:b2:dc:f0:ff:c5
[ 3.455226] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 3.461787] ehci-pci: EHCI PCI platform driver
[ 3.466368] ehci-orion: EHCI orion driver
[ 3.470476] orion-ehci orion-ehci.0: EHCI Host Controller
[ 3.475948] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[ 3.483662] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[ 3.504824] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[ 3.510947] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 3.517789] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.525067] usb usb1: Product: EHCI Host Controller
[ 3.529966] usb usb1: Manufacturer: Linux 3.16.0-kirkwood-tld-3 ehci_hcd
[ 3.536713] usb usb1: SerialNumber: orion-ehci.0
[ 3.542102] hub 1-0:1.0: USB hub found
[ 3.545949] hub 1-0:1.0: 1 port detected
[ 3.550779] mousedev: PS/2 mouse device common for all mice
[ 3.556929] rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
[ 3.562950] i2c /dev entries driver
[ 3.567077] rtc-pcf8563 0-0051: chip found, driver version 0.4.3
[ 3.574486] rtc-pcf8563 0-0051: rtc core: registered rtc-pcf8563 as rtc1
[ 3.581624] orion_gpio_is_valid: invalid GPIO 12
[ 3.582798] hidraw: raw HID events driver (C) Jiri Kosina
[ 3.588592] drop_monitor: Initializing network drop monitor service
[ 3.595132] TCP: cubic registered
[ 3.598469] NET: Registered protocol family 17
[ 3.603073] Key type dns_resolver registered
[ 3.608063] registered taskstats version 1
[ 3.613149] rtc-mv rtc-mv: setting system clock to 2000-01-03 06:40:19 UTC (946881619)
[ 3.622019] PM: Hibernation image not present or could not be loaded.
[ 3.623025] Freeing unused kernel memory: 256K (c0725000 - c0765000)
[ 3.705747] udevd[55]: starting version 175
[ 3.864962] usb 1-1: new high-speed USB device number 2 using orion-ehci
[ 3.923057] SCSI subsystem initialized
[ 3.985038] libata version 3.00 loaded.
[ 3.987018] sata_mv sata_mv.0: version 1.28
[ 3.987092] sata_mv sata_mv.0: cannot get optional clkdev
[ 3.992615] sata_mv sata_mv.0: slots 32 ports 2
[ 4.026568] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[ 4.033322] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 4.054863] usb 1-1: Product: USB2.0 Hub
[ 4.062701] hub 1-1:1.0: USB hub found
[ 4.070445] hub 1-1:1.0: 4 ports detected
[ 4.084547] scsi0 : sata_mv
[ 4.098351] scsi1 : sata_mv
[ 4.101503] ata1: SATA max UDMA/133 irq 21
[ 4.124936] ata2: SATA max UDMA/133 irq 21
[ 4.634839] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[ 4.674865] ata1.00: ATA-8: ST31000528AS, CC49, max UDMA/133
[ 4.680554] ata1.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[ 4.744869] ata1.00: configured for UDMA/133
[ 4.765188] scsi 0:0:0:0: Direct-Access ATA ST31000528AS CC49 PQ: 0 ANSI: 5
[ 5.124833] ata2: SATA link down (SStatus 0 SControl F300)
[ 5.182291] sd 0:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
[ 5.191410] sd 0:0:0:0: [sda] Write Protect is off
[ 5.196349] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 5.196480] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 5.239820] sda: sda1 sda2 sda3
[ 5.245626] sd 0:0:0:0: [sda] Attached SCSI disk
[ 5.261718] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 15.697539] EXT3-fs (sda1): mounted filesystem with ordered data mode
[ 15.706071] kjournald starting. Commit interval 5 seconds
[ 17.233923] udevd[249]: starting version 175
[ 17.572777] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[ 17.741502] alg: hash: Test 3 failed for mv-sha1
[ 17.748045] 00000000: 10 bf d7 00 71 0b bb 83 3a 26 d0 97 13 05 99 f5
[ 17.754519] 00000010: 3a 92 53 3c
[ 17.871204] alg: hash: Test 1 failed for mv-hmac-sha1
[ 17.879572] 00000000: 0c aa 9f d5 37 c3 79 3a 91 d9 21 5f 42 2b 2c 24
[ 17.890902] 00000010: b7 c3 16 0c
[ 17.899068] nsa3xx-hwmon nsa3xx-hwmon: initialized
[ 19.106465] Adding 1048572k swap on /dev/sda2. Priority:-1 extents:1 across:1048572k FS
[ 19.727267] EXT3-fs (sda1): using internal journal
[ 20.197512] random: nonblocking pool is initialized
[ 23.450507] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null)
[ 24.910052] NET: Registered protocol family 10
[ 25.092356] mv643xx_eth_port mv643xx_eth_port.0 eth0: link down
[ 25.098501] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 26.794579] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 100 Mb/s, full duplex, flow control disabled
[ 26.804426] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready


start me attention on

sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474836475ns

and

Kirkwood: MV88F6281-A1, TCLK=200000000.

plus my zyxel have some erorrs width ext3 found when i installed webmin

i d't know if is wright this ....

maiby not uboot write for nsa320
uboot used is uboot.NAND-NSA320-IDEfixedv4-scripted.kwb.tar
and maiby is a good ideea to put the system on ext2

please maiby is a new uboot for nsa320 or kernel have some problems
i newbee for this , my nsa320 is buyed 2 week ago

from now a'm in test but and i d't know much about it or if is a wright to turn back my uboot for old zyxel system(i like debian much then old system installed in my zyxel and i d't know if is possible to write back the old uboot)


when i boot my zyxel look like

U-Boot 2011.12 (May 03 2012 - 17:04:23)
ZyXEL NSA320 2-Bay Power Media Server

SoC: Kirkwood 88F6281_A1
DRAM: 512 MiB
WARNING: Caches not enabled
NAND: 128 MiB
In: serial
Out: serial
Err: serial
Net: egiga0
MV88E1318 PHY initialized on egiga0
No link on egiga0
ping failed; host 192.168.1.101 is not alive
Hit any key to stop autoboot: 0

Reset IDE: Bus 0: .......OK Bus 1: not available
Device 0: Model: ST31000528AS Firm: CC49 Ser#: 5VP1WK6H
Type: Hard Disk
Supports 48-bit addressing
Capacity: 953869.7 MB = 931.5 GB (1953525168 x 512)
Loading file "/boot/uImage" from ide device 0:1 (hda1)
2753400 bytes read
Loading file "/boot/uInitrd" from ide device 0:1 (hda1)
6034105 bytes read
## Booting kernel from Legacy Image at 00800000 ...
etc etc ......
Re: Linux Kernel 3.16 Kirkwood package and rootfs (Non Flattened Device Tree)
September 30, 2014 04:26PM
I did not see any kernel related problem.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Linux Kernel 3.16 Kirkwood package and rootfs (Non Flattened Device Tree)
October 01, 2014 11:06AM
just i can't see freq processor and serial number is
Hardware : ZyXEL NSA320 2-Bay Power Media Server
Revision : 0000
Serial : 0000000000000000

mayby is not a big problem if processor work

new problem found maybe is not but ....
i d't know if is all right to put the system on usb, or put on hdd sata inside zyxel

problem is because i have a usb hdd
this usb hdd start and make aviable only if i input 3,4 time "usb start"

scanning bus for devices... 3 USB Device(s) found
scanning bus for storage devices... 1 Storage Device(s) found
this is after 3,4 time usb start
after i can make "boot" and ....

NSA320> usb start
(Re)start USB...
USB: Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 3 USB Device(s) found
scanning bus for storage devices... 1 Storage Device(s) found
NSA320> boot

Reset IDE: ide_preinit failed
** Bad partition 1 **
** Bad partition 1 **
Wrong Image Format for bootm command
Error occured, error code = 108
ERROR: can't get kernel image!

Reset IDE: ide_preinit failed
** Bad partition 1 **
** Bad partition 1 **
Wrong Image Format for bootm command
Error occured, error code = 108
ERROR: can't get kernel image!
(Re)start USB...
USB: Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 3 USB Device(s) found
scanning bus for storage devices... 1 Storage Device(s) found
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
2756040 bytes read
Loading file "/boot/uInitrd" from usb device 0:1 (usbda1)
6032465 bytes read

system partition is ext2 an before it was ext3 and the same message
this external hdd is more fast like usb stick
partition is 20giga
i just ask, all is fine for me and my zyxel work great

and final question
is more save to put ext2 or ext3 ?
ext 2 is more fast
ext 3 is more recoverable
sory for my newbie question but i want to mak-it from zeth and not change to much in time
THANK YOU FOR ALL YOUR WORK !



Edited 1 time(s). Last edit at 10/01/2014 11:12AM by sz3bbylA.
Re: Linux Kernel 3.16 Kirkwood package and rootfs (Non Flattened Device Tree)
October 01, 2014 06:00PM
sz3bbylA,

These questions should be asked in a different thread. Most are not related to the kernel.

> just i can't see freq processor and serial number

Normal (it's not important). You can always find these info if you really need them.

> Reset IDE: ide_preinit failed
> ** Bad partition 1 **
> ** Bad partition 1 **
> Wrong Image Format for bootm command
> Error occured, error code = 108
> ERROR: can't get kernel image!

Normal, you are using USB HDD.

> and final question
> is more save to put ext2 or ext3 ?

Use Ext3. If speed is the concern, use Ext2 on a different partition for data. Ext3 rootfs is safer, less problem.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Linux Kernel 3.16 Kirkwood package and rootfs (Non Flattened Device Tree)
October 04, 2014 02:15AM
my configuration is

U-Boot 2011.12 (May 03 2012 - 17:04:23)
ZyXEL NSA320 2-Bay Power Media Server

and have
Debian-3.16.0-kirkwood-tld-2-rootfs-bodhi.tar.bz2 (02 Sept 2014)

i d't know which arcNumber must use and machid (if is need)

on printenv i have

arcNumber=4022
baudrate=115200
boot_sata1=mw 0x800000 0 1; setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10 $mtdparts; ide reset; ext2load ide 0:1 0x800000 /boot/uImage; ext2load ide 0:1 0x01100000 /boot/uInitrd; bootm 0x00800000 0x01100000
boot_sata2=mw 0x800000 0 1; setenv bootargs console=ttyS0,115200 root=/dev/sdb1 rootdelay=10 $mtdparts; ide reset; ext2load ide 1:1 0x800000 /boot/uImage; ext2load ide 1:1 0x01100000 /boot/uInitrd; bootm 0x00800000 0x01100000
bootcmd=run boot_sata1; run boot_sata2; run bootcmd_usb; usb stop; run bootcmd_rescue; reset
bootcmd_usb=run usb_init; run usb_load_uimage; run set_bootargs_usb; run usb_boot;
bootdelay=3
console=ttyS0,115200
ethact=egiga0
if_netconsole=ping $serverip
ipaddr=192.168.1.105
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),512K(uboot_env),512K(key_store),512K(info),10M(etc),10M(kernel_1),48896K(rootfs1),10M(kernel_2),-(rootfs2)
netmask=255.255.255.0
partition=nand0,2
preboot=run if_netconsole start_netconsole
serverip=192.168.1.101
set_bootargs_usb=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
stderr=serial
stdin=serial
stdout=serial
usb_boot=if ext2load usb $usb_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000;else bootm 0x800000;fi;
usb_device=0:1
usb_init=usb start
usb_load_uimage=mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage
usb_root=LABEL=rootfs
usb_rootdelay=10
usb_rootfstype=ext2

i changed

setenv arcNumber 3956

which must have ? must set machid ?
from where can retrive correct arcNumber for my machine ?



Edited 2 time(s). Last edit at 10/04/2014 02:31AM by sz3bbylA.
@bodhi:

Hi, I'm great fan and user of your kernels and root fs's. Thank you for your outstanding work!
I have a question: Would it be possible to enable the kernel module snd-usb-caiaq for some usb soundcards during your next kernel build? Thanks in advance.

Cheers,
hepi
Re: Linux Kernel 3.16 Kirkwood package and rootfs (Non Flattened Device Tree)
October 07, 2014 11:47AM
hepi,

Sure, I'm about to build 3.17. But I thought these modules are alrealy included. Have you tried:
modprobe snd-usb-caiaq
modprobe snd-pcm-oss  
modprobe snd-mixer-oss  
modprobe snd-seq-oss

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
bodhi, you are right. All sound modules are already included and loadable via modprobe. They just didn't load on USB hotplug. I was expecting to see something appear in dmesg or via lsusb. (Are there udev-rules missing for usb-audio within the wheezy filesystem? I should be able to figure that out myself. Im still on 3.13 by the way.)

Thanks,
hepi
Re: Linux Kernel 3.16 Kirkwood package and rootfs (Non Flattened Device Tree)
October 08, 2014 12:11AM
Hi hepi,

If you are using my rootfs, then there is no extra udev rules in the rootfs except for network device. It's up to the users to add udev rules to /etc/udev/rules.d/ to automount USB drives or any other devices. It is bare minimum rootfs.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 10/08/2014 12:12AM by bodhi.
Re: Linux Kernel 3.16 Kirkwood package and rootfs (Non Flattened Device Tree)
October 08, 2014 11:46AM
bodhi Wrote:
-------------------------------------------------------
> It's up to the users to add udev rules to /etc/udev/rules.d/ to automount USB drives or any

I humbly advertise the "usbmount" package, which does a pretty nice job for this, at least for me :D

--
DavideDG
My NAS userspace configs
My Zyxel NSA325 mod
My D-Link DNS325 mod
My Lacie NS2MAX mod
Re: Linux Kernel 3.16 Kirkwood package and rootfs (Non Flattened Device Tree)
October 17, 2014 10:53AM
3.16 tld 3 confirmed working on GoFlex Net/SATA Ext3/Wheezy/U-Boot 2011.12

Thanks Bodhi :D

Only thing that looked out of place :

[   40.107458] alg: hash: Test 3 failed for mv-sha1
[   40.177597] alg: hash: Test 1 failed for mv-hmac-sha1

Seems this a known already, to do with hardware encryption and doesn't cause an issue.

Cheers

DC

Don Charisma ... because anything is possible with Charisma

My blog - http://DonCharisma.org
Our commercial site - http://DonCharisma.com
Hi,

I tried your linux-3.16.0-kirkwood-tld-3 kernel on my NSA 310 but it doesn't boot; I get the following error: "Error: unrecognized/unsupported machine ID (r1 = 0x00000d0b)."

In a comment of this Post about compiling Linux 3.13+ for/on NSA 310 someone had the same error. He said it's because of the missing of this configuration: CONFIG_ARM_APPENDED_DTB=y

Can you fix this? That would be great!
Re: Linux Kernel 3.16 Kirkwood package and rootfs (Non Flattened Device Tree)
October 18, 2014 03:05PM
The Best Isaac,

> I tried your linux-3.16.0-kirkwood-tld-3 kernel on
> my NSA 310 but it doesn't boot; I get the
> following error: "Error: unrecognized/unsupported
> machine ID (r1 = 0x00000d0b)."

arcNumber for the NSA310 in the mainline is 4022, which in hex is 0xFB6, so you should set both arcNumber and machid to correct values.

WARNING: should only do this in serial console or netconsole (wihthout the console, you could get locked out of the box if this does not work).
setenv arcNumber 4022
setenv machid 0xFB6

> In a comment of this Post about compiling Linux
> 3.13+ for/on NSA 310 someone had the same error.
> He said it's because of the missing of this
> configuration: CONFIG_ARM_APPENDED_DTB=y
>
No, this is not the reason (it's not needed). If you compile with my patches and config file then it should be fine.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Thanks for the quick reply. That was the issue, it's working now!
Re: Linux Kernel 3.16 Kirkwood package and rootfs (Non Flattened Device Tree)
October 19, 2014 03:25PM
Hi Bodhi,

The official kernel driver version of the pcf 8563 does not support the wake up alarm. And there seems to be no success to solve the "rtc-mv not ticking problem". But a patch from Vincent Donnefort is available, that will add alarm support for the NXP PCF8563 chip.
Did you already try to add this patch ?. That might also work for the nsa325 and would be very helpfull.
Thanks in advance

https://patchwork.ozlabs.org/patch/366916/
Re: Linux Kernel 3.16 Kirkwood package and rootfs (Non Flattened Device Tree)
October 19, 2014 03:52PM
Stefnas,

NSA325 WOL and RTC have been working in the latest 2 kernel version (3.16.0-kirkwood-tld-2 and tld-3).

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 2 time(s). Last edit at 10/19/2014 03:52PM by bodhi.
Re: Linux Kernel 3.16 Kirkwood package and rootfs (Non Flattened Device Tree)
October 20, 2014 01:30AM
Hello Bodhi,
WOL and RTC is working, but i thought its still not possible to set a wake alarm. But there's still not code to do a scheduled wake up of my nsa325 within the pcf8563.c code. Suspend is possible, wut a wake up from a wake alarm due to a specific time doesn't seem to be possible - only from WOL. In oder to use tvheadend or anything else , would prefer a a wake up from alarm functionality.
Best regards

root@nsa325-v2:~# ls /sys/class/rtc/rtc0
. .. date dev device hctosys max_user_freq name power since_epoch subsystem time uevent
Re: Linux Kernel 3.16 Kirkwood package and rootfs (Non Flattened Device Tree)
October 20, 2014 02:33AM
Stefnas,

Ah I see. However, I'm building kernel 3.17 FDT for NSA325 right now, and it has wakealarm

root@Nsa325:~# ls /sys/class/rtc/rtc0/         
.  ..  date  dev  device  hctosys  max_user_freq  name  power  since_epoch  subsystem  time  uevent  wakealarm

Update:
It does work in my kernel 3.17 build.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 10/20/2014 03:49AM by bodhi.
Re: Linux Kernel 3.16 Kirkwood package and rootfs (Non Flattened Device Tree)
October 20, 2014 06:48AM
@bodhi

Thanks for the new kernel,

but the watchdog problem still exists :(
Re: Linux Kernel 3.16 Kirkwood package and rootfs (Non Flattened Device Tree)
October 20, 2014 01:28PM
Hi Bodhi,
cool --- within the 3.17 kernel source, the rtc-pcf8563 driver does now include alarm functionality. Could you please provide the packages to install the 3.17?.
Thanks
Re: Linux Kernel 3.16 Kirkwood package and rootfs (Non Flattened Device Tree)
October 20, 2014 04:32PM
Stefnas,

I'm still testing the kernel. It seems PowerOff is broken in 3.17, at least for me it is.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Linux Kernel 3.16 Kirkwood package and rootfs (Non Flattened Device Tree)
October 20, 2014 04:35PM
sunfire Wrote:
-------------------------------------------------------
> @bodhi
>
> Thanks for the new kernel,
>
> but the watchdog problem still exists :(

Please remind me to try my 4TB if I forget.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Linux Kernel 3.16 Kirkwood package and rootfs (Non Flattened Device Tree)
October 23, 2014 04:25PM
Is it possible to use WOL using E02 with the latest rootfs?

ethtool -s eth0 wol g
Cannot set new wake-on-lan settings: Operation not supported
  not setting wol


 ethtool eth0
Settings for eth0:
        Supported ports: [ TP MII ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supported pause frame use: No
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised pause frame use: No
        Advertised auto-negotiation: Yes
        Link partner advertised link modes:  10baseT/Half 10baseT/Full
                                             100baseT/Half 100baseT/Full
                                             1000baseT/Half 1000baseT/Full
        Link partner advertised pause frame use: Symmetric Receive-only
        Link partner advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 0
        Transceiver: external
        Auto-negotiation: on
        Supports Wake-on: d
        Wake-on: d
        Link detected: yes

Re: Linux Kernel 3.16 Kirkwood package and rootfs (Non Flattened Device Tree)
October 23, 2014 06:43PM
Almaz,

In theory it should be possible. However, I'm not sure because I've never looked into it, since the E02 and other plugs are so low power (5W) and no noise, there is really no need to do WOL.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Linux Kernel 3.16 Kirkwood package and rootfs (Non Flattened Device Tree)
October 23, 2014 06:46PM
I agree with you but sometimes when I need to pull out the power cable and insert it back is a pain in the butt :) WOL would be useful at that time.
Re: Linux Kernel 3.16 Kirkwood package and rootfs (Non Flattened Device Tree)
October 23, 2014 06:55PM
I installed an inline switch to make power cycling a lot easier.
Re: Linux Kernel 3.16 Kirkwood package and rootfs (Non Flattened Device Tree)
October 24, 2014 04:31AM
What's the best way to boot from /dev/md0 using mdadm Raid 0 / JBOD for PogoPlug E02



Edited 1 time(s). Last edit at 10/24/2014 04:32AM by Almaz.
Re: Linux Kernel 3.16 Kirkwood package and rootfs (Non Flattened Device Tree)
October 24, 2014 12:38PM
I guess, it's impossible to boot from raid. Before I start playing with uboot setting, is it possible to boot from another partition such as /dev/sda2?
Sorry, you can't reply to this topic. It has been closed.