Re: Linux Kernel 5.1.11 Kirkwood package and Debian rootfs
July 02, 2019 12:14AM
Kernel linux-5.1.11-kirkwood-tld-2 package has been uploaded. Please 1st post for download link.

-bodhi
===========================
Forum Wiki
bodhi's corner
mkl
Re: Linux Kernel 5.1.11 Kirkwood package and Debian rootfs
July 10, 2019 08:37AM
Just installed on two Pogo E02 and two GoFlexNet's.
Many thanks for keeping these devices alive :-)


P.S.: The Pogo's are my digital VDR's with SAT>IP, the GoFlexNet acts as a small network server for storing recorded TV, scans from my network scanner etc.



Edited 1 time(s). Last edit at 07/10/2019 08:44AM by mkl.
Re: Linux Kernel 5.1.11 Kirkwood package and Debian rootfs
July 11, 2019 05:02AM
Hi Klaus,

Welcome back! glad you made good use for the kernel :)

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Linux Kernel 5.1.11 Kirkwood package and Debian rootfs
August 18, 2019 03:43PM
Kernel linux-5.2.9-kirkwood-tld-1 package has been uploaded. There are important updates in this version.

Please see 1st post for download link.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Linux Kernel 5.2.9 Kirkwood package and Debian rootfs
August 25, 2019 05:56PM
Debian buster rootfs Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2 has been uploaded. Please see 1st post for download link.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Linux Kernel 5.2.9 Kirkwood package and Debian rootfs
August 27, 2019 01:09AM
Thank you very much! :-) I still update my LG N1T1 NAS with new Kirkwood versions, and it works great! I have it off location and every night it opens a VPN connection to my home and make a backup of new documents, photos and other important files.Thanks for your work! <3
Re: Linux Kernel 5.2.9 Kirkwood package and Debian rootfs
August 27, 2019 10:57PM
raffe,

You're welcome :) glad you've made good use of the kernel updates!

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Linux Kernel 5.2.9 Kirkwood package and Debian rootfs
August 31, 2019 03:24AM
Thanks for the great work you have done. I just successfully turn my long bricked pogoplug v4 back to life.

But I do notice one thing. Unlike the old kernel, on these new kernel the BogoMIPS seems always be 333.33. Is that normal? The frequency info from sysfs looks alright though.
Re: Linux Kernel 5.2.9 Kirkwood package and Debian rootfs
August 31, 2019 05:24AM
yuko1225,

> Thanks for the great work you have done. I just
> successfully turn my long bricked pogoplug v4 back
> to life.

Cool!

> But I do notice one thing. Unlike the old kernel,
> on these new kernel the BogoMIPS seems always be
> 333.33. Is that normal? The frequency info from
> sysfs looks alright though.

BogoMIPS has been unreliable for a long time. I don't think BogoMIPS is maintained anymore. I remmember a few years ago I had a patch to correct that (for SMP) but decided not to add it into the kernel.

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 1 time(s). Last edit at 08/31/2019 05:25AM by bodhi.
Re: Linux Kernel 5.2.9 Kirkwood package and Debian rootfs
August 31, 2019 05:43AM
yuko1225,

That reminded me, do you have cpufrequtils package install? that would be much more accurate to see the CPU clock.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Linux Kernel 5.2.9 Kirkwood package and Debian rootfs
August 31, 2019 02:15PM
bodhi Wrote:
-------------------------------------------------------
> yuko1225,
>
> That reminded me, do you have cpufrequtils
> package install? that would be much more accurate
> to see the CPU clock.


Thanks for the reply.
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
  driver: kirkwood-cpufreq
  CPUs which run at the same hardware frequency: 0
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency: 5.0 us.
  hardware limits: 200 MHz - 800 MHz
  available frequency steps: 800 MHz, 200 MHz
  available cpufreq governors: powersave, ondemand, conservative, userspace, performance
  current policy: frequency should be within 200 MHz and 800 MHz.
                  The governor "performance" may decide which speed to use
                  within this range.
  current CPU frequency is 800 MHz (asserted by call to hardware).
It's looks fine. And I find a thread about it.
https://lkml.org/lkml/2017/3/2/640

