Quantcast
Channel: Linux Device Hacking - Debian
Viewing all 26667 articles
Browse latest View live

Use armbian-config in bodhi's rootfs

$
0
0
Armbian-config is a convenient application that allows basic configuration and software installation with a graphical (commandline) interface, similar to the raspi-config application found on Raspberry Pi's Raspbian.

This application was created and maintained by Armbian project, and you can see more about it here in its github repo
https://github.com/armbian/config

Since it is a script and it is mostly working with Debian packages (only other packages hosted in the Armbian repositories are kernels and headers for their own supported devices), we can have it on our Kirkwood devices too even if they are not armhf or arm64 hardware (the targets of the Armbian project).

Copy-paste this in your commandline (ssh or serial) to download the latest armbian-config application.
It will most likely want to download 60-ish MB of dependencies too.
latest_package_name="$(wget -O- https://apt.armbian.com/pool/main/a/armbian-config/ | grep armbian-config | awk -F'"' '{print $2}' | sed '$!d')"

cd /tmp

wget https://apt.armbian.com/pool/main/a/armbian-config/$latest_package_name

dpkg -i ./$latest_package_name || apt-get --fix-broken install ; dpkg -i ./$latest_package_name

After it is done installing, you can start the application by writing
"armbian-config" as root user

Some Armbian-specific functionality like installing Armbian or updating Armbian-provided kernel and headers won't work for obvious reasons.

@bodhi maybe this could be included in the default rootfs too.

Re: Use armbian-config in bodhi's rootfs

$
0
0
@bobafetthotmail,

Welcome back :) thanks for the suggestion, I'll try it out.

Re: Buffalo Terastation III TS-X4.0L/r5 (Sakura) From Stock 1.71(Buffalo Latest FW) ==>Debian Jessie/Stretch

Re: Linux Kernel 4.4.174 Oxnas (OX820) Pogo V3 package and Debian rootfs

$
0
0
Kernel linux-4.4.189-oxnas-tld-1 package was uploaded. Please see 1st post for download link.

Re: Debian on wrt1200ac

$
0
0
fsonnlei,


Let's try if we can see the MTD definition.

Quote

Booting Bodhi's linux-5.1.7-mvebu (including wrt1200ac DTB):

Marvell>> setenv bootargs console=ttyS0,115200 init=/sbin/init root=LABEL=rootfs rootdelay=10 $mtdparts earlyprintk=serial ipv6.disable=1
Marvell>> dhcp
Marvell>> tftpboot 0x02000000 wrt/test/zImage
Marvell>> tftpboot 0x2900000 wrt/test/uInitrd
Marvell>> tftpboot 0x1000000 wrt/test/armada-385-linksys-caiman.dtb
Marvell>> setenv fdt_skip_update yes
Marvell>> bootz 0x02000000 0x2900000 0x1000000

Try this additional env

setenv mtdparts 'mtdparts=pxa3xx_nand-0:2048K(uboot)ro,256K(u_env),256K(s_env),1m@9m(devinfo),40m@10m(kernel),34m@16m(rootfs),40m@50m(alt_kernel),34m@56m(alt_rootfs),80m@10m(ubifs),-@90m(syscfg)'

And after you've booted into Debian, get the list of LEDS in /sys/class:

ls -l /sys/class/leds

Please post the entire serial console log here (in code tags).

Can I install Tonido on a PogoPlug E02 running Debian?

$
0
0
I have a PogoPlug E02.
I also have an original TonidoPlug that has a Kirkwood version of the Tonido software installed.
For those that don't know, Tonido is similar to the PogoPlug software in that files can be served over the internet using apps on smartphones.
Both the TonidoPlug and the PogoPlug use the same Marvell Kirkwood 1.2GHz cpu.
I can pull the rootfs and the Tonido software off the TonidoPlug. Can those 2 be used to boot the PogoPlug and if not, can the Tonido software be transfered to a PogoPlug running Debian? I believe the TP originally used Ubuntu Jaunty 9.04.

As far as I can tell, Tonido does not offer an install package on their site for the Marvell Kirkwood cpu

Also another possibility below?

Here are instructions from Tonido Support that allows booting TonidoPlug from a USB drive.
included are instructions for copying the tonido software from the TP hardware to the USB drive.

https://www.tonido.com/forum/viewtopic.php?t=209&start=10

This, I have done and it works. My TonidoPlug hardware boots off the USB drive.
It would be sweet if that USB stick would boot a pogoplug, it doesn't.

could it just be a matter of the mount point of the drive?

Re: Can I install Tonido on a PogoPlug E02 running Debian?

$
0
0
dchomak,

> I can pull the rootfs and the Tonido software off
> the TonidoPlug. Can those 2 be used to boot the
> PogoPlug and if not, can the Tonido software be
> transfered to a PogoPlug running Debian?

Might not be possible without jumping through some hoops. The Tonido binaries is most likely Debian squeeze or earlier. Which Debian version Ubuntu Jaunty 9.04 is built upon?. I think you will need to chroot into that in oder to run binaries. Most likely they cannot be run on Debian wheezy, stretch or buster (which are what I provided here).


> It would be sweet if that USB stick would boot a
> pogoplug, it doesn't.
>
> could it just be a matter of the mount point of
> the drive?

Not the mount point.

The Tonido u-boot is different from the Pogoplug u-boot. Most likely, they use different arcNumber and machid (the identifiers for an ARM machine) in old u-boot.

But a stock Pogoplug might boot this rootfs with some modifications to u-boot envs. Or might not.

If you want to run the old Tonido rootfs on Pogoplug