[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 11467562657 ns
[    0.000013] sched_clock: 32 bits at 166MHz, resolution 6ns, wraps every 12884901885ns
[    0.000072] Switching to timer-based delay loop, resolution 6ns
[    0.001196] Console: colour dummy device 80x30
[    0.001274] Calibrating delay loop (skipped), value calculated using timer frequency.. 333.33 BogoMIPS (lpj=1666666)

It's seems as long as the clock source is fine there is nothing need to worry about.

Thanks.
Re: Linux Kernel 5.2.9 Kirkwood package and Debian rootfs
September 02, 2019 08:27AM
Hello bodhi,

Could you please look at this issue?
https://forum.doozan.com/read.php?2,18152,51209#msg-51209

It still produce exact same error on building the kernel module, even with the latest rootfs and latest kernel&header files. I'm not sure if that's the module's issue or headers issue.

The module that pre-build by TheFeaR is for 5.1 which is not the latest kernel now...

Thanks!



Edited 1 time(s). Last edit at 09/02/2019 08:35AM by yuko1225.
Re: Linux Kernel 5.2.9 Kirkwood package and Debian rootfs
September 02, 2019 09:54AM
yuko1225,

See this post:
https://forum.doozan.com/read.php?2,76709,87984#msg-87984

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Linux Kernel 5.2.9 Kirkwood package and Debian rootfs
September 28, 2019 08:56AM
Hi,

I got a NewIT Sheevaplug a long time ago which was working 24/7 the last 5 years or so... until I decided I wanted to upgrade the kernel to a more recent version:-)

So I upgraded my U-Boot from the 2011 version to 2017.07 version, which worked well....

But neverhteless my old debian was not booting any more... So I started over, especially because all environment dumps where on the old SD Card, with a complete new 128 GB new SD Card and dumped the 5.2.9 Kernel and rootfs on it - But it cannot find the roofs... it seems...:


Since after the U-Boot flash all environment variables where gone (whyever..) I tried to set the following, but that does not really work and I don't see why...

The rootfs partition is ext4 and labeleld "rootfs" accordingly. I am booting from the SD CArd Slot - so maybe there is the caveat - but I thought switching to mmc and naming the partition correctly should be okay?

Thank you very much for your work and help!


U-Boot 2017.07-tld-2 (Dec 04 2017 - 02:00:45 -0800)
Marvell-Sheevaplug

SoC:   Kirkwood 88F6281_A0
DRAM:  512 MiB
WARNING: Caches not enabled
NAND:  512 MiB
MMC:   MVEBU_MMC: 0
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
88E1116 Initialized on egiga0
Hit any key to stop autoboot:  0 
Sheevaplug> prinenv
Unknown command 'prinenv' - try 'help'
Sheevaplug> printenv 
arcNumber=2097
baudrate=115200
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec; reset
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 rui
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi
bootdelay=10
bootdev=mmc
console=ttyS0,115200
device=0:1
devices=usb ide mmc
disks=0 1 2 3
dtb_file=/boot/dts/kirkwood-sheevaplug-esata.dtb
ethact=egiga0
ethaddr=00:50:43:01:44:09
if_netconsole=ping $serverip
ipaddr=192.168.0.231
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)
partition=nand0,2
preboot_nc=run if_netconsole start_netconsole
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 ee
serverip=192.168.0.220
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=serial
stdin=serial
stdout=serial
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

Environment size: 2901/131068 bytes
Sheevaplug>






U-Boot 2017.07-tld-2 (Dec 04 2017 - 02:00:45 -0800)
Marvell-Sheevaplug

SoC:   Kirkwood 88F6281_A0
DRAM:  512 MiB
WARNING: Caches not enabled
NAND:  512 MiB
MMC:   MVEBU_MMC: 0
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
88E1116 Initialized on egiga0
Hit any key to stop autoboot:  0 
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found

Reset IDE: ide_preinit failed

MMC rescan: current device # 0 initialized OK
## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0
loading envs from usb 0 ...
** Bad device usb 0 **

no IDE devices available

Partition Map for MMC device 0  --   Partition Type: DOS

Part    Start Sector    Num Sectors     UUID            Type
  1     2048            249735168       6ba76dc6-01     83
loading envs from mmc 0 ...
** File not found /boot/uEnv.txt **
running scan_disk ...
Scan device usb
device usb 0:1
** Bad device usb 0 **
device usb 1:1
** Bad device usb 1 **
device usb 2:1
** Bad device usb 2 **
device usb 3:1
** Bad device usb 3 **
Scan device ide

Reset IDE: ide_preinit failed
device ide 0:1
** Bad device ide 0 **
device ide 1:1
** Bad device ide 1 **
device ide 2:1
** Bad device ide 2 **
device ide 3:1
** Bad device ide 3 **
Scan device mmc

MMC rescan: current device # 0 initialized OK
device mmc 0:1
1 bytes read in 13 ms (0 Bytes/s)
Found bootable drive on mmc 0
loading uImage ...
4973925 bytes read in 239 ms (19.8 MiB/s)
loading uInitrd ...
9713936 bytes read in 450 ms (20.6 MiB/s)
loading DTB /boot/dts/kirkwood-sheevaplug-esata.dtb ...
10245 bytes read in 15 ms (667 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-5.2.9-kirkwood-tld-1
   Created:      2019-09-28  13:32:04 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4973861 Bytes = 4.7 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-5.2.9-kirkwood-tld-1
   Created:      2019-08-25   2:22:50 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9713872 Bytes = 9.3 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01c00000
   Booting using the fdt blob at 0x1c00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 0f6bc000, end 0ffff8d0 ... OK
   Loading Device Tree to 0f6b6000, end 0f6bb804 ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.2.9-kirkwood-tld-1 (root@tldDebian) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)) #1 PREEMPT Sat Aug 17 15:00:56 PDT 2019