1. Connect serial console on the Tonido
2. Boot the Tonido
3. Interrupt u-boot and get some information (I'll guide you when you are at the u-boot prompt).


And then I'll give my assessment if it is possible. It is hopeful, but the most important component here is the kernel version on the Tonido plug rootfs. If it is built only for Tonido, not for general Kirkwood, then it won't work.

Re: Buffalo Terastation III TS-X4.0L/r5 (Sakura) From Stock 1.71(Buffalo Latest FW) ==>Debian Jessie/Stretch

$
0
0
I spent some time tracing the TS-XL PCI error in the kernel today. It turned out to be a pretty easy fix once I traced the error message back through the kernel source. I now have Debian Stretch running on my TS-XL with working sata.

I've uploaded the patch along with new installer images etc to the github page:
https://github.com/1000001101000/Terastation-III-research


Adding folks from earlier in the thread in case they are still interested.
@Kapt Blasto
@brmiller
@Esteban
@feas

Re: Buffalo Terastation III TS-X4.0L/r5 (Sakura) From Stock 1.71(Buffalo Latest FW) ==>Debian Jessie/Stretch

$
0
0
I’ve tried out my patches and configure changes from the Stretch 4.9 kernel with the Buster 4.19 kernel. I’ve gotten it to boot successfully but am still getting errors trying to start the network. The error still matches the one reported in:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=908712

They listed that bug as fixed in the next proposed kernel
https://salsa.debian.org/kernel-team/linux/blob/debian/4.19.67-1/debian/changelog

I tried building this version but find i’m still getting the same error:
[    4.447914] Unable to handle kernel NULL pointer dereference at virtual address 0000000c                  
[    4.456000] pgd = (ptrval)                                                                                
[    4.458709] [0000000c] *pgd=00000000                                                                      
[    4.462287] Internal error: Oops: 5 [#1] ARM                                                              
[    4.466531] Modules linked in: mvmdio(+) libata(+) usb_common nls_base rtc_rs5c372(+) scsi_mod mv643xx_eth
[    4.476163] CPU: 0 PID: 56 Comm: systemd-udevd Not tainted 4.19.67 #1                                     
[    4.482567] Hardware name: Buffalo Nas WXL                                                                
[    4.486650] PC is at of_clk_get+0x14/0x54                                                                 
[    4.490650] LR is at orion_mdio_probe+0x118/0x2d4 [mvmdio]                                                
[    4.496109] pc : [<c0269490>]    lr : [<bf170430>]    psr: a0000013                                       
[    4.502346] sp : df6dfcc0  ip : c0566018  fp : df7ec2a4                                                   
[    4.507547] r10: 00000000  r9 : c0566060  r8 : c0565f40                                                   
[    4.512750] r7 : c0565f30  r6 : df7ec000  r5 : df7ec2a0  r4 : df6dfcc8                                    
[    4.519246] r3 : df713bc0  r2 : bf170f20  r1 : 00000000  r0 : 00000000                                    
[    4.525744] Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none                             
[    4.532846] Control: 0005397f  Table: 1f6e4000  DAC: 00000051                                             
[    4.538565] Process systemd-udevd (pid: 56, stack limit = 0x(ptrval))                                     
[    4.544976] Stack: (0xdf6dfcc0 to 0xdf6e0000)                                                             
[    4.549321] fcc0: 00000024 006080c0 c022deec c0019984 00000000 000f1072 df713be0 00000084                 
[    4.557468] fce0: df713bc0 c02a4a38 a0000013 df713be0 00000084 c0565f40 00000000 c02a4a70                 
[    4.565616] fd00: fd072004 c022df28 00000000 df7ec2a0 df7ec000 00000000 df7ec2a0 bf170430                 
[    4.573763] fd20: c713eae0 c713eb40 00000001 00000000 df50a2a0 df7ec2a4 df6dff4c c0565f40                 
[    4.581911] fd40: bf170cc4 00000000 00000000 c05e3944 df713ba4 00000004 df6dff4c c02a3450                 
[    4.590058] fd60: c0565f40 bf170cc4 00000000 c02a1958 c0565f40 bf170cc4 c0565f40 c0565f74                 
[    4.598206] fd80: bf170cc4 00000000 00000001 df713ba4 c0078738 c02a1e44 c0565f40 bf170cc4                 
[    4.606354] fda0: c02a1d9c c029fa58 df49304c df404e10 bf170cc4 df6ee6c0 c0591d80 c02a0d30                 
[    4.614501] fdc0: bf170c50 bf170c51 0000006f bf170cc4 c055d028 bf173000 00000000 c02a25cc                 
[    4.622649] fde0: bf170d20 c055d028 bf173000 c000ab60 00000001 df675c64 df400fe0 c012dcac                 
[    4.630796] fe00: df508a80 df4b6000 df501d20 df4df400 c059da14 c012de8c dfbefab0 c012ebb4                 
[    4.638943] fe20: df401e60 006000c0 df6dff4c c012ebc0 df401e60 006000c0 bf170d20 ca996996                 
[    4.647091] fe40: bf170d20 00000001 df6636a0 df713b80 00000001 c007c30c bf170d20 dffe35a0 
[    4.655239] fe60: bf170d20 00000001 bf170d68 c007b8ec bf170d2c 00007fff bf170d20 c0078e24                 
[    4.663386] fe80: e09e1f88 c03e95cc e09e1f38 bf173060 0000001a bf170ef4 df62e6e0 b6f2a3a0                 
[    4.671532] fea0: df62e6e0 df6dff3c 00000000 00000000 00000000 00000000 00000000 00000000
[    4.679671] fec0: 6e72656b 00006c65 00000000 00000000 00000000 00000000 00000000 00000000                 
[    4.687810] fee0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ca996996                 
[    4.695949] ff00: 7fffffff 00000000 b6f2a3a0 00000005 0000017b c00091e4 df6de000 00000000                 
[    4.704097] ff20: 00a8b2f8 c007bbbc 7fffffff 00000000 00000003 c010a920 00000002 e09df000                 
[    4.712245] ff40: 00002fb0 00000000 df6dff58 e09dfba7 e09e0580 e09df000 00002fb0 e09e1998                 
[    4.720392] ff60: e09e1810 e09e101c 00000f20 000010d0 00000000 00000000 00000000 00000c7c                 
[    4.728539] ff80: 00000024 00000025 0000001b 00000018 00000013 00000000 7cc52700 00a7f1c8                 
[    4.736679] ffa0: 00000000 c0009000 7cc52700 00a7f1c8 00000005 b6f2a3a0 00000000 b6f2aeb4                 
[    4.744826] ffc0: 7cc52700 00a7f1c8 00000000 0000017b 00020000 00469110 00000000 00a8b2f8                 
[    4.752973] ffe0: bed5e7c8 bed5e7b8 b6f21610 b6dfb800 60000010 00000005 00000000 00000000                 
[    4.761136] [<c0269490>] (of_clk_get) from [<bf170430>] (orion_mdio_probe+0x118/0x2d4 [mvmdio])           
[    4.769808] [<bf170430>] (orion_mdio_probe [mvmdio]) from [<c02a3450>] (platform_drv_probe+0x40/0x74)     
[    4.778990] [<c02a3450>] (platform_drv_probe) from [<c02a1958>] (really_probe+0x220/0x3b0)                
[    4.787223] [<c02a1958>] (really_probe) from [<c02a1e44>] (__driver_attach+0xa8/0x128)
[    4.795116] [<c02a1e44>] (__driver_attach) from [<c029fa58>] (bus_for_each_dev+0x5c/0x80)                 
[    4.803263] [<c029fa58>] (bus_for_each_dev) from [<c02a0d30>] (bus_add_driver+0x1bc/0x234)                
[    4.811494] [<c02a0d30>] (bus_add_driver) from [<c02a25cc>] (driver_register+0xb4/0xf8)
[    4.819470] [<c02a25cc>] (driver_register) from [<c000ab60>] (do_one_initcall+0x60/0x178)                 
[    4.827618] [<c000ab60>] (do_one_initcall) from [<c007c30c>] (do_init_module+0x60/0x1d4)
[    4.835677] [<c007c30c>] (do_init_module) from [<c007b8ec>] (load_module.constprop.15+0x1f98/0x2034)      
[    4.844774] [<c007b8ec>] (load_module.constprop.15) from [<c007bbbc>] (sys_finit_module+0xb0/0xc4)        
[    4.853699] [<c007bbbc>] (sys_finit_module) from [<c0009000>] (ret_fast_syscall+0x0/0x50)                 
[    4.861839] Exception stack(0xdf6dffa8 to 0xdf6dfff0)
[    4.866873] ffa0:                   7cc52700 00a7f1c8 00000005 b6f2a3a0 00000000 b6f2aeb4                 
[    4.875013] ffc0: 7cc52700 00a7f1c8 00000000 0000017b 00020000 00469110 00000000 00a8b2f8                 
[    4.883149] ffe0: bed5e7c8 bed5e7b8 b6f21610 b6dfb800
[    4.888180] Code: e24dd054 e52de004 e8bd4000 e28d4008 (e590500c)                                          
[    4.894265] ---[ end trace f6a873a1ad0ae84d ]---                                                          
           

Re: Buffalo Terastation III TS-X4.0L/r5 (Sakura) From Stock 1.71(Buffalo Latest FW) ==>Debian Jessie/Stretch

$
0
0
I tried building the current Sid kernel (5.2.9) and it worked just fine on the ts-wxl. It seems like my pci patch must not work work with this version since the ts-xl failed to find the rootfs.

I expect with some work I’ll be able get that working again.

Re: Buffalo Terastation III TS-X4.0L/r5 (Sakura) From Stock 1.71(Buffalo Latest FW) ==>Debian Jessie/Stretch

$
0
0
looks like there is an addition fix in 5.2.9 that isn’t in 4.19.67 yet. I created a patch that adds it in which now allows 4.19.67 to work properly on the ts-wxl.

i’m getting the same error in 4.19 and 5.2.9 preventing the pci sata from working on the ts-xl
[   17.363300] Internal error: Oops - undefined instruction: 0 [#1] ARM
[   17.369631] Modules linked in: sata_mv(+) mvmdio(+) usbcore(+) libata rtc_rs5c372(+) usb_common nls_base scsi_mod mv643xx_eth
[   17.380912] CPU: 0 PID: 54 Comm: systemd-udevd Not tainted 4.19.67 #1
[   17.387317] Hardware name: Buffalo Nas WXL
[   17.391404] PC is at mv78xx0_init+0x21c/0x274
[   17.395745] LR is at orion5x_pci_disable+0x0/0x1c
[   17.400426] pc : [<c0513018>]    lr : [<c05140d4>]    psr: 00000013
[   17.406663] sp : df6b5d18  ip : 0000003c  fp : df6b5f4c
[   17.411864] r10: 00000004  r9 : df7a43a4  r8 : bf13b234
[   17.417066] r7 : 00000001  r6 : 00000001  r5 : df4dec00  r4 : c051316c
[   17.423564] r3 : df4e9340  r2 : 00000001  r1 : 00000001  r0 : df4c8000
[   17.430061] Flags: nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[   17.437163] Control: 0005397f  Table: 1f6b8000  DAC: 00000051
[   17.442882] Process systemd-udevd (pid: 54, stack limit = 0x(ptrval))
[   17.449292] Stack: (0xdf6b5d18 to 0xdf6b6000)
[   17.453632] 5d00:                                                       df4dec00 00000001
[   17.461776] 5d20: 00000001 df4dec00 df4e9200 df4dec00 00000000 c025e8c8 df4dec00 01000013
[   17.469924] 5d40: a0000013 df4dec68 bf13b234 c0257e18 df4dec68 bf13b234 00000000 00000000
[   17.478071] 5d60: c05e3944 c02a1958 df4dec68 bf13b234 df4dec68 df4dec9c bf13b234 00000000
[   17.486219] 5d80: 00000001 df7a43a4 c0078738 c02a1e44 df4dec68 bf13b234 c02a1d9c c029fa58
[   17.494367] 5da0: df4a54cc df50b750 bf13b234 c7043960 c058ee70 c02a0d30 bf13aca7 bf13aca8
[   17.502514] 5dc0: 00000073 bf13b234 c055d028 bf13e000 00000000 c02a25cc bf13b5e0 c055d028
[   17.510662] 5de0: bf13e000 bf13e01c bf13b5e0 c000ab60 00000001 df674064 c059da14 00000000
[   17.518809] 5e00: df508cc0 df4b6000 df501920 df4df800 df400fe0 c012dcac dfbefab0 c012ebb4
[   17.526957] 5e20: df401e60 006000c0 df6b5f4c c012ebc0 df401e60 006000c0 bf13b5e0 9a07172a
[   17.535104] 5e40: bf13b5e0 00000001 df7fc0a0 df7a4380 00000001 c007c30c bf13b5e0 df400fe4
[   17.543252] 5e60: bf13b5e0 00000001 bf13b628 c007b8ec bf13b5ec 00007fff bf13b5e0 c0078e24
[   17.551400] 5e80: e0a30410 c03e95cc e0a303c0 bf13e0a0 00000087 bf13b7b4 df68d000 b6e633a0
[   17.559546] 5ea0: df68d000 df6b5f3c 00000000 00000000 00000000 00000000 00000000 00000000
[   17.567693] 5ec0: 6e72656b 00006c65 00000000 00000000 00000000 00000000 00000000 00000000
[   17.575832] 5ee0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 9a07172a
[   17.583980] 5f00: 7fffffff 00000000 b6e633a0 0000000d 0000017b c00091e4 df6b4000 00000000
[   17.592127] 5f20: 00510820 c007bbbc 7fffffff 00000000 00000003 c010a920 00000002 e0a25000
[   17.600275] 5f40: 0000b438 00000000 df6b5f58 e0a29cb5 e0a2c0e0 e0a25000 0000b438 e0a2fd58
[   17.608423] 5f60: e0a2fba8 e0a2d9bc 000057f0 00006070 00000000 00000000 00000000 00002644
[   17.616569] 5f80: 00000029 0000002a 00000020 0000001b 00000014 00000000 a1609c00 005041c8
[   17.624709] 5fa0: 00000000 c0009000 a1609c00 005041c8 0000000d b6e633a0 00000000 b6e63eb4
[   17.632857] 5fc0: a1609c00 005041c8 00000000 0000017b 00020000 004e6110 00000000 00510820
[   17.641004] 5fe0: bed457c8 bed457b8 b6e5a610 b6d34800 60000010 0000000d 00000000 00000000
[   17.649152] Code: b6cd63cc b6cd6aa4 b6cd63cc 000000a2 (ffffffff) 
[   17.655220] ---[ end trace 6243ba4c2b221837 ]---

Re: Debian on wrt1200ac

$
0
0
Hi Bodhi.

Thanks for look at this. Here you go:

Marvell>> setenv mtdparts 'mtdparts=pxa3xx_nand-0:2048K(uboot)ro,256K(u_env),256K(s_env),1m@9m(devinfo),40m@10m(kernel),34m@16m(rootfs),40m@50m(alt_kernel),34m@56m(alt_rootfs),80m@10m(ubifs),-@90m(syscfg)'
Marvell>> run debian
BOOTP broadcast 1
DHCP client bound to address 192.168.1.112
Using egiga0 device
TFTP from server 192.168.1.100; our IP address is 192.168.1.112
Filename 'wrt/test/zImage'.
Load address: 0x2000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##########################################################
         5.2 MiB/s
done
Bytes transferred = 4661552 (472130 hex)
Using egiga0 device
TFTP from server 192.168.1.100; our IP address is 192.168.1.112
Filename 'wrt/test/uInitrd'.
Load address: 0x2900000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #########################
         6.3 MiB/s
done
Bytes transferred = 7991206 (79efa6 hex)
Using egiga0 device
TFTP from server 192.168.1.100; our IP address is 192.168.1.112
Filename 'wrt/test/my.dtb'.
Load address: 0x1000000
Loading: ##
         4.4 MiB/s
done
Bytes transferred = 18516 (4854 hex)
## Loading init Ramdisk from Legacy Image at 02900000 ...
   Image Name:   initramfs-5.1.7-mvebu-tld-1
   Created:      2019-07-31   4:34:29 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7991142 Bytes = 7.6 MiB
   Load Address: 00000000
   Entry Point:  00000000
## Flattened Device Tree blob at 01000000
   Booting using the fdt blob at 0x01000000
   Loading Ramdisk to 1f208000, end 1f9a6f66 ... OK
   Loading Device Tree to 00ff8000, end 00fff853 ... OK

   Skipping Device Tree update ('fdt_skip_update' = yes)

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.1.7-mvebu-tld-1 (root@tldDebianVM) (gcc version 7.3.0 (Ubuntu/Linaro 7.3.0-27ubuntu1~18.04)) #1 SMP PREEMPT Sat Jun 8 20:04:26 PDT 2019
[    0.000000][    T0] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[    0.000000][    T0] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000][    T0] OF: fdt: Machine model: Linksys WRT1200AC
[    0.000000][    T0] printk: bootconsole [earlycon0] enabled
[    0.000000][    T0] Memory policy: Data cache writealloc
[    0.000000][    T0] random: get_random_bytes called from start_kernel+0x78/0x4dc with crng_init=0
[    0.000000][    T0] percpu: Embedded 18 pages/cpu s41932 r8192 d23604 u73728
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 130048
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 init=/sbin/init root=LABEL=WRT rootdelay=10 mtdparts=pxa3xx_nand-0:2048K(uboot)ro,256K(u_env),256K(s_env),1m@9m(devinfo),40m@10m(kernel),34m@16m(rootfs),40m@50m(alt_kernel),34m@56m(alt_rootfs),80m@10m(ubifs),-@90m(syscfg) earlyprintk=serial ipv6.disable=1
[    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: 497256K/524288K available (9216K kernel code, 826K rwdata, 2388K rodata, 1024K init, 332K bss, 27032K reserved, 0K cma-reserved, 0K highmem)
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000][    T0]  Tasks RCU enabled.
[    0.000000][    T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000][    T0] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000][    T0] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000][    T0] L2C-310 D prefetch enabled, offset 1 lines
[    0.000000][    T0] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000][    T0] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
[    0.000000][    T0] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[    0.000007][    T0] sched_clock: 64 bits at 666MHz, resolution 1ns, wraps every 4398046511103ns
[    0.008678][    T0] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x999999d70a, max_idle_ns: 440795225152 ns
[    0.020378][    T0] Switching to timer-based delay loop, resolution 1ns
[    0.027201][    T0] Ignoring duplicate/late registration of read_current_timer delay
[    0.034916][    T0] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.046987][    T0] Console: colour dummy device 80x30
[    0.052126][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 1332.00 BogoMIPS (lpj=6660000)
[    0.063393][    T0] pid_max: default: 32768 minimum: 301
[    0.068798][    T0] LSM: Security Framework initializing
[    0.074141][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.081429][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.089539][    T0] *** VALIDATE proc ***
[    0.093634][    T0] *** VALIDATE cgroup1 ***
[    0.097898][    T0] *** VALIDATE cgroup2 ***
[    0.102185][    T0] CPU: Testing write buffer coherency: ok
[    0.107751][    T0] CPU0: Spectre v2: using BPIALL workaround
[    0.113604][    T1] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.177052][    T1] Setting up static identity map for 0x100000 - 0x100060
[    0.183995][    T1] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[    0.189941][    T1] mvebu-pmsu: Initializing Power Management Service Unit
[    0.207027][    T1] rcu: Hierarchical SRCU implementation.
[    0.247026][    T1] smp: Bringing up secondary CPUs ...
[    0.307099][    T1] Booting CPU 1
[    0.310572][    T0] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.310576][    T0] CPU1: Spectre v2: using BPIALL workaround
[    0.322709][    T1] smp: Brought up 1 node, 2 CPUs
[    0.327506][    T1] SMP: Total of 2 processors activated (2664.00 BogoMIPS).
[    0.334526][    T1] CPU: All CPU(s) started in SVC mode.
[    0.340429][    T1] devtmpfs: initialized
[    0.346932][    T1] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.355564][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.366064][    T1] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.372956][    T1] prandom: seed boundary self test passed
[    0.380082][    T1] prandom: 100 self tests passed
[    0.384854][    T1] pinctrl core: initialized pinctrl subsystem
[    0.391619][    T1] NET: Registered protocol family 16
[    0.397453][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.405429][    T1] audit: initializing netlink subsys (disabled)
[    0.412262][   T33] audit: type=2000 audit(0.380:1): state=initialized audit_enabled=0 res=1
[    0.420728][    T1] cpuidle: using governor ladder
[    0.425514][    T1] cpuidle: using governor menu
[    0.430343][    T1] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.439022][    T1] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.445674][    T1] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
[    0.454438][    T1] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[    0.479318][    T1] vgaarb: loaded
[    0.483002][    T1] SCSI subsystem initialized
[    0.487993][    T1] usbcore: registered new interface driver usbfs
[    0.494219][    T1] usbcore: registered new interface driver hub
[    0.500295][    T1] usbcore: registered new device driver usb
[    0.506484][    T1] media: Linux media interface: v0.10
[    0.511763][    T1] videodev: Linux video capture interface: v2.00
[    0.518756][    T1] pps_core: LinuxPPS API ver. 1 registered
[    0.524394][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.534262][    T1] PTP clock support registered
[    0.539916][    T1] clocksource: Switched to clocksource arm_global_timer
[    1.033178][    T1] VFS: Disk quotas dquot_6.6.0
[    1.037831][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.053524][    T1] NET: Registered protocol family 2
[    1.058976][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[    1.067329][    T1] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    1.075075][    T1] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    1.082223][    T1] TCP: Hash tables configured (established 4096 bind 4096)
[    1.089291][    T1] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    1.095814][    T1] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    1.102886][    T1] NET: Registered protocol family 1
[    1.108234][    T1] RPC: Registered named UNIX socket transport module.
[    1.114838][    T1] RPC: Registered udp transport module.
[    1.120224][    T1] RPC: Registered tcp transport module.
[    1.125600][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.132828][    T1] Unpacking initramfs...
[    1.443619][    T1] Freeing initrd memory: 7804K
[    1.448401][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    1.455874][    T1] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    1.466375][    T1] Initialise system trusted keyrings
[    1.471565][    T1] Key type blacklist registered
[    1.476333][    T1] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    1.483531][    T1] zbud: loaded
[    1.487325][    T1] NFS: Registering the id_resolver key type
[    1.493074][    T1] Key type id_resolver registered
[    1.497931][    T1] Key type id_legacy registered
[    1.502632][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.510006][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    1.517163][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    1.525245][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    1.532460][    T1] orangefs_init: module version upstream loaded
[    1.597609][    T1] Key type asymmetric registered
[    1.602405][    T1] Asymmetric key parser 'x509' registered
[    1.608035][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    1.617875][    T1] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    1.627862][    T1] mvebu-pcie soc:pcie: PCI host bridge to bus 0000:00
[    1.634509][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.640676][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[    1.648216][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    1.656701][    T1] PCI: bus0: Fast back to back transfers disabled
[    1.662972][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.671661][    T1] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.680790][    T1] pci 0000:00:01.0: ASPM: current common clock configuration is broken, reconfiguring
[    1.721015][    T1] PCI: bus1: Fast back to back transfers disabled
[    1.727617][    T1] pci 0000:02:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s x1 link at 0000:00:02.0 (capable of 4.000 Gb/s with 5 GT/s x1 link)
[    1.742258][    T1] pci 0000:00:02.0: ASPM: current common clock configuration is broken, reconfiguring
[    1.781009][    T1] PCI: bus2: Fast back to back transfers disabled
[    1.787294][    T1] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe01fffff]
[    1.794851][    T1] pci 0000:00:02.0: BAR 14: assigned [mem 0xe0200000-0xe03fffff]
[    1.802402][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0400000-0xe04007ff pref]
[    1.810296][    T1] pci 0000:00:02.0: BAR 6: assigned [mem 0xe0500000-0xe05007ff pref]
[    1.818186][    T1] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe00fffff 64bit pref]
[    1.826605][    T1] pci 0000:01:00.0: BAR 2: assigned [mem 0xe0100000-0xe01fffff 64bit pref]
[    1.835022][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    1.840668][    T1] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe01fffff]
[    1.848127][    T1] pci 0000:02:00.0: BAR 0: assigned [mem 0xe0200000-0xe02fffff 64bit pref]
[    1.856544][    T1] pci 0000:02:00.0: BAR 2: assigned [mem 0xe0300000-0xe03fffff 64bit pref]
[    1.864961][    T1] pci 0000:00:02.0: PCI bridge to [bus 02]
[    1.870605][    T1] pci 0000:00:02.0:   bridge window [mem 0xe0200000-0xe03fffff]
[    1.878111][    T1] pcieport 0000:00:01.0: enabling device (0140 -> 0142)
[    1.884941][    T1] pcieport 0000:00:02.0: enabling device (0140 -> 0142)
[    1.892240][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    1.950405][    T1] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    1.958699][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    2.020384][    T1] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    2.076847][    T1] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    2.085402][    T1] printk: console [ttyS0] disabled
[    2.110491][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 22, base_baud = 12500000) is a 16550A
[    2.120156][    T1] printk: console [ttyS0] enabled
[    2.120156][    T1] printk: console [ttyS0] enabled
[    2.129972][    T1] printk: bootconsole [earlycon0] disabled
[    2.129972][    T1] printk: bootconsole [earlycon0] disabled
[    2.142648][    T1] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    2.152468][    T1] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
[    2.162759][    T1] scsi host0: ahci-mvebu
[    2.167235][    T1] scsi host1: ahci-mvebu
[    2.171613][    T1] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 42
[    2.180285][    T1] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 42
[    2.189860][    T1] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xf1
[    2.196966][    T1] nand: AMD/Spansion S34ML01G2
[    2.201618][    T1] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    2.210291][    T1] Bad block table found at page 65472, version 0x01
[    2.217418][    T1] Bad block table found at page 65408, version 0x01
[    2.224270][    T1] 10 cmdlinepart partitions found on MTD device pxa3xx_nand-0
[    2.231626][    T1] Creating 10 MTD partitions on "pxa3xx_nand-0":
[    2.237840][    T1] 0x000000000000-0x000000200000 : "uboot"
[    2.244206][    T1] 0x000000200000-0x000000240000 : "u_env"
[    2.250515][    T1] 0x000000240000-0x000000280000 : "s_env"
[    2.256789][    T1] 0x000000900000-0x000000a00000 : "devinfo"
[    2.263269][    T1] 0x000000a00000-0x000003200000 : "kernel"
[    2.269678][    T1] 0x000001000000-0x000003200000 : "rootfs"
[    2.276130][    T1] 0x000003200000-0x000005a00000 : "alt_kernel"
[    2.282933][    T1] 0x000003800000-0x000005a00000 : "alt_rootfs"
[    2.289702][    T1] 0x000000a00000-0x000005a00000 : "ubifs"
[    2.296169][    T1] 0x000005a00000-0x000008000000 : "syscfg"
[    2.303543][    T1] libphy: Fixed MDIO Bus: probed
[    2.308807][    T1] libphy: orion_mdio_bus: probed
[    2.314082][    T1] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
[    2.323992][    T1] mvneta f1070000.ethernet eth0: Using hardware mac address c0:56:27:6d:20:a7
[    2.334407][    T1] mvneta f1034000.ethernet eth1: Using random mac address 46:95:a0:52:73:5d
[    2.343249][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.350539][    T1] ehci-pci: EHCI PCI platform driver
[    2.355744][    T1] ehci-orion: EHCI orion driver
[    2.360615][    T1] orion-ehci f1058000.usb: EHCI Host Controller
[    2.366754][    T1] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
[    2.375139][    T1] orion-ehci f1058000.usb: irq 38, io mem 0xf1058000
[    2.419926][    T1] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[    2.426712][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.01
[    2.435737][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.443706][    T1] usb usb1: Product: EHCI Host Controller
[    2.449309][    T1] usb usb1: Manufacturer: Linux 5.1.7-mvebu-tld-1 ehci_hcd
[    2.456401][    T1] usb usb1: SerialNumber: f1058000.usb
[    2.462074][    T1] hub 1-0:1.0: USB hub found
[    2.466564][    T1] hub 1-0:1.0: 1 port detected
[    2.471957][    T1] usbcore: registered new interface driver usblp
[    2.478214][    T1] usbcore: registered new interface driver usb-storage
[    2.485179][    T1] mousedev: PS/2 mouse device common for all mice
[    2.492182][    T1] armada38x-rtc f10a3800.rtc: registered as rtc0
[    2.498581][    T1] i2c /dev entries driver
[    2.505368][    T1] orion_wdt: Initial timeout 171 sec
[    2.521429][ T1185] ata1: SATA link down (SStatus 0 SControl 300)
[    2.539002][    T1] marvell-cesa f1090000.crypto: CESA device successfully registered
[    2.547150][    T1] hidraw: raw HID events driver (C) Jiri Kosina
[    2.553633][    T1] usbcore: registered new interface driver usbhid
[    2.559958][    T1] usbhid: USB HID core driver
[    2.564855][    T1] drop_monitor: Initializing network drop monitor service
[    2.572080][    T1] IPv6: Loaded, but administratively disabled, reboot required to enable
[    2.581222][    T1] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.588275][    T1] NET: Registered protocol family 17
[    2.593570][    T1] 8021q: 802.1Q VLAN Support v1.8
[    2.598504][    T1] Key type dns_resolver registered
[    2.603694][    T1] ThumbEE CPU extension supported.
[    2.608688][    T1] Registering SWP/SWPB emulation handler
[    2.614707][    T1] registered taskstats version 1
[    2.619525][    T1] Loading compiled-in X.509 certificates
[    2.625101][    T1] zswap: loaded using pool lzo/zbud
[    2.641189][    T1] Key type big_key registered
[    2.650911][    T1] Key type encrypted registered
[    2.657406][    T5] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    2.663489][    T5] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 2
[    2.671824][    T5] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
[    2.681839][    T5] xhci-hcd f10f8000.usb3: irq 44, io mem 0xf10f8000
[    2.688520][    T5] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.01
[    2.689935][ T1189] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    2.697542][    T5] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.712435][    T5] usb usb2: Product: xHCI Host Controller
[    2.718044][    T5] usb usb2: Manufacturer: Linux 5.1.7-mvebu-tld-1 xhci-hcd
[    2.725142][    T5] usb usb2: SerialNumber: f10f8000.usb3
[    2.730778][ T1189] ata2.15: Port Multiplier 1.1, 0x197b:0x2352 r0, 2 ports, feat 0x0/0x0
[    2.730929][    T5] hub 2-0:1.0: USB hub found
[    2.739078][ T1189] ata2.15: Asynchronous notification not supported, hotplug won't work on fan-out ports. Use warm-plug instead.
[    2.743584][    T5] hub 2-0:1.0: 1 port detected
[    2.758132][ T1189] ahci-mvebu f10a8000.sata: FBS is enabled
[    2.760267][    T5] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    2.771621][    T5] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 3
[    2.779869][    T5] xhci-hcd f10f8000.usb3: Host supports USB 3.0  SuperSpeed
[    2.787072][ T1189] ata2.00: hard resetting link
[    2.787113][    T5] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.800684][    T5] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.01
[    2.809697][    T5] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.817674][    T5] usb usb3: Product: xHCI Host Controller
[    2.823293][    T5] usb usb3: Manufacturer: Linux 5.1.7-mvebu-tld-1 xhci-hcd
[    2.830392][    T5] usb usb3: SerialNumber: f10f8000.usb3
[    2.836139][    T5] hub 3-0:1.0: USB hub found
[    2.840648][    T5] hub 3-0:1.0: 1 port detected
[    2.846103][    T1] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    2.853814][    T1] armada38x-rtc f10a3800.rtc: setting system clock to 2019-08-24T20:09:01 UTC (1566677341)
[    3.162356][ T1189] ata2.00: SATA link down (SStatus 113 SControl 113)
[    3.168964][ T1189] ata2.01: hard resetting link
[    3.502337][ T1189] ata2.01: SATA link down (SStatus 123 SControl 123)
[    3.509653][ T1189] ata2.00: ATA-8: TOSHIBA DT01ACA100, MS2OA750, max UDMA/133
[    3.516930][ T1189] ata2.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 32)
[    3.525003][ T1189] ata2.00: configured for UDMA/133
[    3.530761][ T1189] ata2.01: ATA-8: Hitachi HDT721010SLA360, ST6OA31B, max UDMA/133
[    3.538460][ T1189] ata2.01: 1953525168 sectors, multi 0: LBA48 NCQ (depth 32)
[    3.546666][ T1189] ata2.01: configured for UDMA/133
[    3.551716][ T1189] ata2: EH complete
[    3.555668][    T7] scsi 1:0:0:0: Direct-Access     ATA      TOSHIBA DT01ACA1 A750 PQ: 0 ANSI: 5
[    3.565198][  T237] sd 1:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[    3.565211][    T7] scsi 1:1:0:0: Direct-Access     ATA      Hitachi HDT72101 A31B PQ: 0 ANSI: 5
[    3.573685][  T237] sd 1:0:0:0: [sda] 4096-byte physical blocks
[    3.588714][   T35] sd 1:1:0:0: [sdb] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[    3.597182][   T35] sd 1:1:0:0: [sdb] Write Protect is off
[    3.599983][  T237] sd 1:0:0:0: [sda] Write Protect is off
[    3.608264][  T237] sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    3.608279][   T35] sd 1:1:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    3.661361][   T35]  sdb: sdb1 sdb2 sdb3
[    3.663737][  T237]  sda: sda1 sda2 sda3
[    3.666319][   T35] sd 1:1:0:0: [sdb] Attached SCSI removable disk
[    3.676353][  T237] sd 1:0:0:0: [sda] Attached SCSI removable disk
[    3.684187][    T1] Freeing unused kernel memory: 1024K
[    3.720319][    T1] Checked W+X mappings: passed, no W+X pages found
[    3.726709][    T1] Run /init as init process
Loading, please wait...
starting version 232
[    3.776867][ T1543] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    3.780747][ T1544] random: udevadm: uninitialized urandom read (16 bytes read)
[    3.785087][ T1543] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    4.058889][ T1546] mv88e6085 f1072004.mdio-mii:00: switch 0x1760 detected: Marvell 88E6176, revision 1
[    4.249782][ T1546] libphy: mv88e6xxx SMI: probed
[    4.510074][ T1546] mv88e6085 f1072004.mdio-mii:00 lan4 (uninitialized): PHY [mv88e6xxx-0:00] driver [Marvell 88E1540]
[    4.523756][ T1546] mv88e6085 f1072004.mdio-mii:00 lan3 (uninitialized): PHY [mv88e6xxx-0:01] driver [Marvell 88E1540]
[    4.537261][ T1546] mv88e6085 f1072004.mdio-mii:00 lan2 (uninitialized): PHY [mv88e6xxx-0:02] driver [Marvell 88E1540]
[    4.550748][ T1546] mv88e6085 f1072004.mdio-mii:00 lan1 (uninitialized): PHY [mv88e6xxx-0:03] driver [Marvell 88E1540]
[    4.564233][ T1546] mv88e6085 f1072004.mdio-mii:00 wan (uninitialized): PHY [mv88e6xxx-0:04] driver [Marvell 88E1540]
[    4.579842][ T1546] DSA: tree 0 setup
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.29.2
[   14.695114][    C0] random: fast init done
[/sbin/fsck.ext4 (1) -- /dev/sdb1] fsck.ext4 -a -C0 /dev/sdb1
WRT: clean, 48903/393216 files, 674154/1572864 blocks
done.
[   14.770806][ T1596] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[ ok ] Setting hostname to 'trunks'...done.
[....] Starting the hotplug events dispatcher: systemd-udevdstarting version 232
. ok
[ ok ] Synthesizing the initial hotplug events...done.
[....] Waiting for /dev to be fully populated...[   16.442189][ T1806] sd 1:0:0:0: Attached scsi generic sg0 type 0
[   16.498333][ T1806] sd 1:1:0:0: Attached scsi generic sg1 type 0
[   16.589103][ T1829] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   16.622708][ T1829] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   16.824530][ T1804] mwlwifi: no symbol version for module_layout
[   16.832723][ T1829] mwlwifi: loading out-of-tree module taints kernel.
[   16.844466][ T1829] <<Marvell Mac80211 Wireless PCIE Network Driver version 10.3.8.0-20181210>>
[   17.104698][ T1959] md0: detected capacity change from 0 to 1986179104768
[   17.920379][ T1829] ieee80211 phy0: device node: pcie@1,0
[   17.944640][ T1829] ieee80211 phy0: firmware version: 0x702091a
[   17.968682][ T1829] ieee80211 phy0: firmware region code: 0
[   18.036138][ T1829] ieee80211 phy0: 2G enabled, 5G enabled
[   18.041701][ T1829] ieee80211 phy0: 4 TX antennas, 4 RX antennas
[   19.029949][ T1829] ieee80211 phy1: device node: pcie@2,0
[   19.054251][ T1829] ieee80211 phy1: firmware version: 0x702091a
[   19.078351][ T1829] ieee80211 phy1: firmware region code: 0
[   19.117362][ T1829] ieee80211 phy1: 2G enabled, 5G enabled
[   19.122919][ T1829] ieee80211 phy1: 4 TX antennas, 4 RX antennas
[   19.160799][ T1828] mwlwifi 0000:01:00.0 wlp1s0: renamed from wlan0
[   19.190687][ T1806] mwlwifi 0000:02:00.0 wlp2s0: renamed from wlan1
done.
[....] Activating swap:swapon: [   19.509446][ T2150] Adding 524284k swap on /dev/sdb2.  Priority:-2 extents:1 across:524284k FS
/dev/sdb2: found signature [page[   19.520225][ T2150] Adding 524284k swap on /dev/sda2.  Priority:-3 extents:1 across:524284k FS
size=4096, signature=swap]
swapon: /dev/sdb2: pagesize=4096, swapsize=536870912, devsize=536870912
swapon /dev/sdb2
swapon: /dev/sda2: found signature [pagesize=4096, signature=swap]
swapon: /dev/sda2: pagesize=4096, swapsize=536870912, devsize=536870912
swapon /dev/sda2
. ok
[   19.607875][ T2174] EXT4-fs (sdb1): re-mounted. Opts: errors=remount-ro
[....] Will now activate lvm and md swap:swapon: /dev/sdb2: already active -- ignored
swapon: /dev/sda2: already active -- ignored
done.
[info] Will now check all file systems.
fsck from util-linux 2.29.2
Checking all file systems.
LABEL=WRT is mounted
UUID="61d3400b-2508-4e9c-8591-c67cefbdc418" is not mounted
[/sbin/fsck.jfs (1) -- /exports] fsck.jfs -y /dev/md0
fsck.jfs version 1.1.15, 04-Mar-2011
processing started: 8/24/2019 16:09:09
Using default parameter: -p
The current device is:  /dev/md0
Block size in bytes:  4096
Filesystem size in blocks:  484907008
**Phase 0 - Replay Journal Log
Filesystem is clean.
[....] Done checking file systems. A log is being saved in /var/log/fsck/checkfs[ ok hat location is writable.[   20.101039][    C0] random: crng init done
[   20.105164][    C0] random: 7 urandom warning(s) missed due to ratelimiting
.
[info] Loading kernel module mv88e6xxx.
[info] Loading kernel module tmp421.
[ ok ] Cleaning up temporary files...[....] Cleaning /tmp...done.
[ ok .
[   20.518517][ T2487] JFS: nTxBlock = 3953, nTxLock = 31630
[ ok ] Will now mount local filesystems:.
[....] Will now activate swapfile swap:swapon: /dev/sdb2: already active -- ignored
swapon: /dev/sda2: already active -- ignored
done.
[ ok ] Checking minimum space in /tmp...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables...done.
[ ok ] Initializing random number generator...done.
[   21.190300][ T2736] mvneta f1070000.ethernet eth0: configuring for fixed/rgmii-id link mode
[   21.198869][   T16] mvneta f1070000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   21.273411][ T2776] mvneta f1034000.ethernet eth1: configuring for fixed/sgmii link mode
[   21.281703][    T5] mvneta f1034000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off
[   21.483094][ T2821] device eth1 entered promiscuous mode
[   21.488539][ T2821] mv88e6085 f1072004.mdio-mii:00 lan1: configuring for phy/gmii link mode
[   21.501968][ T2821] 8021q: adding VLAN 0 to HW filter on device lan1
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/lan1/c0:56:27:6d:20:a7
Sending on   LPF/lan1/c0:56:27:6d:20:a7
Sending on   Socket/fallback
DHCPDISCOVER on lan1 to 255.255.255.255 port 67 interval 3
[   24.669990][    T5] mv88e6085 f1072004.mdio-mii:00 lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[   31.762646][ T2879] mv88e6085 f1072004.mdio-mii:00 lan2: configuring for phy/gmii link mode
[   31.776088][ T2879] 8021q: adding VLAN 0 to HW filter on device lan2
[   31.847489][ T2917] mv88e6085 f1072004.mdio-mii:00 lan3: configuring for phy/gmii link mode
[   31.862531][ T2917] 8021q: adding VLAN 0 to HW filter on device lan3
[   31.934196][ T2955] mv88e6085 f1072004.mdio-mii:00 lan4: configuring for phy/gmii link mode
[   31.949690][ T2955] 8021q: adding VLAN 0 to HW filter on device lan4
[   32.021830][ T2993] mv88e6085 f1072004.mdio-mii:00 wan: configuring for phy/gmii link mode
[   32.037278][ T2993] 8021q: adding VLAN 0 to HW filter on device wan
DHCPDISCOVER on lan1 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on lan1 to 255.255.255.255 port 67 interval 14
DHCPREQUEST of 192.168.1.112 on lan1 to 255.255.255.255 port 67
DHCPOFFER of 192.168.1.112 from 192.168.1.2
DHCPACK of 192.168.1.112 from 192.168.1.2
bound to 192.168.1.112 -- renewal in 10543 seconds.
done.
[ ok ] Starting RPC port mapper daemon: rpcbind.
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Cleaning up temporary files....
[ ok ] Setting up ALSA...done (none loaded).
[ ok ] Setting sensors limits...done.
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[ ok ] Starting Squeezebox client: squeezelite.
[ ok ] Starting enhanced syslogd: rsyslogd.
[   33.217905][ T3307] NFSD: starting 90-second grace period (net f0000039)
[ ok ] Exporting directories for NFS kernel daemon....
[....] Starting NFS kernel daemon: nfsd mountdrpc.mountd: svc_tli_create: could not open connection for udp6
rpc.mountd: svc_tli_create: could not open connection for tcp6
rpc.mountd: svc_tli_create: could not open connection for udp6
rpc.mountd: svc_tli_create: could not open connection for tcp6
rpc.mountd: svc_tli_create: could not open connection for udp6
rpc.mountd: svc_tli_create: could not open connection for tcp6
. ok
[ ok ] Starting MD monitoring service: mdadm --monitor.
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[ ok ] Starting automount....
[ ok ] Starting periodic command scheduler: cron.
[ ok ] Starting S.M.A.R.T. daemon: smartd.
[ ok ] Starting NTP server: ntpd.
[....] Running local boot scripts (/etc/rc.local)

Debian GNU/Linux 9 trunks ttyS0

trunks login:


$ ls -l /sys/class/leds
total 0
lrwxrwxrwx 1 root root 0 Aug 24 16:11 caiman:white:power -> ../../devices/platform/gpio-leds/leds/caiman:white:power
lrwxrwxrwx 1 root root 0 Aug 24 16:11 caiman:white:sata -> ../../devices/platform/gpio-leds/leds/caiman:white:sata


$ cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00200000 00020000 "uboot"
mtd1: 00040000 00020000 "u_env"
mtd2: 00040000 00020000 "s_env"
mtd3: 00100000 00020000 "devinfo"
mtd4: 02800000 00020000 "kernel"
mtd5: 02200000 00020000 "rootfs"
mtd6: 02800000 00020000 "alt_kernel"
mtd7: 02200000 00020000 "alt_rootfs"
mtd8: 05000000 00020000 "ubifs"
mtd9: 02600000 00020000 "syscfg"


$ cat /proc/cmdline
console=ttyS0,115200 init=/sbin/init root=LABEL=WRT rootdelay=10 mtdparts=pxa3xx_nand-0:2048K(uboot)ro,256K(u_env),256K(s_env),1m@9m(devinfo),40m@10m(kernel),34m@16m(rootfs),40m@50m(alt_kernel),34m@56m(alt_rootfs),80m@10m(ubifs),-@90m(syscfg) earlyprintk=serial ipv6.disable=1


Thanks
fsonnlei

Re: Buffalo Terastation III TS-X4.0L/r5 (Sakura) From Stock 1.71(Buffalo Latest FW) ==>Debian Jessie/Stretch

$
0
0
I added some debugging options which made the stack trace a bit more readable:
[   18.445931] Internal error: Oops - undefined instruction: 0 [#1] ARM
[   18.452259] Modules linked in: marvell(+) sata_mv(+) usbcore(+) mvmdio(+) usb_common nls_base rtc_rs5c372(+) libata scsi_mod mv643xx_h
[   18.464499] CPU: 0 PID: 54 Comm: systemd-udevd Not tainted 4.19.67 #1
[   18.470903] Hardware name: Buffalo Nas WXL
[   18.474988] PC is at mv78xx0_pcie_preinit+0x14/0x180
[   18.479929] LR is at pcibios_map_irq+0x30/0x78
[   18.484350] pc : [<c05821ac>]    lr : [<c00152f0>]    psr: a0000013
[   18.490587] sp : c710bd18  ip : 0000003c  fp : c710bf4c
[   18.495789] r10: 00000004  r9 : c73e13a4  r8 : bf12f234
[   18.500991] r7 : 00000001  r6 : 00000001  r5 : df532240  r4 : c058216c
[   18.507487] r3 : df55d580  r2 : 00000001  r1 : 00000001  r0 : df532240
[   18.513987] Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[   18.521088] Control: 0005397f  Table: 0710c000  DAC: 00000051
[   18.526807] Process systemd-udevd (pid: 54, stack limit = 0x(ptrval))
[   18.533218] Stack: (0xc710bd18 to 0xc710c000)
[   18.537555] bd00:                                                       df532240 00000001
[   18.545700] bd20: 00000001 df532240 df55d440 df532240 00000000 c0261508 df532240 01000013
[   18.553848] bd40: a0000013 df5322a8 bf12f234 c025aa68 df5322a8 bf12f234 00000000 00000000
[   18.561996] bd60: c0653a44 c02a4478 bf12eca7 df5f4020 df5322a8 df5322dc bf12f234 00000000
[   18.570143] bd80: 00000001 c73e13a4 c007879c c02a4954 df5322a8 bf12f234 c02a489c c02a25f0
[   18.578291] bda0: df538f0c df5f7190 bf12f234 c6cc8520 c05fef50 c02a388c bf12eca7 bf12eca8
[   18.586438] bdc0: 00000073 bf12f234 c05cd028 bf132000 00000000 c02a50bc bf12f5e0 c05cd028
[   18.594586] bde0: bf132000 bf13201c bf12f5e0 c000ab60 dfcdbaa0 80100010 c73e1380 00000001
[   18.602733] be00: dfcdbaa0 60000013 00000000 006000c0 c007c2d4 0000000c c73e13a4 c007879c
[   18.610881] be20: c710bf4c c0130090 df401180 c01302ac df401180 006000c0 bf12f5e0 4bc559d2
[   18.619028] be40: bf12f5e0 00000001 c6c12420 c73e1380 00000001 c007c310 bf12f5e0 df400f24
[   18.627175] be60: bf12f5e0 00000001 bf12f628 c007b8f0 bf12f5ec 00007fff bf12f5e0 c0078e88
[   18.635324] be80: e0a3c410 c03ec5cc e0a3c3c0 bf1320a0 0000015b bf12f7b4 c7398620 b6e563a0
[   18.643470] bea0: c7398620 c710bf3c 00000000 00000000 00000000 00000000 00000000 00000000
[   18.651617] bec0: 6e72656b 00006c65 00000000 00000000 00000000 00000000 00000000 00000000
[   18.659755] bee0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 4bc559d2
[   18.667895] bf00: 7fffffff 00000000 b6e563a0 0000000d 0000017b c00091e4 c710a000 00000000
[   18.676044] bf20: 015ca820 c007bbc0 7fffffff 00000000 00000003 c010ab48 00000002 e0a31000
[   18.684191] bf40: 0000b438 00000000 c710bf58 e0a35cb5 e0a380e0 e0a31000 0000b438 e0a3bd58
[   18.692338] bf60: e0a3bba8 e0a399bc 000057f0 00006350 00000000 00000000 00000000 00002644
[   18.700485] bf80: 00000029 0000002a 00000020 0000001b 00000014 00000000 a60af500 015be1c8
[   18.708633] bfa0: 00000000 c0009000 a60af500 015be1c8 0000000d b6e563a0 00000000 b6e56eb4
[   18.716780] bfc0: a60af500 015be1c8 00000000 0000017b 00020000 004d9110 00000000 015ca820
[   18.724929] bfe0: bea6a7c8 bea6a7b8 b6e4d610 b6d27800 60000010 0000000d 00000000 00000000
[   18.733085] [<c00152f0>] (pcibios_map_irq) from [<c0261508>] (pci_assign_irq+0xb0/0xf8)
[   18.741061] [<c0261508>] (pci_assign_irq) from [<c025aa68>] (pci_device_probe+0x20/0xf4)
[   18.749123] [<c025aa68>] (pci_device_probe) from [<c02a4478>] (really_probe+0x210/0x398)
[   18.757182] [<c02a4478>] (really_probe) from [<c02a4954>] (__driver_attach+0xb8/0x120)
[   18.765070] [<c02a4954>] (__driver_attach) from [<c02a25f0>] (bus_for_each_dev+0x5c/0x80)
[   18.773217] [<c02a25f0>] (bus_for_each_dev) from [<c02a388c>] (bus_add_driver+0x1ac/0x224)
[   18.781452] [<c02a388c>] (bus_add_driver) from [<c02a50bc>] (driver_register+0xb4/0xf8)
[   18.789459] [<c02a50bc>] (driver_register) from [<bf13201c>] (mv_init+0x1c/0xa0 [sata_mv])
[   18.797713] [<bf13201c>] (mv_init [sata_mv]) from [<c000ab60>] (do_one_initcall+0x60/0x178)
[   18.806036] [<c000ab60>] (do_one_initcall) from [<c007c310>] (do_init_module+0x60/0x1d4)
[   18.814094] [<c007c310>] (do_init_module) from [<c007b8f0>] (load_module.constprop.15+0x1f38/0x1fd4)
[   18.823191] [<c007b8f0>] (load_module.constprop.15) from [<c007bbc0>] (sys_finit_module+0xb0/0xc4)
[   18.832116] [<c007bbc0>] (sys_finit_module) from [<c0009000>] (ret_fast_syscall+0x0/0x50)
[   18.840257] Exception stack(0xc710bfa8 to 0xc710bff0)
[   18.845291] bfa0:                   a60af500 015be1c8 0000000d b6e563a0 00000000 b6e56eb4
[   18.853431] bfc0: a60af500 015be1c8 00000000 0000017b 00020000 004d9110 00000000 015ca820
[   18.861575] bfe0: bea6a7c8 bea6a7b8 b6e4d610 b6d27800
[   18.866606] Code: 00000000 00000000 00000000 03ff0000 (87fffffe) 
[   18.872668] ---[ end trace 01cec3a4f73b5b24 ]---

Re: Debian on wrt1200ac

$
0
0
fsonnlei,


> $ cat /proc/mtd
> dev:    size   erasesize  name
> mtd0: 00200000 00020000 "uboot"
> mtd1: 00040000 00020000 "u_env"
> mtd2: 00040000 00020000 "s_env"
> mtd3: 00100000 00020000 "devinfo"
> mtd4: 02800000 00020000 "kernel"
> mtd5: 02200000 00020000 "rootfs"
> mtd6: 02800000 00020000 "alt_kernel"
> mtd7: 02200000 00020000 "alt_rootfs"
> mtd8: 05000000 00020000 "ubifs"
> mtd9: 02600000 00020000 "syscfg"


Cool! that works quite well.

To access u-boot envs in Debian, there is further setup needed. We'll come back to that later (if you are interested in explore this further).


About LEDs

lrwxrwxrwx 1 root root 0 Aug 24 16:11 caiman:white:power -> ../../devices/platform/gpio-leds/leds/caiman:white:power
lrwxrwxrwx 1 root root 0 Aug 24 16:11 caiman:white:sata -> ../../devices/platform/gpio-leds/leds/caiman:white:sata

In the released rootfs /etc/rc.local, I had some example setting the LEDS. For this box, to turn on/off the LEDS, you would do this.

You can test them using the echo command in the shell first, and then after seeing it works, add the full logic in /etc/rc.local.

# turn on system LED

if [ -d /sys/class/leds/caiman:white:power ]; then
   echo default-on  > /sys/class/leds/caiman:white:power/trigger
fi


# turn on HDD LED trigger to see it flashing during disk read/write

if [ -d /sys/class/leds/caiman:white:sata ]; then
   echo ide-disk1  > /sys/class/leds/caiman:white:sata/trigger
fi

====

I'll add this box to the supported list for the MVEBU kernel. Thanks for a great job testing and bringing up this box!

I've noticed you are using a different DTB. Was that modified from the mainline version?

Re: Can I install Tonido on a PogoPlug E02 running Debian?

$
0
0
Thanks for the info, I will do that as soon as I get a 4 pin 1.25mm jst connector for the TP

Re: Debian on wrt1200ac

$
0
0
Hi Bodhi.

Regarding the different DTB file, please see my previous post.

Following is the log for booting with your kernel 5.1.7 and the DTB included (not "my.dtb").

Marvell>> setenv mtdparts  'mtdparts=pxa3xx_nand-0:2048K(uboot)ro,256K(u_env),256K(s_env),1m@9m(devinfo),40m@10m(kernel),34m@16m(rootfs),40m@50m(alt_kernel),34m@56m(alt_rootfs),80m@10m(ubifs),-@90m(syscfg)'
Marvell>> setenv bootargs console=ttyS0,115200 init=/sbin/init root=LABEL=WRT rootdelay=10 $mtdparts earlyprintk=serial ipv6.disable=1                          Marvell>> dhcp
BOOTP broadcast 1
DHCP client bound to address 192.168.1.112
Marvell>> tftpboot 0x02000000 wrt/test/zImage
Using egiga0 device
TFTP from server 192.168.1.100; our IP address is 192.168.1.112
Filename 'wrt/test/zImage'.
Load address: 0x2000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##########################################################
         6.3 MiB/s
done
Bytes transferred = 4661552 (472130 hex)
Marvell>> tftpboot 0x2900000 wrt/test/uInitrd
Using egiga0 device
TFTP from server 192.168.1.100; our IP address is 192.168.1.112
Filename 'wrt/test/uInitrd'.
Load address: 0x2900000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #########################
         6.5 MiB/s
done
Bytes transferred = 7991206 (79efa6 hex)
Marvell>> tftpboot 0x1000000 wrt/test/armada-385-linksys-caiman.dtb
Using egiga0 device
TFTP from server 192.168.1.100; our IP address is 192.168.1.112
Filename 'wrt/test/armada-385-linksys-caiman.dtb'.
Load address: 0x1000000
Loading: ##
         1005.9 KiB/s
done
Bytes transferred = 18540 (486c hex)
Marvell>> setenv fdt_skip_update yes
Marvell>> bootz 0x02000000 0x2900000 0x1000000
## Loading init Ramdisk from Legacy Image at 02900000 ...
   Image Name:   initramfs-5.1.7-mvebu-tld-1
   Created:      2019-07-31   4:34:29 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7991142 Bytes = 7.6 MiB
   Load Address: 00000000
   Entry Point:  00000000
## Flattened Device Tree blob at 01000000
   Booting using the fdt blob at 0x01000000
   Loading Ramdisk to 1f208000, end 1f9a6f66 ... OK
   Loading Device Tree to 00ff8000, end 00fff86b ... OK

   Skipping Device Tree update ('fdt_skip_update' = yes)

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.1.7-mvebu-tld-1 (root@tldDebianVM) (gcc version 7.3.0 (Ubuntu/Linaro 7.3.0-27ubuntu1~18.04)) #1 SMP PREEMPT Sat Jun 8 20:04:26 PDT 2019
[    0.000000][    T0] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[    0.000000][    T0] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000][    T0] OF: fdt: Machine model: Linksys WRT1200AC
[    0.000000][    T0] printk: bootconsole [earlycon0] enabled
[    0.000000][    T0] Memory policy: Data cache writealloc
[    0.000000][    T0] random: get_random_bytes called from start_kernel+0x78/0x4dc with crng_init=0
[    0.000000][    T0] percpu: Embedded 18 pages/cpu s41932 r8192 d23604 u73728
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 130048
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 init=/sbin/init root=LABEL=WRT rootdelay=10 mtdparts=pxa3xx_nand-0:2048K(uboot)ro,256K(u_env),256K(s_env),1m@9m(devinfo),40m@10m(kernel),34m@16m(rootfs),40m@50m(alt_kernel),34m@56m(alt_rootfs),80m@10m(ubifs),-@90m(syscfg) earlyprintk=serial ipv6.disable=1
[    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: 497256K/524288K available (9216K kernel code, 826K rwdata, 2388K rodata, 1024K init, 332K bss, 27032K reserved, 0K cma-reserved, 0K highmem)
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000][    T0]  Tasks RCU enabled.
[    0.000000][    T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000][    T0] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000][    T0] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000][    T0] L2C-310 D prefetch enabled, offset 1 lines
[    0.000000][    T0] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000][    T0] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
[    0.000000][    T0] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[    0.000008][    T0] sched_clock: 64 bits at 666MHz, resolution 1ns, wraps every 4398046511103ns
[    0.008679][    T0] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x999999d70a, max_idle_ns: 440795225152 ns
[    0.020380][    T0] Switching to timer-based delay loop, resolution 1ns
[    0.027203][    T0] Ignoring duplicate/late registration of read_current_timer delay
[    0.034919][    T0] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.046992][    T0] Console: colour dummy device 80x30
[    0.052130][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 1332.00 BogoMIPS (lpj=6660000)
[    0.063397][    T0] pid_max: default: 32768 minimum: 301
[    0.068804][    T0] LSM: Security Framework initializing
[    0.074146][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.081434][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.089544][    T0] *** VALIDATE proc ***
[    0.093639][    T0] *** VALIDATE cgroup1 ***
[    0.097902][    T0] *** VALIDATE cgroup2 ***
[    0.102188][    T0] CPU: Testing write buffer coherency: ok
[    0.107754][    T0] CPU0: Spectre v2: using BPIALL workaround
[    0.113607][    T1] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.177054][    T1] Setting up static identity map for 0x100000 - 0x100060
[    0.183997][    T1] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[    0.189943][    T1] mvebu-pmsu: Initializing Power Management Service Unit
[    0.207028][    T1] rcu: Hierarchical SRCU implementation.
[    0.247027][    T1] smp: Bringing up secondary CPUs ...
[    0.307102][    T1] Booting CPU 1
[    0.310575][    T0] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.310579][    T0] CPU1: Spectre v2: using BPIALL workaround
[    0.322712][    T1] smp: Brought up 1 node, 2 CPUs
[    0.327509][    T1] SMP: Total of 2 processors activated (2664.00 BogoMIPS).
[    0.334528][    T1] CPU: All CPU(s) started in SVC mode.
[    0.340429][    T1] devtmpfs: initialized
[    0.346941][    T1] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.355572][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.366073][    T1] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.372966][    T1] prandom: seed boundary self test passed
[    0.380092][    T1] prandom: 100 self tests passed
[    0.384863][    T1] pinctrl core: initialized pinctrl subsystem
[    0.391632][    T1] NET: Registered protocol family 16
[    0.397465][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.405442][    T1] audit: initializing netlink subsys (disabled)
[    0.412297][   T33] audit: type=2000 audit(0.380:1): state=initialized audit_enabled=0 res=1
[    0.420764][    T1] cpuidle: using governor ladder
[    0.425551][    T1] cpuidle: using governor menu
[    0.430381][    T1] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.439060][    T1] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.445713][    T1] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
[    0.454476][    T1] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[    0.479064][    T1] vgaarb: loaded
[    0.482762][    T1] SCSI subsystem initialized
[    0.487761][    T1] usbcore: registered new interface driver usbfs
[    0.493994][    T1] usbcore: registered new interface driver hub
[    0.500070][    T1] usbcore: registered new device driver usb
[    0.506263][    T1] media: Linux media interface: v0.10
[    0.511539][    T1] videodev: Linux video capture interface: v2.00
[    0.518533][    T1] pps_core: LinuxPPS API ver. 1 registered
[    0.524171][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.534032][    T1] PTP clock support registered
[    0.539685][    T1] clocksource: Switched to clocksource arm_global_timer
[    1.033214][    T1] VFS: Disk quotas dquot_6.6.0
[    1.037869][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.053547][    T1] NET: Registered protocol family 2
[    1.058998][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[    1.067353][    T1] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    1.075098][    T1] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    1.082247][    T1] TCP: Hash tables configured (established 4096 bind 4096)
[    1.089315][    T1] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    1.095839][    T1] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    1.102921][    T1] NET: Registered protocol family 1
[    1.108267][    T1] RPC: Registered named UNIX socket transport module.
[    1.114872][    T1] RPC: Registered udp transport module.
[    1.120257][    T1] RPC: Registered tcp transport module.
[    1.125633][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.132862][    T1] Unpacking initramfs...
[    1.442247][    T1] Freeing initrd memory: 7804K
[    1.447029][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    1.454511][    T1] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    1.464993][    T1] Initialise system trusted keyrings
[    1.470182][    T1] Key type blacklist registered
[    1.474955][    T1] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    1.482153][    T1] zbud: loaded
[    1.485953][    T1] NFS: Registering the id_resolver key type
[    1.491703][    T1] Key type id_resolver registered
[    1.496561][    T1] Key type id_legacy registered
[    1.501261][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.508627][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    1.515793][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    1.523878][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    1.531085][    T1] orangefs_init: module version upstream loaded
[    1.596139][    T1] Key type asymmetric registered
[    1.600968][    T1] Asymmetric key parser 'x509' registered
[    1.606602][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    1.616393][    T1] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    1.626411][    T1] mvebu-pcie soc:pcie: PCI host bridge to bus 0000:00
[    1.633026][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.639184][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[    1.646772][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    1.655256][    T1] PCI: bus0: Fast back to back transfers disabled
[    1.661527][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.670217][    T1] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.679339][    T1] pci 0000:00:01.0: ASPM: current common clock configuration is broken, reconfiguring
[    1.710789][    T1] PCI: bus1: Fast back to back transfers disabled
[    1.717388][    T1] pci 0000:02:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s x1 link at 0000:00:02.0 (capable of 4.000 Gb/s with 5 GT/s x1 link)
[    1.732027][    T1] pci 0000:00:02.0: ASPM: current common clock configuration is broken, reconfiguring
[    1.770785][    T1] PCI: bus2: Fast back to back transfers disabled
[    1.777069][    T1] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe01fffff]
[    1.784627][    T1] pci 0000:00:02.0: BAR 14: assigned [mem 0xe0200000-0xe03fffff]
[    1.792178][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0400000-0xe04007ff pref]
[    1.800072][    T1] pci 0000:00:02.0: BAR 6: assigned [mem 0xe0500000-0xe05007ff pref]
[    1.807963][    T1] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe00fffff 64bit pref]
[    1.816381][    T1] pci 0000:01:00.0: BAR 2: assigned [mem 0xe0100000-0xe01fffff 64bit pref]
[    1.824798][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    1.830444][    T1] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe01fffff]
[    1.837903][    T1] pci 0000:02:00.0: BAR 0: assigned [mem 0xe0200000-0xe02fffff 64bit pref]
[    1.846321][    T1] pci 0000:02:00.0: BAR 2: assigned [mem 0xe0300000-0xe03fffff 64bit pref]
[    1.854737][    T1] pci 0000:00:02.0: PCI bridge to [bus 02]
[    1.860381][    T1] pci 0000:00:02.0:   bridge window [mem 0xe0200000-0xe03fffff]
[    1.867895][    T1] pcieport 0000:00:01.0: enabling device (0140 -> 0142)
[    1.874727][    T1] pcieport 0000:00:02.0: enabling device (0140 -> 0142)
[    1.882023][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    1.940173][    T1] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    1.948460][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    2.010159][    T1] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    2.065774][    T1] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    2.074367][    T1] printk: console [ttyS0] disabled
[    2.099408][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 22, base_baud = 12500000) is a 16550A
[    2.109095][    T1] printk: console [ttyS0] enabled
[    2.109095][    T1] printk: console [ttyS0] enabled
[    2.118910][    T1] printk: bootconsole [earlycon0] disabled
[    2.118910][    T1] printk: bootconsole [earlycon0] disabled
[    2.131558][    T1] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    2.141381][    T1] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
[    2.151680][    T1] scsi host0: ahci-mvebu
[    2.156187][    T1] scsi host1: ahci-mvebu
[    2.160571][    T1] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 41
[    2.169232][    T1] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 41
[    2.178783][    T1] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xf1
[    2.185889][    T1] nand: AMD/Spansion S34ML01G2
[    2.190541][    T1] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    2.199207][    T1] Bad block table found at page 65472, version 0x01
[    2.206343][    T1] Bad block table found at page 65408, version 0x01
[    2.213189][    T1] 10 cmdlinepart partitions found on MTD device pxa3xx_nand-0
[    2.220543][    T1] Creating 10 MTD partitions on "pxa3xx_nand-0":
[    2.226756][    T1] 0x000000000000-0x000000200000 : "uboot"
[    2.233115][    T1] 0x000000200000-0x000000240000 : "u_env"
[    2.239392][    T1] 0x000000240000-0x000000280000 : "s_env"
[    2.245686][    T1] 0x000000900000-0x000000a00000 : "devinfo"
[    2.252152][    T1] 0x000000a00000-0x000003200000 : "kernel"
[    2.258572][    T1] 0x000001000000-0x000003200000 : "rootfs"
[    2.265003][    T1] 0x000003200000-0x000005a00000 : "alt_kernel"
[    2.271783][    T1] 0x000003800000-0x000005a00000 : "alt_rootfs"
[    2.278544][    T1] 0x000000a00000-0x000005a00000 : "ubifs"
[    2.285017][    T1] 0x000005a00000-0x000008000000 : "syscfg"
[    2.292375][    T1] libphy: Fixed MDIO Bus: probed
[    2.297646][    T1] libphy: orion_mdio_bus: probed
[    2.302922][    T1] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
[    2.312822][    T1] mvneta f1070000.ethernet eth0: Using hardware mac address c0:56:27:6d:20:a7
[    2.323241][    T1] mvneta f1034000.ethernet eth1: Using random mac address 32:a0:44:6a:29:19
[    2.332073][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.339349][    T1] ehci-pci: EHCI PCI platform driver
[    2.344570][    T1] ehci-orion: EHCI orion driver
[    2.349428][    T1] orion-ehci f1058000.usb: EHCI Host Controller
[    2.355577][    T1] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
[    2.363961][    T1] orion-ehci f1058000.usb: irq 38, io mem 0xf1058000
[    2.399696][    T1] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[    2.406479][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.01
[    2.415504][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.423478][    T1] usb usb1: Product: EHCI Host Controller
[    2.429080][    T1] usb usb1: Manufacturer: Linux 5.1.7-mvebu-tld-1 ehci_hcd
[    2.436173][    T1] usb usb1: SerialNumber: f1058000.usb
[    2.441857][    T1] hub 1-0:1.0: USB hub found
[    2.446346][    T1] hub 1-0:1.0: 1 port detected
[    2.451721][    T1] usbcore: registered new interface driver usblp
[    2.457982][    T1] usbcore: registered new interface driver usb-storage
[    2.464941][    T1] mousedev: PS/2 mouse device common for all mice
[    2.471589][    T1] i2c /dev entries driver
[    2.478370][    T1] orion_wdt: Initial timeout 171 sec
[    2.501142][ T1184] ata1: SATA link down (SStatus 0 SControl 300)
[    2.512209][    T1] marvell-cesa f1090000.crypto: CESA device successfully registered
[    2.520335][    T1] hidraw: raw HID events driver (C) Jiri Kosina
[    2.526800][    T1] usbcore: registered new interface driver usbhid
[    2.533145][    T1] usbhid: USB HID core driver
[    2.538038][    T1] drop_monitor: Initializing network drop monitor service
[    2.545269][    T1] IPv6: Loaded, but administratively disabled, reboot required to enable
[    2.553601][    T1] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.561441][    T1] NET: Registered protocol family 17
[    2.566704][    T1] 8021q: 802.1Q VLAN Support v1.8
[    2.571652][    T1] Key type dns_resolver registered
[    2.576824][    T1] ThumbEE CPU extension supported.
[    2.581840][    T1] Registering SWP/SWPB emulation handler
[    2.587844][    T1] registered taskstats version 1
[    2.592678][    T1] Loading compiled-in X.509 certificates
[    2.598238][    T1] zswap: loaded using pool lzo/zbud
[    2.614165][    T1] Key type big_key registered
[    2.623918][    T1] Key type encrypted registered
[    2.630455][    T5] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    2.636510][    T5] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 2
[    2.644841][    T5] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
[    2.654851][    T5] xhci-hcd f10f8000.usb3: irq 43, io mem 0xf10f8000
[    2.661539][    T5] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.01
[    2.670563][    T5] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.678523][    T5] usb usb2: Product: xHCI Host Controller
[    2.684159][    T5] usb usb2: Manufacturer: Linux 5.1.7-mvebu-tld-1 xhci-hcd
[    2.691256][    T5] usb usb2: SerialNumber: f10f8000.usb3
[    2.697045][    T5] hub 2-0:1.0: USB hub found
[    2.701554][    T5] hub 2-0:1.0: 1 port detected
[    2.706396][    T5] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    2.712458][    T5] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 3
[    2.720700][    T5] xhci-hcd f10f8000.usb3: Host supports USB 3.0  SuperSpeed
[    2.727915][    T5] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.736836][    T5] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.01
[    2.745857][    T5] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.753822][    T5] usb usb3: Product: xHCI Host Controller
[    2.759425][    T5] usb usb3: Manufacturer: Linux 5.1.7-mvebu-tld-1 xhci-hcd
[    2.766516][    T5] usb usb3: SerialNumber: f10f8000.usb3
[    2.772222][    T5] hub 3-0:1.0: USB hub found
[    2.776710][    T5] hub 3-0:1.0: 1 port detected
[    2.782163][    T1] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    2.789763][    T1] hctosys: unable to open rtc device (rtc0)
[   12.189700][ T1188] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   12.196917][ T1188] ata2.15: Port Multiplier 1.1, 0x197b:0x2352 r0, 2 ports, feat 0x0/0x0
[   12.205153][ T1188] ata2.15: Asynchronous notification not supported, hotplug won't work on fan-out ports. Use warm-plug instead.
[   12.219855][ T1188] ahci-mvebu f10a8000.sata: FBS is enabled
[   12.225682][ T1188] ata2.00: hard resetting link
[   12.562130][ T1188] ata2.00: SATA link down (SStatus 113 SControl 113)
[   12.568733][ T1188] ata2.01: hard resetting link
[   12.902113][ T1188] ata2.01: SATA link down (SStatus 123 SControl 123)
[   12.909421][ T1188] ata2.00: ATA-8: TOSHIBA DT01ACA100, MS2OA750, max UDMA/133
[   12.916695][ T1188] ata2.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 32)
[   12.924769][ T1188] ata2.00: configured for UDMA/133
[   12.930527][ T1188] ata2.01: ATA-8: Hitachi HDT721010SLA360, ST6OA31B, max UDMA/133
[   12.938225][ T1188] ata2.01: 1953525168 sectors, multi 0: LBA48 NCQ (depth 32)
[   12.946430][ T1188] ata2.01: configured for UDMA/133
[   12.951480][ T1188] ata2: EH complete
[   12.965501][  T240] scsi 1:0:0:0: Direct-Access     ATA      TOSHIBA DT01ACA1 A750 PQ: 0 ANSI: 5
[   12.974936][    T7] sd 1:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[   12.983832][  T240] scsi 1:1:0:0: Direct-Access     ATA      Hitachi HDT72101 A31B PQ: 0 ANSI: 5
[   12.992693][    T7] sd 1:0:0:0: [sda] 4096-byte physical blocks
[   12.998678][    T7] sd 1:0:0:0: [sda] Write Protect is off
[   13.004525][   T20] sd 1:1:0:0: [sdb] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[   13.013020][    T7] sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   13.022857][   T20] sd 1:1:0:0: [sdb] Write Protect is off
[   13.028422][   T20] sd 1:1:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   13.068467][   T20]  sdb: sdb1 sdb2 sdb3
[   13.073479][   T20] sd 1:1:0:0: [sdb] Attached SCSI removable disk
[   13.076905][    T7]  sda: sda1 sda2 sda3
[   13.084589][    T7] sd 1:0:0:0: [sda] Attached SCSI removable disk
[   13.092439][    T1] Freeing unused kernel memory: 1024K
[   13.140102][    T1] Checked W+X mappings: passed, no W+X pages found
[   13.146493][    T1] Run /init as init process
Loading, please wait...
starting version 232
[   13.196807][ T1541] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[   13.200667][ T1542] random: udevadm: uninitialized urandom read (16 bytes read)
[   13.205047][ T1541] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[   13.473050][ T1550] mv88e6085 f1072004.mdio-mii:00: switch 0x1760 detected: Marvell 88E6176, revision 1
[   13.649606][ T1550] libphy: mv88e6xxx SMI: probed
[   13.858477][ T1550] mv88e6085 f1072004.mdio-mii:00 lan4 (uninitialized): PHY [mv88e6xxx-0:00] driver [Marvell 88E1540]
[   13.873141][ T1550] mv88e6085 f1072004.mdio-mii:00 lan3 (uninitialized): PHY [mv88e6xxx-0:01] driver [Marvell 88E1540]
[   13.887204][ T1550] mv88e6085 f1072004.mdio-mii:00 lan2 (uninitialized): PHY [mv88e6xxx-0:02] driver [Marvell 88E1540]
[   13.901575][ T1550] mv88e6085 f1072004.mdio-mii:00 lan1 (uninitialized): PHY [mv88e6xxx-0:03] driver [Marvell 88E1540]
[   13.915661][ T1550] mv88e6085 f1072004.mdio-mii:00 wan (uninitialized): PHY [mv88e6xxx-0:04] driver [Marvell 88E1540]
[   13.931312][ T1550] DSA: tree 0 setup
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.29.2
[   24.100650][    C0] random: fast init done
[/sbin/fsck.ext4 (1) -- /dev/sdb1] fsck.ext4 -a -C0 /dev/sdb1
WRT: clean, 48912/393216 files, 673594/1572864 blocks
done.
[   24.167856][ T1594] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[ ok ] Setting hostname to 'trunks'...done.
[....] Starting the hotplug events dispatcher: systemd-udevdstarting version 232
. ok
[ ok ] Synthesizing the initial hotplug events...done.
[....] Waiting for /dev to be fully populated...[   25.796492][ T1806] sd 1:0:0:0: Attached scsi generic sg0 type 0
[   25.817533][ T1806] sd 1:1:0:0: Attached scsi generic sg1 type 0
[   25.972935][ T1809] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   25.998195][ T1809] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   26.191613][ T1805] mwlwifi: no symbol version for module_layout
[   26.198828][ T1809] mwlwifi: loading out-of-tree module taints kernel.
[   26.206611][ T1805] mwlwifi: loading out-of-tree module taints kernel.
[   26.217216][ T1809] <<Marvell Mac80211 Wireless PCIE Network Driver version 10.3.8.0-20181210>>
[   26.503108][ T1957] md0: detected capacity change from 0 to 1986179104768
[   27.308055][ T1809] ieee80211 phy0: device node: pcie@1,0
[   27.332331][ T1809] ieee80211 phy0: firmware version: 0x702091a
[   27.356348][ T1809] ieee80211 phy0: firmware region code: 0
[   27.434608][ T1809] ieee80211 phy0: 2G enabled, 5G enabled
[   27.440163][ T1809] ieee80211 phy0: 4 TX antennas, 4 RX antennas
[   28.429721][ T1809] ieee80211 phy1: device node: pcie@2,0
[   28.453744][ T1809] ieee80211 phy1: firmware version: 0x702091a
[   28.477772][ T1809] ieee80211 phy1: firmware region code: 0
[   28.516780][ T1809] ieee80211 phy1: 2G enabled, 5G enabled
[   28.522334][ T1809] ieee80211 phy1: 4 TX antennas, 4 RX antennas
[   28.559154][ T1801] mwlwifi 0000:01:00.0 wlp1s0: renamed from wlan0
[   28.599908][ T1809] mwlwifi 0000:02:00.0 wlp2s0: renamed from wlan1
done.
[....] Activating swap:swapon: [   28.933242][ T2146] Adding 524284k swap on /dev/sdb2.  Priority:-2 extents:1 across:524284k FS
/dev/sdb2: found signature [page[   28.943959][ T2146] Adding 524284k swap on /dev/sda2.  Priority:-3 extents:1 across:524284k FS
size=4096, signature=swap]
swapon: /dev/sdb2: pagesize=4096, swapsize=536870912, devsize=536870912
swapon /dev/sdb2
swapon: /dev/sda2: found signature [pagesize=4096, signature=swap]
swapon: /dev/sda2: pagesize=4096, swapsize=536870912, devsize=536870912
swapon /dev/sda2
. ok
[   29.031668][ T2170] EXT4-fs (sdb1): re-mounted. Opts: errors=remount-ro
[....] Will now activate lvm and md swap:swapon: /dev/sdb2: already active -- ignored
swapon: /dev/sda2: already active -- ignored
done.
[info] Will now check all file systems.
fsck from util-linux 2.29.2
Checking all file systems.
LABEL=WRT is mounted
UUID="61d3400b-2508-4e9c-8591-c67cefbdc418" is not mounted
[/sbi[   29.451382][    C1] random: crng init done
n/fsck.jfs (1) -[   29.456637][    C1] random: 7 urandom warning(s) missed due to ratelimiting
- /exports] fsck.jfs -y /dev/md0
fsck.jfs version 1.1.15, 04-Mar-2011
processing started: 12/31/1969 21:00:29
Using default parameter: -p
The current device is:  /dev/md0
Block size in bytes:  4096
Filesystem size in blocks:  484907008
**Phase 0 - Replay Journal Log
Filesystem is clean.
[....] Done checking file systems. A log is being saved in /var/log/fsck/checkfs[ ok hat location is writable..
[info] Loading kernel module mv88e6xxx.
[info] Loading kernel module tmp421.
[ ok ] Cleaning up temporary files...[....] Cleaning /tmp...done.
[ ok .
[   30.034837][ T2483] JFS: nTxBlock = 3953, nTxLock = 31630
[ ok ] Will now mount local filesystems:.
[....] Will now activate swapfile swap:swapon: /dev/sdb2: already active -- ignored
swapon: /dev/sda2: already active -- ignored
done.
[ ok ] Checking minimum space in /tmp...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables...done.
[ ok ] Initializing random number generator...done.
[   30.714189][ T2732] mvneta f1070000.ethernet eth0: configuring for fixed/rgmii-id link mode
[   30.722710][ T1453] mvneta f1070000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   30.796594][ T2771] mvneta f1034000.ethernet eth1: configuring for fixed/sgmii link mode
[   30.804882][   T23] mvneta f1034000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off
[   31.015409][ T2816] device eth1 entered promiscuous mode
[   31.020893][ T2816] mv88e6085 f1072004.mdio-mii:00 lan1: configuring for phy/gmii link mode
[   31.034318][ T2816] 8021q: adding VLAN 0 to HW filter on device lan1
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/lan1/c0:56:27:6d:20:a7
Sending on   LPF/lan1/c0:56:27:6d:20:a7
Sending on   Socket/fallback
DHCPREQUEST of 192.168.1.112 on lan1 to 255.255.255.255 port 67
[   34.573898][ T1453] mv88e6085 f1072004.mdio-mii:00 lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[   36.105453][ T2873] mv88e6085 f1072004.mdio-mii:00 lan2: configuring for phy/gmii link mode
[   36.120988][ T2873] 8021q: adding VLAN 0 to HW filter on device lan2
[   36.192477][ T2911] mv88e6085 f1072004.mdio-mii:00 lan3: configuring for phy/gmii link mode
[   36.207990][ T2911] 8021q: adding VLAN 0 to HW filter on device lan3
[   36.280410][ T2949] mv88e6085 f1072004.mdio-mii:00 lan4: configuring for phy/gmii link mode
[   36.295879][ T2949] 8021q: adding VLAN 0 to HW filter on device lan4
[   36.367425][ T2987] mv88e6085 f1072004.mdio-mii:00 wan: configuring for phy/gmii link mode
[   36.382259][ T2987] 8021q: adding VLAN 0 to HW filter on device wan
DHCPREQUEST of 192.168.1.112 on lan1 to 255.255.255.255 port 67
DHCPACK of 192.168.1.112 from 192.168.1.2
bound to 192.168.1.112 -- renewal in 10800 seconds.
done.
[ ok ] Starting RPC port mapper daemon: rpcbind.
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Cleaning up temporary files....
[ ok ] Setting up ALSA...done (none loaded).
[ ok ] Setting sensors limits...done.
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[ ok ] Starting Squeezebox client: squeezelite.
[ ok ] Starting enhanced syslogd: rsyslogd[ T3301] NFSD: starting 90-second grace period (net f0000039)
[?25h.
[ ok ] Exporting directories for NFS kernel daemon....
[....] Starting NFS kernel daemon: nfsd mountdrpc.mountd: svc_tli_create: could not open connection for udp6
rpc.mountd: svc_tli_create: could not open connection for tcp6
rpc.mountd: svc_tli_create: could not open connection for udp6
rpc.mountd: svc_tli_create: could not open connection for tcp6
rpc.mountd: svc_tli_create: could not open connection for udp6
rpc.mountd: svc_tli_create: could not open connection for tcp6
. ok
[ ok ] Starting MD monitoring service: mdadm --monitor.
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[ ok ] Starting automount....
[ ok ] Starting periodic command scheduler: cron.
[ ok ] Starting S.M.A.R.T. daemon: smartd.
[ ok ] Starting NTP server: ntpd.
[ ok ] Running local boot scripts (/etc/rc.local).

Debian GNU/Linux 9 trunks ttyS0

trunks login:


$ cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00200000 00020000 "uboot"
mtd1: 00040000 00020000 "u_env"
mtd2: 00040000 00020000 "s_env"
mtd3: 00100000 00020000 "devinfo"
mtd4: 02800000 00020000 "kernel"
mtd5: 02200000 00020000 "rootfs"
mtd6: 02800000 00020000 "alt_kernel"
mtd7: 02200000 00020000 "alt_rootfs"
mtd8: 05000000 00020000 "ubifs"
mtd9: 02600000 00020000 "syscfg"

$ dmesg |grep rtc
[Sun Aug 25 12:49:00 2019] hctosys: unable to open rtc device (rtc0)

$ ls -l /sys/class/leds/
total 0
lrwxrwxrwx 1 root root 0 Aug 25 12:50 caiman:white:power -> ../../devices/platform/gpio-leds/leds/caiman:white:power
lrwxrwxrwx 1 root root 0 Aug 25 12:50 caiman:white:sata -> ../../devices/platform/gpio-leds/leds/caiman:white:sata


$ free
              total        used        free      shared  buff/cache   available
Mem:           506M        101M        296M        241K        108M        353M
Swap:          1.0G          0B        1.0G

Now I can see the full mtd devices, but no RTC.
For the moment I'll keep using "my.dtb" definition. Let me know if you want me to test something else. Happy to do it.

Best
fsonnlei

Re: Debian Installation on Thecus N2350 (Marvell Armada 385)

$
0
0
FYI,

For the Thecus N2350, this is the envs adjustment to boot with kernel linux-5.2.9-mvebu-tld-1

load_image=echo loading uImage ...; ext2load $bootdev $device $load_image_addr /boot/uImage
bootcmd_exec=echo Booting from $bootdev $device …; setenv fdt_skip_update yes; setenv initrd_high 0xffffffff; if run load_image; then if run load_initrd; then bootm $load_image_addr $load_initrd_addr; else bootm $load_image_addr; fi; fi

The uImage needs to be one with DTB embbeded in it.
cd /boot
cp -a zImage-5.2.9-mvebu-tld-1 zImage.fdt
cat dts/armada-385-thecus-n2350.dtb >> zImage.fdt 
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-5.2.9-mvebu-tld-1 -d zImage.fdt uImage

Re: Linux Kernel 5.2.9 Kirkwood package and Debian rootfs

$
0
0
Debian buster rootfs Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2 has been uploaded. Please see 1st post for download link.

Re: Debian on wrt1200ac

$
0
0
I'm confused! RTC apparently is working as your post above said.

# uname -a
Linux roshi 5.1.7-mvebu-tld-1 #1 SMP PREEMPT Sat Jun 8 20:04:26 PDT 2019 armv7l GNU/Linux


# dmesg |grep fdt
[Sat Aug  3 14:19:54 2019] OF: fdt: Machine model: Linksys WRT1200AC

# free
              total        used        free      shared  buff/cache   available
Mem:           506M         44M        392M        237K         68M        412M


# dmesg |grep -i rtc
[Sat Aug  3 14:19:56 2019] armada38x-rtc f10a3800.rtc: registered as rtc0
[Sat Aug  3 14:19:56 2019] armada38x-rtc f10a3800.rtc: setting system clock to 2019-08-03T18:18:57 UTC (1564856337)

Re: [tutorial] Making a RAID1 rootfs

$
0
0
Pogoplug-pro v3, Just a quick note pertaining to the raid configuration on my machine, I failed to label the two identical looking raid 5 tb usb drives, for some reason I must have plugged then into the wrong slots and it made them both show empty, I did check them on my ubuntu machine and found them not empty and then labelled each one to the slots that I were correct, I do not know if this was my fault or some anomaly but everything was working when I reinserted however I had to do some steps to get the second raid drive activated again. hope this helps if someone else runs into this issue!

first I had to find out what was working and not working,

 
cat /proc/mdstat

result: Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] 
md0 : active raid1 sdc1[0]
      4883638464 blocks super 1.2 [2/1] [U_]
      bitmap: 3/37 pages [12KB], 65536KB chunk


sudo mdadm --detail /dev/md0

result:
/dev/md0:
          Version : 1.2
     Creation Time : Tue May 22 03:57:15 2018
        Raid Level : raid1
        Array Size : 4883638464 (4657.40 GiB 5000.85 GB)
     Used Dev Size : 4883638464 (4657.40 GiB 5000.85 GB)
      Raid Devices : 2
     Total Devices : 1
       Persistence : Superblock is persistent

     Intent Bitmap : Internal

       Update Time : Sun Aug 25 14:02:05 2019
             State : clean, degraded 
    Active Devices : 1
   Working Devices : 1
    Failed Devices : 0
     Spare Devices : 0

Consistency Policy : unknown

              Name : XXXX:0  (local to host XXXX)
              UUID : be9b73d1:54b0c2db:8ab52103:5ecedc50
            Events : 185305

    Number   Major   Minor   RaidDevice State
       0       8       33        0      active sync   /dev/sdc1
       -       0        0        1      removed

next I had to activate other drive sdd1 as I had somehow deactivated it.



sudo mdadm --manage /dev/md0 --add /dev/sdd1

Result: mdadm: re-added /dev/sdd1


then I verified:


sudo mdadm --detail /dev/md0

result :
/dev/md0:
 
          Version : 1.2
     Creation Time : Tue May 22 03:57:15 2018
        Raid Level : raid1
        Array Size : 4883638464 (4657.40 GiB 5000.85 GB)
     Used Dev Size : 4883638464 (4657.40 GiB 5000.85 GB)
      Raid Devices : 2
     Total Devices : 2
       Persistence : Superblock is persistent

     Intent Bitmap : Internal

       Update Time : Sun Aug 25 19:56:06 2019
             State : clean, degraded, recovering 
    Active Devices : 1
   Working Devices : 2
    Failed Devices : 0
     Spare Devices : 1

Consistency Policy : unknown

    Rebuild Status : 22% complete

              Name : XXXX:0  (local to host XXXX)
              UUID : be9b73d1:54b0c2db:8ab52103:5ecedc50
            Events : 185308

    Number   Major   Minor   RaidDevice State
       0       8       33        0      active sync   /dev/sdc1
       1       8       49        1      spare rebuilding   /dev/sdd1

please note it reads spare rebuilding,then I finished with the following command:


sudo mdadm --detail /dev/md0

result:
/dev/md0:
           Version : 1.2
     Creation Time : Tue May 22 03:57:15 2018
        Raid Level : raid1
        Array Size : 4883638464 (4657.40 GiB 5000.85 GB)
     Used Dev Size : 4883638464 (4657.40 GiB 5000.85 GB)
      Raid Devices : 2
     Total Devices : 2
       Persistence : Superblock is persistent

     Intent Bitmap : Internal

       Update Time : Sun Aug 25 19:56:20 2019
             State : clean 
    Active Devices : 2
   Working Devices : 2
    Failed Devices : 0
     Spare Devices : 0

Consistency Policy : unknown

              Name : XXXX:0  (local to host XXXX)
              UUID : be9b73d1:54b0c2db:8ab52103:5ecedc50
            Events : 185314

    Number   Major   Minor   RaidDevice State
       0       8       33        0      active sync   /dev/sdc1
       1       8       49        1      active sync   /dev/sdd1


so now everything is working correctly!
Viewing all 26667 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>