[    0.000000][    T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000][    T0] CPU: VIVT data cache, VIVT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: Globalscale Technologies eSATA SheevaPlug
[    0.000000][    T0] printk: bootconsole [earlycon0] enabled
[    0.000000][    T0] Memory policy: Data cache writeback
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 130048
[    0.000000][    T0] Kernel command line: console=ttyS0,115200n8 earlyprintk
[    0.000000][    T0] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000][    T0] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000][    T0] Memory: 504180K/524288K available (9216K kernel code, 868K rwdata, 3400K rodata, 1024K init, 301K bss, 20108K reserved, 0K cma-reserved)
[    0.000000][    T0] random: get_random_u32 called from cache_alloc_refill+0x38c/0x928 with crng_init=0
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0]  Tasks RCU enabled.
[    0.000000][    T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000009][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.008602][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.015978][    T0] Console: colour dummy device 80x30
[    0.021226][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.032551][    T0] pid_max: default: 32768 minimum: 301
[    0.038263][    T0] LSM: Security Framework initializing
[    0.043825][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.051230][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.059980][    T0] *** VALIDATE proc ***
[    0.064267][    T0] *** VALIDATE cgroup1 ***
[    0.068575][    T0] *** VALIDATE cgroup2 ***
[    0.073005][    T0] CPU: Testing write buffer coherency: ok
[    0.080319][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.087505][    T1] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x2
[    0.093706][    T1] rcu: Hierarchical SRCU implementation.
[    0.102487][    T1] devtmpfs: initialized
[    0.111439][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.122104][    T1] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.129254][    T1] xor: measuring software checksum speed
[    0.228624][    T1]    arm4regs  :  1042.400 MB/sec
[    0.328625][    T1]    8regs     :   650.400 MB/sec
[    0.428628][    T1]    32regs    :   945.600 MB/sec
[    0.433541][    T1] xor: using function: arm4regs (1042.400 MB/sec)
[    0.439875][    T1] prandom: seed boundary self test passed
[    0.449697][    T1] prandom: 100 self tests passed
[    0.454519][    T1] pinctrl core: initialized pinctrl subsystem
[    0.461888][    T1] NET: Registered protocol family 16
[    0.467538][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.475988][    T1] audit: initializing netlink subsys (disabled)
[    0.483414][   T14] audit: type=2000 audit(0.470:1): state=initialized audit_enabled=0 res=1
[    0.492041][    T1] cpuidle: using governor ladder
[    0.496932][    T1] cpuidle: using governor menu
[    0.502090][    T1] Feroceon L2: Enabling L2
[    0.506421][    T1] Feroceon L2: Cache support initialised.
[    0.517908][    T1] No ATAGs?
[    2.568609][    C0] random: fast init done
[    6.482588][   T71] alg: No test for lzo-rle (lzo-rle-generic)
[    6.489135][   T73] alg: No test for lzo-rle (lzo-rle-scomp)
[    6.668921][    T1] raid6: int32x8  gen()   127 MB/s
[    6.839025][    T1] raid6: int32x8  xor()    86 MB/s
[    7.008846][    T1] raid6: int32x4  gen()   129 MB/s
[    7.178880][    T1] raid6: int32x4  xor()    83 MB/s
[    7.348738][    T1] raid6: int32x2  gen()   132 MB/s
[    7.518914][    T1] raid6: int32x2  xor()    94 MB/s
[    7.689168][    T1] raid6: int32x1  gen()   100 MB/s
[    7.858884][    T1] raid6: int32x1  xor()    68 MB/s
[    7.863874][    T1] raid6: using algorithm int32x2 gen() 132 MB/s
[    7.870011][    T1] raid6: .... xor() 94 MB/s, rmw enabled
[    7.875523][    T1] raid6: using intx1 recovery algorithm
[    7.881206][    T1] vgaarb: loaded
[    7.885120][    T1] SCSI subsystem initialized
[    7.890112][    T1] usbcore: registered new interface driver usbfs
[    7.896379][    T1] usbcore: registered new interface driver hub
[    7.902535][    T1] usbcore: registered new device driver usb
[    7.908479][    T1] pps_core: LinuxPPS API ver. 1 registered
[    7.914183][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    7.924086][    T1] PTP clock support registered
[    7.929989][    T1] clocksource: Switched to clocksource orion_clocksource
[    8.973383][    T1] VFS: Disk quotas dquot_6.6.0
[    8.978103][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    8.995649][    T1] NET: Registered protocol family 2
[    9.001580][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
[    9.010066][    T1] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    9.017892][    T1] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    9.025150][    T1] TCP: Hash tables configured (established 4096 bind 4096)
[    9.032366][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    9.038935][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    9.046182][    T1] NET: Registered protocol family 1
[    9.051925][    T1] RPC: Registered named UNIX socket transport module.
[    9.058575][    T1] RPC: Registered udp transport module.
[    9.064078][    T1] RPC: Registered tcp transport module.
[    9.069500][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    9.076697][    T1] PCI: CLS 0 bytes, default 32
[    9.081708][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    9.090131][    T1] Initialise system trusted keyrings
[    9.095337][    T1] Key type blacklist registered
[    9.100319][    T1] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    9.107562][    T1] zbud: loaded
[    9.111968][    T1] NFS: Registering the id_resolver key type
[    9.117767][    T1] Key type id_resolver registered
[    9.122778][    T1] Key type id_legacy registered
[    9.127520][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    9.134977][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    9.142372][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  �© 2001-2006 Red Hat, Inc.
[    9.150397][    T1] fuse: init (API version 7.31)
[    9.155499][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    9.162890][    T1] orangefs_init: module version upstream loaded
[    9.169014][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, no debug enabled
[    9.180758][    T1] async_tx: api initialized (async)
[    9.185839][    T1] Key type asymmetric registered
[    9.190717][    T1] Asymmetric key parser 'x509' registered
[    9.196365][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    9.205950][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    9.216121][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    9.280795][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    9.290934][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    9.350793][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    9.361067][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    9.369350][    T1] printk: console [ttyS0] disabled
[    9.374473][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 25, base_baud = 12500000) is a 16550A
[    9.384268][    T1] printk: console [ttyS0] enabled
[    9.384268][    T1] printk: console [ttyS0] enabled
[    9.394107][    T1] printk: bootconsole [earlycon0] disabled
[    9.394107][    T1] printk: bootconsole [earlycon0] disabled
[    9.413156][    T1] loop: module loaded
[    9.417575][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    9.426011][    T1] scsi host0: sata_mv
[    9.430508][    T1] scsi host1: sata_mv
[    9.434670][    T1] ata1: SATA max UDMA/133 irq 32
[    9.439485][    T1] ata2: SATA max UDMA/133 irq 32
[    9.445333][    T1] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xdc
[    9.452534][    T1] nand: Samsung NAND 512MiB 3,3V 8-bit
[    9.457876][    T1] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    9.466212][    T1] Scanning device for bad blocks
[    9.747018][    T1] Bad eraseblock 3602 at 0x00001c240000
[    9.782886][  T112] ata1: SATA link down (SStatus 0 SControl F300)
[    9.796622][    T1] 3 fixed-partitions partitions found on MTD device orion_nand
[    9.804097][    T1] Creating 3 MTD partitions on "orion_nand":
[    9.809974][    T1] 0x000000000000-0x000000100000 : "u-boot"
[    9.817161][    T1] 0x000000100000-0x000000500000 : "uImage"
[    9.824130][    T1] 0x000000500000-0x000020000000 : "root"
[    9.833903][    T1] libphy: Fixed MDIO Bus: probed
[    9.839529][    T1] libphy: orion_mdio_bus: probed
[    9.845451][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    9.853517][    T1] mv643xx_eth_port mv643xx_eth_port.0: DMA mask not set
[   10.141583][  T114] ata2: SATA link down (SStatus 0 SControl F300)
[   10.580657][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:50:43:01:44:09
[   10.590264][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   10.597541][    T1] ehci-pci: EHCI PCI platform driver
[   10.602785][    T1] ehci-orion: EHCI orion driver
[   10.607697][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[   10.613976][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[   10.622555][    T1] orion-ehci f1050000.ehci: irq 29, io mem 0xf1050000
[   10.650029][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[   10.657034][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.02
[   10.666071][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   10.674050][    T1] usb usb1: Product: EHCI Host Controller
[   10.679653][    T1] usb usb1: Manufacturer: Linux 5.2.9-kirkwood-tld-1 ehci_hcd
[   10.687015][    T1] usb usb1: SerialNumber: f1050000.ehci
[   10.693044][    T1] hub 1-0:1.0: USB hub found
[   10.697550][    T1] hub 1-0:1.0: 1 port detected
[   10.702939][    T1] usbcore: registered new interface driver usb-storage
[   10.710101][    T1] mousedev: PS/2 mouse device common for all mice
[   10.716966][    T1] rtc-mv f1010300.rtc: registered as rtc0
[   10.722777][    T1] i2c /dev entries driver
[   10.727637][    T1] device-mapper: uevent: version 1.0.3
[   10.733315][    T1] device-mapper: ioctl: 4.40.0-ioctl (2019-01-18) initialised: dm-devel@redhat.com
[   10.742935][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[   10.750265][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[   10.757619][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[   10.765066][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[   10.771919][    T1] device-mapper: raid: Loading target version 1.14.0
[   10.779415][    T1] hidraw: raw HID events driver (C) Jiri Kosina
[   10.785894][    T1] drop_monitor: Initializing network drop monitor service
[   10.793232][    T1] NET: Registered protocol family 17
[   10.798638][    T1] Key type dns_resolver registered
[   10.804452][    T1] registered taskstats version 1
[   10.809264][    T1] Loading compiled-in X.509 certificates
[   10.815528][    T1] zswap: loaded using pool lzo/zbud
[   10.835772][    T1] Key type big_key registered
[   10.843774][    T1] Key type encrypted registered
[   10.850616][    T1] rtc-mv f1010300.rtc: setting system clock to 2000-01-01T00:00:00 UTC (946684800)
[   10.860409][    T1] md: Waiting for all devices to be available before autodetect
[   10.867931][    T1] md: If you don't use raid, use raid=noautodetect
[   10.875044][    T1] md: Autodetecting RAID arrays.
[   10.879861][    T1] md: autorun ...
[   10.883435][    T1] md: ... autorun DONE.
[   10.887672][    T1] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[   10.895950][    T1] Please append a correct "root=" boot option; here are the available partitions:
[   10.905123][    T1] 1f00            1024 mtdblock0 
[   10.905127][    T1]  (driver?)
[   10.913143][    T1] 1f01            4096 mtdblock1 
[   10.913146][    T1]  (driver?)
[   10.921159][    T1] 1f02          519168 mtdblock2 
[   10.921162][    T1]  (driver?)
[   10.929124][    T1] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[   10.938125][    T1] CPU: 0 PID: 1 Comm: swapper Not tainted 5.2.9-kirkwood-tld-1 #1
[   10.945809][    T1] Hardware name: Marvell Kirkwood (Flattened Device Tree)
[   10.952830][    T1] [<c010f6ac>] (unwind_backtrace) from [<c010bb00>] (show_stack+0x10/0x14)
[   10.961322][    T1] [<c010bb00>] (show_stack) from [<c0119fa0>] (panic+0xe0/0x30c)
[   10.968942][    T1] [<c0119fa0>] (panic) from [<c0e01628>] (mount_block_root+0x1bc/0x2a4)
[   10.977169][    T1] [<c0e01628>] (mount_block_root) from [<c0e017f8>] (mount_root+0xe8/0x154)
[   10.985739][    T1] [<c0e017f8>] (mount_root) from [<c0e019b0>] (prepare_namespace+0x14c/0x18c)
[   10.994486][    T1] [<c0e019b0>] (prepare_namespace) from [<c0e011c8>] (kernel_init_freeable+0x270/0x2dc)
[   11.004106][    T1] [<c0e011c8>] (kernel_init_freeable) from [<c09dcee0>] (kernel_init+0x8/0x10c)
[   11.013024][    T1] [<c09dcee0>] (kernel_init) from [<c01010e0>] (ret_from_fork+0x14/0x34)
[   11.021327][    T1] Exception stack(0xdf48bfb0 to 0xdf48bff8)
[   11.027101][    T1] bfa0:                                     00000000 00000000 00000000 00000000
[   11.036015][    T1] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   11.044925][    T1] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[   11.052276][    T1] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---

Re: Linux Kernel 5.2.9 Kirkwood package and Debian rootfs
September 28, 2019 09:21AM
Hi again...

my fault.... 'better obey the "skip this step..." then it is working wonderfully...:-)

" Create uImage with embedded DTB for booting with older u-boots (2012 or earlier). *** Skip this step *** if you have installed the latest U-Boot for Kirkwood (or are installing this u-boot at the same time)."

Thanks for your work! keep it up! :-)

Cheers

4920441
Re: Linux Kernel 5.2.9 Kirkwood package and Debian rootfs
September 28, 2019 05:10PM
4920441,

Glad you've solved it :)

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Linux Kernel 5.2.9 Kirkwood package and Debian rootfs
October 06, 2019 12:58AM
Kernel linux-5.3.2-kirkwood-tld-1 package has been uploaded. Please see 1st post for download link.

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 1 time(s). Last edit at 10/06/2019 12:58AM by bodhi.
Re: Linux Kernel 5.3.2 Kirkwood package and Debian rootfs
October 06, 2019 04:31AM
I can confirm the newest kernel release solves the build issues some were having with kernel modules. You no longer have to symlink the header files to get them to compile. Thanks for all your hard work Bodhi, it's very much appreciated!
Re: Linux Kernel 5.3.2 Kirkwood package and Debian rootfs
October 06, 2019 05:16AM
Thanks for the feedback alexr!

-bodhi
===========================
Forum Wiki
bodhi's corner
Updated my dockstar to the latest 10.1 rootfs with latest kernel on a usb stick.
Running mpd connected to an usb amp/dac. Still running strong.
Re: Linux Kernel 5.3.2 Kirkwood package and Debian rootfs
October 09, 2019 04:02AM
oliv,

Thanks for the feedback and good to hear that!

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Linux Kernel 5.3.2 Kirkwood package and Debian rootfs
October 19, 2019 09:08PM
This thread is temporarily closed until the next release.

Please create a new thread for installation problem.

-bodhi
===========================
Forum Wiki
bodhi's corner
Sorry, you can't reply to this topic. It has been closed.