Welcome! Log In Create A New Profile

Advanced

Debian on Chip PC LXD8941

Posted by Koen 
Debian on Chip PC LXD8941
September 20, 2018 02:43PM
Hi,

after buying a few thin clients off ebay this Chip PC LXD8941 came up in the ebay recommendations. Since it was only £10 + £2.50 shipping and the specs are very similar to the Dell Wyse T50 and the HP T5335Z I couldn't resist. It is a nice compact unit with 1 Gbps ethernet, 6 USB ports, micro SD card slot, DVI connector, power and reset button. I'm not sure how common these are but since it is so similar to the other two units I already own I have good hope to get Debian working (with a bit of help from the experts on the forum).

Inside there is both a 4 pin and a 6 pin header. The 4 pin is the UART connection. With the power button towards you and the DVI connection away from you the connections are as follows: GND, TX, RX, VCC (from left to right).

It uses uboot as bootloader:

         _   _     ____              _
        | | | |   | __ )  ___   ___ | |_ 
        | | | |___|  _ \ / _ \ / _ \| __| 
        | |_| |___| |_) | (_) | (_) | |_ 
         \___/    |____/ \___/ \___/ \__| 

 ** LOADER **


U-Boot 2009.08-svn7881 (Jan 23 2013 - 13:55:26) version: dove-5.3.4

BootROM:
       Version on chip: 2.33
       Status: OK
       Retries #: 0
Board: RD-88AP510-Avengers
SoC:   MV88F510 Rev 7
CPU:   ??? (0x0c08) (Rev 1)
       CPU @ 933Mhz, L2 @ 466Mhz
       DDR3 @ 466Mhz, TClock @ 166Mhz
PEX 0: interface detected no Link.
PEX 1: interface detected no Link.
Write Leveling Results:
       CS0, Lane: 0, value: 2
       CS0, Lane: 1, value: 5
       CS0, Lane: 2, value: 1
       CS0, Lane: 3, value: 1
DRAM:   1 GB
       CS 0: base 0x00000000 size 512 MB
       CS 1: base 0x20000000 size 512 MB
       Addresses 38M - 0M are saved for the U-Boot usage.
SF: Detected MX25L1605D with page size 256, total 2097152 bytes
***   env_relocate_spec ****
*** Warning    environment  crc c6db905b  c6db905b fffc.****
Warning: clock source is too slow.Try smaller resolution.

Streaming disabled 
L2 Cache Prefetch disabled
L2 Cache ECC disabled
USB 0: Host Mode
USB 1: Host Mode
Setting VPU power ON.
Setting GPU power ON.
PEX 0: interface detected no Link.
PEX 1: interface detected no Link.
MMC:   MV_SDHCI: 0, MV_SDHCI: 1
NORMAL MODE detected
Boot config is valid
LCD config is invalid
Using defaults
Try to load image :  0x02f00000, /tffsb 
Loading file "/tffsb" from mmc device 0:2 (mmcda2)
787508 bytes read
Net:   egiga0 [PRIME]
Hit any key to stop autoboot:  0 
MIC>>

The following commands are available in uboot:

MIC>> ?
?       - alias for 'help'
SatR    - SatR - sample at reset sub-system, relevent for DB only

arp     - arp   - send ARP_REQUEST to network host

audioTest- audioTest - Test audio playback

autoscr - DEPRECATED - use "source" command instead
base    - print or set address offset
bdinfo  - print Board Info structure
bmp     - manipulate BMP image data
boot    - boot default, i.e., run 'bootcmd'
bootd   - boot default, i.e., run 'bootcmd'
bootelf - Boot from an ELF image in memory
bootext2- bootext2    dev:boot_part1,boot_part2 addr boot_image linux_dev_name 

bootm   - boot application image from memory
bootp   - boot image via network using BOOTP/TFTP protocol
bootvx  - Boot vxWorks from an ELF image
bubt    - bubt  - Burn an image on the Boot SPI Flash.

bubt2   - bubt2 - Burn the redundant image on the Boot SPI Flash.

chpart  - change active partition
cls     - clear screen
cmp     - memory compare
cmpm    - cmpm  - Compare Memory

coninfo - print console devices and information
cp      - memory copy
cpumap  - cpumap - Display CPU memory mapping settings.

crc32   - checksum calculation
date    - get/set/reset date & time
dclk    - dclk  - Display the MV device CLKs.

detect_mode- detect_mode - detect key hold

dhcp    - boot image via network using DHCP/TFTP protocol
diskboot- diskboot- boot from IDE device

dma     - dma   - Perform DMA using the XOR engine

echo    - echo args to console
eeprom  - EEPROM sub-system
erase   - erase FLASH memory
ext2load- load binary file from a Ext2 filesystem
ext2ls  - list files in a directory (default /)
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls   - list files in a directory (default /)
fi      - fi    - Find value in the memory.

flinfo  - print FLASH memory information
fsinfo  - print information about filesystems
fsload  - load binary file from a filesystem image
g       - g     - start application at cached address 'addr'(default addr 0x40000)

go      - start application at address 'addr'
gpp     - gpp - blink gpp

help    - print online help
i2c     - I2C sub-system
ide     - ide     - IDE sub-system

iminfo  - print header information for application image
imls    - list all images found in flash
imxtract- extract a part of a multi-image
ir      - ir    - reading and changing MV internal register values.

itest   - return true/false on integer compare
lcd     - lcd - LCD sub-system

loadb   - load binary file over serial line (kermit mode)
loads   - load S-Record file over serial line
loady   - load binary file over serial line (ymodem mode)
loop    - infinite loop on address range
ls      - list files in a directory (default /)
map     - map   - Diasplay address decode windows

md      - memory display
me      - me    - PCI master enable

mm      - memory modify (auto-incrementing address)
mmc     - MMC sub system
mmcinfo - mmcinfo <dev num>-- display MMC info

mp      - mp    - map PCI BAR

mtdparts- define flash/nand partitions
mtest   - simple RAM read/write test
mw      - memory write (fill)
netdump - netdump - dump network packets

nfs     - boot image via network using NFS protocol
nm      - memory modify (constant address)
pci     - list and access PCI Configuration Space
pciePhyRead- phyRead    - Read PCI-E Phy register

pciePhyWrite- pciePhyWrite      - Write PCI-E Phy register

pdma    - pdma  - Perform PDMA

phyRead - phyRead       - Read Phy register

phyWrite- phyWrite      - Write Phy register

ping    - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
protect - enable or disable FLASH write protection
rarpboot- boot image via network using RARP/TFTP protocol
readcfg - readcfg - read config

reset   - Perform RESET of the CPU
resetenv- resetenv      - earse environment sector to reset all variables to default.

run     - run commands in an environment variable
saveenv - save environment variables to persistent storage
se      - se    - PCI Slave enable

setenv  - set environment variables
sf      - SPI flash sub-system
sg      - sg    - scanning the PHYs status

sleep   - delay execution for some time
source  - run script from memory
sp      - sp    - Scan PCI bus.

sspi    - SPI utility commands
temp    - temp  - Display the device temprature.

tftpboot- boot image via network using TFTP protocol
ts_report- ts_report    - report touch screen cooridate

ts_test - ts_test       - test touch screen

ubi     - ubi commands
ubifsload- load file from an UBIFS filesystem
ubifsls - list files in a directory
ubifsmount- mount UBIFS volume
usb     - USB sub-system
usb_to_mmc- usb_to_mmc - copy USB to MMC

usbboot - boot from USB device
version - print monitor version
volt    - volt  - Display the cpu / core voltage.

writecfg- writecfg - write config

MIC>>

board info:

MIC>> bdinfo
arch_number = 0x000006FD
env_t       = 0x00000000
boot_params = 0x00000100
DRAM bank   = 0x00000000
-> start    = 0x00000000
-> size     = 0x20000000
DRAM bank   = 0x00000001
-> start    = 0x20000000
-> size     = 0x20000000
DRAM bank   = 0x00000002
-> start    = 0x00000000
-> size     = 0x00000000
DRAM bank   = 0x00000003
-> start    = 0x00000000
-> size     = 0x00000000
ethaddr     = 00:05:35:09:92:9A
ip_addr     = 192.168.9.96
baudrate    = 115200 bps
MIC>>

uboot environment variables

MIC>> printenv 
bootdelay=0
baudrate=115200
loads_echo=0
in_mfg=no
ub_mfgphase=0000000
mb_sn=00000000
mtdids=nand0=dove-mtd
arcNumber=1789
CASset=min
MALLOC_len=5
ethprime=egiga0
bootargs_root=root=/dev/nfs rw
bootargs_end=:::dove:eth0:none
image_name=uImage
sataargs=root=/dev/sda1 rw init=/init video=dovefb:lcd0:1024x768-24@60,lcd1:1024x768-16@60 clcd.lcd0_enable=1 clcd.lcd1_enable=1
sataboot=ide reset;ext2load ide 0:1 0x2000000 /boot/uImage; setenv bootargs ${mtdparts}  ${sataargs};  bootm 0x2000000
usbboot=usb start; sleep 3; ext2load usb 0:1 0x2000000 /boot/uImage; run usbargs;bootm 0x2000000
disaMvPnp=no
usb0Mode=host
usb1Mode=host
yuk_ethaddr=00:00:00:EE:51:81
autoload=no
lcd1_enable=1
ethact=egiga0
rootpath=/work/armel-dev
lcd0_enable=1
nfsboot=tftpboot 0x2000000 uImage521g; setenv bootargs $(console) $(bootargs_root) nfsroot=$(serverip):$(rootpath) ip=dhcp usb0Mode=$(usb0Mode) usb1Mode=$(usb1Mode) video=dovefb:lcd0:$(lcd0_params),lcd1:$(lcd1_params) clcd.lcd0_enable=$(lcd0_enable) clcd.lcd1_enable=$(lcd1_enable); bootm 0x2000000
load_addr=0x2000000
bootcmd_prev=ide reset; ext2load ide 0:2 0x3000000 tffsg; setenv bootargs $(console) ip=dhcp usb0Mode=$(usb0Mode) usb1Mode=$(usb1Mode) video=dovefb:lcd0:$(lcd0_params),lcd1:$(lcd1_params) clcd.lcd0_enable=1 clcd.lcd1_enable=1; bootm 0x3000000
gatewayip=192.168.9.1
netmask=255.255.255.0
ipaddr=192.168.9.96
serverip=192.168.9.90
bootargs=console=tty0,115200 mtdparts=spi0.0:768k(u-boot),256k(uboot_env),768k(u-boot2),-(unused) rootdelay=6 cpufreq_disable pm_disable usb0Mode=host usb1Mode=host video=dovefb:lcd0:1024x768-24@60,lcd1:1024x768-24@60 clcd.lcd0_enable=1 clcd.lcd1_enable=1
boottest=ide reset; ext2load ide 0:2 0x3000000 uImage; setenv bootargs $(console) $(mtdparts) ip=dhcp usb0Mode=$(usb0Mode) usb1Mode=$(usb1Mode) video=dovefb:lcd0:$(lcd0_params),lcd1:$(lcd1_params) clcd.lcd0_enable=1 clcd.lcd1_enable=1; bootm 0x3000000
bootcmd2=usb reset; ext2load usb 0:2 0x3000000 uImage; setenv bootargs $(console) mtdparts=spi0.0:768k(u-boot),256k(uboot_env),768k(u-boot2),-(unused) rootdelay=6 cpufreq_disable pm_disable usb0Mode=$(usb0Mode) usb1Mode=$(usb1Mode) video=dovefb:lcd0:$(lcd0_params),lcd1:$(lcd1_params) clcd.lcd0_enable=1 clcd.lcd1_enable=1; bootm 0x3000000
lcd0_params=1024x768-24@60-edid
lcd1_params=1024x768-24@60-edid
bootide=ide reset; ext2load ide 0:2 0x3000000 uImage; setenv bootargs $(console) $(mtdparts) cpufreq_disable lcdseamless pm_disable usb0Mode=$(usb0Mode) usb1Mode=$(usb1Mode) video=dovefb:lcd0:$(lcd0_params),lcd1:$(lcd1_params) clcd.lcd0_enable=1 clcd.lcd1_enable=1; bootm 0x3000000
bootmmc=mmcinfo 0; ext2load mmc 0:2 0x3000000 tffsg; setenv bootargs $(console) mtdparts=spi0.0:768k(u-boot),256k(uboot_env),768k(u-boot2),-(unused) cpufreq_disable pm_disable usb0Mode=$(usb0Mode) usb1Mode=$(usb1Mode) video=dovefb:lcd0:$(lcd0_params),lcd1:$(lcd1_params) clcd.lcd0_enable=1 clcd.lcd1_enable=1; bootm 0x3000000
console=console=ttyS0,115200
mtdparts=mtdparts=spi0.0:768k(uboot),256k(uboot_env),768k(uboot2),-(kernel)
rootinit=root=initramfs init=/linuxrc
lcdargs=vmalloc=384MB video=dovefb:lcd0:1024x768-24@60,lcd1:1024x768-24@60 clcd.lcd0_enable=1 clcd.lcd1_enable=1
usbargs=usb0Mode=host usb1Mode=host useNandHal=ganged
bootusb=usb reset; ext2load usb 0:2 0x3000000 tffsg; setenv bootargs console=ttyS0,115200 mtdparts=spi0.0:768k(uboot),256k(uboot_env),768k(uboot2),-(kernel) root=initramfs init=/linuxrc vmalloc=384MB video=dovefb:lcd0:1024x768-24@60,lcd1:1024x768-24@60 clcd.lcd0_enable=1 clcd.lcd1_enable=1 usb0Mode=host usb1Mode=host useNandHal=ganged pm_disable cpufreq_disable; bootm 0x3000000
fileaddr=3000000
ethaddr=00:05:35:09:92:9A
bootcmd=run bootmmc
stdin=serial
stdout=lcd
stderr=lcd
passDramInitTag=yes
mainlineLinux=yes
enaMonExt=no
pexMode=RC
disL2Cache=no
disL2Ecc=no
sata_dma_mode=yes
enaL2ExtraFeatures=yes
enaCpuStream=no
enaVpuPower=yes
enaGpuPower=yes
filesize=C0434

Environment size: 3887/65532 bytes
MIC>>

bootlog:

MIC>> boot
Device: MV_SDHCI
Manufacturer ID: 45
OEM: 100
Name: SEM02 
Tran Speed: 25000000
Rd Block Len: 512
MMC version 4.0
High Capacity: No
Capacity: 1958739968
Bus Width: 4-bit
Loading file "tffsg" from mmc device 0:2 (mmcda2)
14119164 bytes read
## Booting kernel from Legacy Image at 03000000 ...
   Image Name:   Linux-2.6.32.9-dove-5.4.2
   Created:      2014-01-14   8:36:58 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    14119100 Bytes = 13.5 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

EUGENE lcd_disable
EUGENE lcd_panel_disable
Uncompressing Linux............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ done, booting the kernel.
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Linux version 2.6.32.9-dove-5.4.2 (root@pavel-ubuntu) (gcc version 4.2.0 20070413 (prerelease) (CodeSourcery 2007q1-21. Marvell 2009q4-9 20091116)) #194 PREEMPT Tue Jan 14 10:36:52 IST 2014 ()
[    0.000000] CPU: ARMv7 Processor [413fc081] revision 1 (ARMv7), cr=10c53c7f
[    0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[    0.000000] Machine: Marvell MV88F6781-RD Avengers MID Board
[    0.000000] Ignoring unrecognised tag 0x54410008
[    0.000000] Marvell Dove DRAM parameters found (version = 0x09080018)
[    0.000000] [ATAG_BOOTARGS] 1413629523, 1, 1
[    0.000000] [ATAG_HARDWAREARGS] 933, 466, 1024, 1868
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] 
[    0.000000] 
[    0.000000] 
[    0.000000] 
[    0.000000]  wait table c19c7020
[    0.000000] 
[    0.000000] 
[    0.000000] 
[    0.000000] 
[    0.000000]  wait table c19c9040
[    0.000000] Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 227584
[    0.000000] Kernel command line: console=ttyS0,115200 mtdparts=spi0.0:768k(u-boot),256k(uboot_env),768k(u-boot2),-(unused) cpufreq_disable pm_disable usb0Mode=host usb1Mode=host video=dovefb:lcd0:1024x768-24@60-edid,lcd1:1024x768-24@60-edid clcd.lcd0_enable=1 clcd.lcd1_enable=1
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] allocated 4587520 bytes of page_cgroup
[    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[    0.000000] Memory: 512MB 344MB 40MB = 896MB total
[    0.000000] Memory: 885612KB available (6908K code, 734K data, 10312K init, 40960K highmem)
[    0.000000] SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:135
[    0.000000] Console: colour dummy device 80x30
[   25.769887] Calibrating delay loop... 930.61 BogoMIPS (lpj=4653056)
[   26.019878] Security Framework initialized
[   26.019914] AppArmor: AppArmor initialized
[   26.019939] Mount-cache hash table entries: 512
[   26.020186] Initializing cgroup subsys ns
[   26.020201] Initializing cgroup subsys cpuacct
[   26.020210] Initializing cgroup subsys memory
[   26.020232] Initializing cgroup subsys freezer
[   26.020260] CPU: Testing write buffer coherency: ok
[   26.020887] devtmpfs: initialized
[   26.022698] NET: Registered protocol family 16
[   26.023186] Dove MV88AP510-Rev-Unsupported SoC, TCLK = 167MHz
[   26.023206] DOVE_MC @ 0x280 is 010E0202
[   26.023214] PLiao: DOVE_MC @ 0x510 is 010E0101
[   26.023222] Tauros2: Enabling L2 cache.
[   26.023230] Tauros2: L2 cache support initialised in ARMv7 mode.
[   26.023243] Setting gpu clock to 500000000 (divider: 4)
[   26.023256] Setting axi clock to 333000000 (divider: 5)
[   26.023267] Maevell Init revision 7.
[   26.023705] Initializing USB0 Host
[   26.023745] Initializing USB1 Host
[   26.024119] LCD0 doesn't use PLL.
[   26.024126] LCD1 uses PLL.
[   26.024133] Turn on PLL accurate mode.
[   26.024648] Dove PCIe port 0: link down, ignoring
[   26.024659] Dove PCIe port 1: link down, ignoring
[   26.029205] bio: create slab <bio-0> at 0
[   26.029462] vgaarb: loaded
[   26.029737] SCSI subsystem initialized
[   26.030133] usbcore: registered new interface driver usbfs
[   26.030208] usbcore: registered new interface driver hub
[   26.030306] usbcore: registered new device driver usb
[   26.030814] NetLabel: Initializing
[   26.030823] NetLabel:  domain hash size = 128
[   26.030830] NetLabel:  protocols = UNLABELED CIPSOv4
[   26.030871] NetLabel:  unlabeled traffic allowed by default
[   26.030893] Switching to clocksource orion_clocksource
[   26.035476] AppArmor: AppArmor Filesystem Enabled
[   26.036048] NET: Registered protocol family 2
[   26.036283] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[   26.037123] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[   26.038828] TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
[   26.039190] TCP: Hash tables configured (established 131072 bind 65536)
[   26.039200] TCP reno registered
[   26.039335] NET: Registered protocol family 1
[   26.039630] RPC: Registered udp transport module.
[   26.039641] RPC: Registered tcp transport module.
[   26.039649] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   26.039813] Power Management for Marvell Dove.
[   26.039878] PMU Detected Frequencies CPU 933Mhz, AXI 233Mhz, L2 466Mhz, DDR 466Mhz
[   26.039946] dove_mpp4_ctrl_get : mpp4 = 0x0, mask = 0x4
[   26.039956] dove_mpp4_ctrl_set : mpp4 = 0x4, mask = 0x4
[   26.039965] dove_mpp4_ctrl_get : mpp4 = 0x4, mask = 0x4
[   26.039979] chippc_read_cfg_resistors : lTemp0 = 0x107e4, lTemp1 = 0xfffef01b, lTemp2 = 0x0, lTemp3 = 0x0, lTemp4 = 0x281c3ed, lTemp5 = 0xa0, lTemp6 = 0x0, dwGPxx = x0 
[   26.039996] chippc_read_cfg_resistors : lTemp0 = 0x40, lTemp1 = 0xfff00 
[   26.040057] cesadev_modinit
[   26.040093] cesadev_probe
[   26.040101] cesadev_init(c0a41864)
[   26.040309] mvCesaInit: sessions=640, queue=64, pSram=fdb00000
[   26.045589] audit: initializing netlink socket (disabled)
[   26.045620] type=2000 audit(0.268:1): initialized
[   26.081080] highmem bounce pool size: 64 pages
[   26.086474] VFS: Disk quotas dquot_6.5.2
[   26.086730] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[   26.088268] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[   26.089419] EFS: 1.0a - http://aeschi.ch.eu.org/efs/
[   26.089658] fuse init (API version 7.13)
[   26.101470] aufs 2-standalone.tree-32-20100524
[   26.101500] msgmni has been set to 1650
[   26.102015] alg: No test for cipher_null (cipher_null-generic)
[   26.102127] alg: No test for ecb(cipher_null) (ecb-cipher_null)
[   26.102223] alg: No test for digest_null (digest_null-generic)
[   26.102320] alg: No test for compress_null (compress_null-generic)
[   26.141021] alg: No test for stdrng (krng)
[   26.141194] io scheduler noop registered
[   26.141203] io scheduler anticipatory registered
[   26.141212] io scheduler deadline registered
[   26.141412] io scheduler cfq registered (default)
[   26.148564] dovebl_probe : return in the begining
[   26.148733] dovedcon has been initialized.
[   26.148769] dovefb_display_init
[   26.148780] dovefb_display driver init ok.
[   26.148790] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[   26.149260] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 7) is a 16550A
[   26.739541] console [ttyS0] enabled
[   26.743294] serial8250.1: ttyS1 at MMIO 0xf1012100 (irq = 8) is a 16550A
[   26.753592] brd: module loaded
[   26.774314] loop: module loaded
[   27.160574] orion_spi orion_spi.0: use polling mode
[   27.165642] m25p80 spi0.0: mx25l1605d (2048 Kbytes)
[   27.170506] 4 cmdlinepart partitions found on MTD device spi0.0
[   27.176429] Creating 4 MTD partitions on "spi0.0":
[   27.181215] 0x000000000000-0x0000000c0000 : "u-boot"
[   27.186793] 0x0000000c0000-0x000000100000 : "uboot_env"
[   27.192450] 0x000000100000-0x0000001c0000 : "u-boot2"
[   27.197875] 0x0000001c0000-0x000000200000 : "unused"
[   27.203408] MV-643xx 10/100/1000 ethernet driver version 1.4
[   27.209100] mv643xx_eth smi: probed
[   27.212664] [mv643xx_eth_probe]  dev = 0xe0022000 
[   28.690922] [get_sfp_data] create /proc/chippc/sfp **** g_nSFP_data_valid 0
[   28.697867] [create_proc_files] 1 ... chippc_proc e0106240 g_nSFP_data_valid 0
[   28.741704] net eth0: port 0 with MAC address 00:05:35:09:92:9a
[   28.749224] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   28.755998] orion-ehci orion-ehci.0: Marvell Orion EHCI
[   28.761271] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[   28.790949] orion-ehci orion-ehci.0: irq 24, io mem 0xf1050000
[   28.810932] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[   28.817132] usb usb1: configuration #1 chosen from 1 choice
[   28.822810] hub 1-0:1.0: USB hub found
[   28.826568] hub 1-0:1.0: 1 port detected
[   28.830931] orion-ehci orion-ehci.1: Marvell Orion EHCI
[   28.836153] orion-ehci orion-ehci.1: new USB bus registered, assigned bus number 2
[   28.870939] orion-ehci orion-ehci.1: irq 25, io mem 0xf1051000
[   28.890931] orion-ehci orion-ehci.1: USB 2.0 started, EHCI 1.00
[   28.897106] usb usb2: configuration #1 chosen from 1 choice
[   28.902775] hub 2-0:1.0: USB hub found
[   28.906530] hub 2-0:1.0: 1 port detected
[   28.910797] usbcore: registered new interface driver usblp
[   28.916281] Initializing USB Mass Storage driver...
[   28.921240] usbcore: registered new interface driver usb-storage
[   28.927218] USB Mass Storage support registered.
[   28.931867] usbcore: registered new interface driver ums-datafab
[   28.937879] usbcore: registered new interface driver ums-freecom
[   28.943906] usbcore: registered new interface driver ums-jumpshot
[   28.950009] usbcore: registered new interface driver ums-sddr09
[   28.955949] usbcore: registered new interface driver ums-sddr55
[   28.961860] mv_udc: version 05-July-2006 loaded
[   28.966652] mice: PS/2 mouse device common for all mice
[   28.972139] rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
[   28.977952] IRQ 133/rtc-mv: IRQF_DISABLED is not guaranteed on shared IRQs
[   28.984860] i2c /dev entries driver
[   28.988681] MV EC_KEY I2C driver loaded successfully
[   28.993809] input: ec_key_i2c as /devices/platform/mv64xxx_i2c_exp.0/i2c-0/0-002c/input/input0
[   29.002709] i2c i2c-0: Failed to register i2c client  at 0x00 (-16)
[   29.008951] i2c i2c-0: Can't create device at 0x00
[   29.016027] i2c i2c-0: Failed to register i2c client idt5v49ee503 at 0x6a (-16)
[   29.023316] i2c i2c-0: Can't create device at 0x6a
[   29.028410] Linux video capture interface: v2.00
[   29.033155] vivi-000: V4L2 device registered as /dev/video0
[   29.038707] Video Technology Magazine Virtual Video Capture Board ver 0.6.0 successfully loaded.
[   29.047640] usbcore: registered new interface driver uvcvideo
[   29.053376] USB Video Class driver (v0.1.0)
[   29.057587] cpuidle: using governor ladder
[   29.061737] cpuidle: using governor menu
[   29.065669] sdhci: Secure Digital Host Controller Interface driver
[   29.071835] sdhci: Copyright(c) Pierre Ossman
[   29.076248] sdhci: Requesting irq host->irq=35, host->irqn
[   29.081626] Registered led device: mmc0::
[   29.085873] mmc0: SDHCI controller on sdhci-mv.0 [sdhci-mv.0] using DMA
[   29.092513] sdhci: Requesting irq host->irq=36, host->irqn
[   29.097874] Registered led device: mmc1::
[   29.102134] mmc1: SDHCI controller on sdhci-mv.1 [sdhci-mv.1] using DMA
[   29.108827] mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
[   29.115198] mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
[   29.161010] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[   29.210950] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
[   29.240935] usb 1-1: new high speed USB device using orion-ehci and address 2, deleay = 50 ms
[   29.250992] mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
[   29.291000] mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
[   29.296854] usbcore: registered new interface driver hiddev
[   29.302493] usbcore: registered new interface driver usbhid
[   29.308054] usbhid: v2.6:USB HID core driver
[   29.312397] Advanced Linux Sound Architecture Driver Version 1.0.21.
[   29.318972] usbcore: registered new interface driver snd-usb-audio
[   29.325198] usbcore: registered new interface driver snd-usb-caiaq
[   29.331435] No device for DAI RT5623
[   29.335216] rt5623: RT5623 Audio Codec 0.02
[   29.340208] asoc: RT5623 <-> mv88fx-i2s0 mapping ok
[   29.356047] ALSA device list:
[   29.359018]   #0: Dove (RT5623)
[   29.362218] oprofile: using arm/mrvl_pj4
[   29.367530] TCP cubic registered
[   29.371376] NET: Registered protocol family 10
[   29.377242] lo: Disabled Privacy Extensions
[   29.383379] NET: Registered protocol family 17
[   29.387815] lib80211: common routines for IEEE802.11 drivers
[   29.393481] ThumbEE CPU extension supported.
[   29.397732] XScale iWMMXt coprocessor detected.
[   29.402533] VFP support v0.3: implementor 41 architecture 2 part 20 variant 9 rev 5
[   29.411173] Dove FB driver:
[   29.452850] Initialize /proc/mv_lcd0
[   29.456407] use cat /proc/mv_lcd0 to see reg settings
[   29.500333] dovefb dovefb.0: use ref clock IDT_CLK1
[   29.507449]   o Kernel parameter: 1024x768-24@60.
[   29.512168] pull_edid_from_i2c find any I2C bus for busid 1  dove_i2c e071c418 
[   29.519494] mmc0: new high speed MMC card at address 0001
[   29.525155] mmcblk0: mmc0:0001 SEM02G 1.82 GiB 
[   29.529883] init write protection /dev/mmcblk0       (id=187695104)
[   29.535678] i2c_transfer - 2 finaly failed. !!!! 
[   29.540378] pull_edid_from_i2c find any I2C bus for EDID edid_data 0 
[   29.546804]   o Failed to read EDID information,using driver resolutions table.
[   29.554110]  dovefb_list_vmode ------------<GFX Layer 0 video mode database>-----------
[   29.562097] mode 0: <1920x1200@60> pico=5177
[   29.562102]  fb timings    336  128   38    1  208    3
[   29.562107]  xorg timings 1920 2048 2256 2592 1200 1201 1204 1242
[   29.577630] mode 1: <1920x1080@60> pico=6734
[   29.577635]  fb timings    148   88   36    4   44    5
[   29.577640]  xorg timings 1920 2008 2052 2200 1080 1084 1089 1125
[   29.593165] mode 2: <1650x1050@60> pico=6888
[   29.593170]  fb timings    288  104   33    1  184    3
[   29.593176]  xorg timings 1650 1754 1938 2226 1050 1051 1054 1087
[   29.608700] mode 3: <1366x 768@60> pico=11659
[   29.608705]  fb timings    216   72   23    1  144    3
[   29.608710]  xorg timings 1366 1438 1582 1798  768  769  772  795
[   29.624321] mode 4: <1280x1024@60> pico=9262
[   29.624326]  fb timings    248   48   38    1  112    3
[   29.624331]  xorg timings 1280 1328 1440 1688 1024 1025 1028 1066
[   29.639854] mode 5: <1280x 720@60> pico=13468
[   29.639859]  fb timings    220  110   20    5   40    5
[   29.639864]  xorg timings 1280 1390 1430 1650  720  725  730  750
[   29.655468] mode 6: <1024x 768@85> pico=10581
[   29.655473]  fb timings    208   48   36    1   96    3
[   29.655478]  xorg timings 1024 1072 1168 1376  768  769  772  808
[   29.671088] mode 7: <1024x 768@70> pico=13346
[   29.671093]  fb timings    144   24   29    3  136    6
[   29.671099]  xorg timings 1024 1048 1184 1328  768  771  777  806
[   29.686709] mode 8: <1024x 768@60> pico=15385
[   29.686714]  fb timings    160   24   29    3  136    6
[   29.686719]  xorg timings 1024 1048 1184 1344  768  771  777  806
[   29.702322] mode 9: <1024x 600@60> pico=22401
[   29.702327]  fb timings     38   38    8    8  100    4
[   29.702332]  xorg timings 1024 1062 1162 1200  600  608  612  620
[   29.717942] mode 10: < 800x 600@85> pico=17790
[   29.717947]  fb timings    152   32   27    1   64    3
[   29.717952]  xorg timings  800  832  896 1048  600  601  604  631
[   29.733642] mode 11: < 800x 600@75> pico=20234
[   29.733647]  fb timings    160   16   21    1   80    2
[   29.733653]  xorg timings  800  816  896 1056  600  601  603  624
[   29.749348] mode 12: < 800x 600@72> pico=20052
[   29.749353]  fb timings     64   56   23   37  120    6
[   29.749359]  xorg timings  800  856  976 1040  600  637  643  666
[   29.765049] mode 13: < 800x 600@60> pico=25131
[   29.765054]  fb timings     88   40   23    1  128    4
[   29.765059]  xorg timings  800  840  968 1056  600  601  605  628
[   29.780755] mode 14: < 800x 600@56> pico=26515
[   29.780760]  fb timings    128   32   14    1  128    4
[   29.780765]  xorg timings  800  832  960 1088  600  601  605  619
[   29.796456] mode 15: < 640x 480@85> pico=27780
[   29.796461]  fb timings    112   32   25    1   48    3
[   29.796466]  xorg timings  640  672  720  832  480  481  484  509
[   29.812163] mode 16: < 640x 480@75> pico=31746
[   29.812168]  fb timings     48   16   32   11   96    2
[   29.812173]  xorg timings  640  656  752  800  480  491  493  525
[   29.827869] mode 17: < 640x 480@72> pico=32102
[   29.827873]  fb timings    128   24   28    9   40    3
[   29.827879]  xorg timings  640  664  704  832  480  489  492  520
[   29.843569] mode 18: < 640x 480@60> pico=39758
[   29.843574]  fb timings     48   16   31   11   96    2
[   29.843579]  xorg timings  640  656  752  800  480  491  493  524
[   29.859268] found <1024x768@60>, pixclock=15385
[   29.863790] set clk 1 to 64998375
[   29.867169]  mmcblk0: p1 p2 p3
[   29.871090] init write protection /dev/mmcblk0p1     (id=187695105)
[   29.877141] init write protection /dev/mmcblk0p2     (id=187695106)
[   29.883152] mmcblk0: p3 size 1831410 exceeds device capacity, limited to end of disk
[   29.892326] usb 1-1: configuration #1 chosen from 1 choice
[   29.898143] hub 1-1:1.0: USB hub found
[   29.902279] hub 1-1:1.0: 4 ports detected
[   29.908305] dovefb_gfx_init() call get_edid_gfx_init
[   29.913277] pull_edid_from_i2c find any I2C bus for busid 1  dove_i2c e071c418 
[   29.920706] i2c_transfer - 2 finaly failed. !!!! 
[   29.925408] pull_edid_from_i2c find any I2C bus for EDID edid_data 0 
[   29.932128] set clk 1 to 64998375
[   29.956787] Console: switching to colour frame buffer device 128x48
[   30.015502]   o dovefb: frame buffer device was successfully loaded.
[   30.021859] Dove FB driver:
[   30.024667] Initialize /proc/mv_lcd1
[   30.028228] use cat /proc/mv_lcd1 to see reg settings
[   30.033310] dovefb dovefb.1: use ref clock accurate_LCDCLK
[   30.038778]   o Kernel parameter: 1024x768-24@60.
[   30.043479] pull_edid_from_i2c find any I2C bus for busid 0  dove_i2c e071c218 
[   30.050900] i2c_transfer - 2 finaly failed. !!!! 
[   30.055613] pull_edid_from_i2c find any I2C bus for EDID edid_data 0 
[   30.062039]   o Failed to read EDID information,using driver resolutions table.
[   30.069328]  dovefb_list_vmode ------------<GFX Layer 1 video mode database>-----------
[   30.077324] mode 0: <1920x1200@60> pico=5177
[   30.077328]  fb timings    336  128   38    1  208    3
[   30.077334]  xorg timings 1920 2048 2256 2592 1200 1201 1204 1242
[   30.092852] mode 1: <1920x1080@60> pico=6734
[   30.092857]  fb timings    148   88   36    4   44    5
[   30.092862]  xorg timings 1920 2008 2052 2200 1080 1084 1089 1125
[   30.108384] mode 2: <1650x1050@60> pico=6888
[   30.108389]  fb timings    288  104   33    1  184    3
[   30.108394]  xorg timings 1650 1754 1938 2226 1050 1051 1054 1087
[   30.123912] mode 3: <1366x 768@60> pico=11659
[   30.123917]  fb timings    216   72   23    1  144    3
[   30.123923]  xorg timings 1366 1438 1582 1798  768  769  772  795
[   30.139534] mode 4: <1280x1024@60> pico=9262
[   30.139539]  fb timings    248   48   38    1  112    3
[   30.139544]  xorg timings 1280 1328 1440 1688 1024 1025 1028 1066
[   30.155067] mode 5: <1280x 720@60> pico=13468
[   30.155072]  fb timings    220  110   20    5   40    5
[   30.155078]  xorg timings 1280 1390 1430 1650  720  725  730  750
[   30.170687] mode 6: <1024x 768@85> pico=10581
[   30.170692]  fb timings    208   48   36    1   96    3
[   30.170697]  xorg timings 1024 1072 1168 1376  768  769  772  808
[   30.186301] mode 7: <1024x 768@70> pico=13346
[   30.186306]  fb timings    144   24   29    3  136    6
[   30.186311]  xorg timings 1024 1048 1184 1328  768  771  777  806
[   30.201921] mode 8: <1024x 768@60> pico=15385
[   30.201926]  fb timings    160   24   29    3  136    6
[   30.201931]  xorg timings 1024 1048 1184 1344  768  771  777  806
[   30.217542] mode 9: <1024x 600@60> pico=22401
[   30.217546]  fb timings     38   38    8    8  100    4
[   30.217552]  xorg timings 1024 1062 1162 1200  600  608  612  620
[   30.233155] mode 10: < 800x 600@85> pico=17790
[   30.233160]  fb timings    152   32   27    1   64    3
[   30.233166]  xorg timings  800  832  896 1048  600  601  604  631
[   30.248861] mode 11: < 800x 600@75> pico=20234
[   30.248866]  fb timings    160   16   21    1   80    2
[   30.248871]  xorg timings  800  816  896 1056  600  601  603  624
[   30.264561] mode 12: < 800x 600@72> pico=20052
[   30.264566]  fb timings     64   56   23   37  120    6
[   30.264572]  xorg timings  800  856  976 1040  600  637  643  666
[   30.280268] mode 13: < 800x 600@60> pico=25131
[   30.280273]  fb timings     88   40   23    1  128    4
[   30.280278]  xorg timings  800  840  968 1056  600  601  605  628
[   30.295968] mode 14: < 800x 600@56> pico=26515
[   30.295973]  fb timings    128   32   14    1  128    4
[   30.295978]  xorg timings  800  832  960 1088  600  601  605  619
[   30.311675] mode 15: < 640x 480@85> pico=27780
[   30.311680]  fb timings    112   32   25    1   48    3
[   30.311685]  xorg timings  640  672  720  832  480  481  484  509
[   30.327373] mode 16: < 640x 480@75> pico=31746
[   30.327378]  fb timings     48   16   32   11   96    2
[   30.327383]  xorg timings  640  656  752  800  480  491  493  525
[   30.343074] mode 17: < 640x 480@72> pico=32102
[   30.343079]  fb timings    128   24   28    9   40    3
[   30.343084]  xorg timings  640  664  704  832  480  489  492  520
[   30.358780] mode 18: < 640x 480@60> pico=39758
[   30.358785]  fb timings     48   16   31   11   96    2
[   30.358790]  xorg timings  640  656  752  800  480  491  493  524
[   30.374471] found <1024x768@60>, pixclock=15385
[   30.379047] set internal refclk divider to 31.0.(accurate mode)
[   30.384952] dovefb_gfx_init() call get_edid_gfx_init
[   30.389891] pull_edid_from_i2c find any I2C bus for busid 0  dove_i2c e071c218 
[   30.397226] usb 2-1: new high speed USB device using orion-ehci and address 2, deleay = 50 ms
[   30.405804] i2c_transfer - 2 finaly failed. !!!! 
[   30.410508] pull_edid_from_i2c find any I2C bus for EDID edid_data 0 
[   30.417260]   o dovefb: frame buffer device was successfully loaded.
[   30.423885] rtc-mv rtc-mv: setting system clock to 1970-01-01 00:00:00 UTC (0)
[   30.433021] Freeing init memory: 10312K
******* Dlopen success
usplash: can't get console font: Invalid argument
chippc-theme : t_init 
 GetSplashData out : width = 1024, height = 768, colors = 256 
chippc-theme : 0x400, 0x300, 0x202, 0x2e0  
[   30.488121] EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
[   30.496130] kjournald starting.  Commit interval 5 seconds
[   30.502624] EXT3 FS on mmcblk0p2, internal journal
[   30.507401] EXT3-fs: recovery complete.
[   30.511242] EXT3-fs: mounted filesystem with journal data mode.
Signature size: 4
Safe mode: 0
normal mode
mount RO from:
/dev/tffsi
save_res: 
0
end of save res
Entering normal boot mode(with splash)...
[   30.573952] usb 2-1: configuration #1 chosen from 1 choice
[   30.587044] hub 2-1:1.0: USB hub found
[   30.595911] hub 2-1:1.0: 4 ports detected
[   31.191083] kjournald starting.  Commit interval 5 seconds
[   31.196755] EXT3 FS on mmcblk0p3, internal journal
[   31.210938] EXT3-fs: recovery complete.
[   31.216190] EXT3-fs: mounted filesystem with journal data mode.
[   32.570483] kjournald starting.  Commit interval 5 seconds
[   32.576577] EXT3 FS on mmcblk0p3, internal journal
[   32.581378] EXT3-fs: mounted filesystem with journal data mode.
mount sq1
mount sq2
[   32.602466] /dev/mmcblk0p2   (id=187695106) is write protected!
all mounts:
rootfs / rootfs rw 0 0
none /proc proc rw,relatime 0 0
/dev/mmcblk0p2 /system ext3 rw,noatime,errors=continue,data=journal 0 0
/dev/mmcblk0p3 /plugrr ext3 rw,noexec,noatime,errors=continue,data=journal 0 0
/dev/loop0 /static_mem squashfs ro,relatime 0 0
/dev/loop1 /static squashfs ro,relatime 0 0
mount read/write partition...
mount complete
init: ureadahead-other main process (409) terminated with status 4
init: ureadahead-other main process (447) terminated with status 4
init: cryptdisks-enable main process (445) killed by TERM signal
 runlevel ======  
can't open protection device
Safe mode: 0
normal mode
Entering normal boot mode...
Wed May 18 13:27:29 UTC 2016
Timed out waiting for time change.
[   46.200756] Software Watchdog Timer: 0.07 initialized. soft_noboot=0 soft_margin=12 sec (nowayout= 1)
 runlevel ====== 2 2
[   46.709447] BMM Module Vmeta memroy start: 0x3c000000, size: 67108864
[   46.723722] BMM init with size=64MB
 * Starting Citrix USB daemon [ OK ]
[   46.995774] 
[   46.995779] [galcore] registerBase =0xf1840000, registerMemSize = 0x0003ffff, contiguousBase= 0x38000000, contiguousSize = 0x03ffffff
[   47.010606] 
[   47.010610] [galcore] real contiguouSize = 0x03ffffff 
[   47.018069] 
[   47.018073] [galcore] chipModel=0x600,chipRevision=0x19,chipFeatures=0x87ecd,chipMinorFeatures=0x7
 * Network Interface Plugging Daemon...                                         [   47.281599] [mv643xx_eth_open] ****** begin ...0xe0022000, 0xe00222e0, 0xe070ec00 
[   47.460933] EUGENE speed=1000, duplex=1, autoneg=1
[   47.561579] ADDRCONF(NETDEV_UP): eth0: link is not ready
 * skip wlan0...                                                         [ OK ] 
Starting printer spooler: lpd.
[   47.798328] Setting vmeta clock to 500000000 (divider: 4)

** (process:670): WARNING **: ApplySubclass_2007WirelessConnection dwEnable =  0,  0 

 * Starting Network connection manager wicd                              [ OK ] 
Starting Hardware RNG entropy gatherer daemon: rngd.
[   49.833111] eth0: 0x1c16, link up, 1000 Mb/s, full duplex, flow control disabled
[   49.840475] [handle_link_event] 2 netif_carrier_on  on 
[   49.847148] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   51.547574] set clk 1 to 64998375
[   51.547588] dividers found (in lookup table) for Fout = 64998375. n=234 d=5 odiv 18
SNMP service started, listening on port 161/udp
[   53.683894] set clk 1 to 64998375
[   53.683908] dividers found (in lookup table) for Fout = 64998375. n=234 d=5 odiv 18
Command line:XPClient /LocalService 
[   53.744573] set internal refclk divider to 31.0.(accurate mode)
[   53.835661] set clk 1 to 135007425
[   53.835678] dividers found (in lookup table) for Fout = 135007425. n=216 d=5 odiv 8

Ubuntu 10.04 LTS ER-TC-9929a ttyS0

ER-TC-9929a login: [   58.037484] Chippc_proc_ write_int = 0x3, 3
[   58.037491]  
[   58.052528] write value <0x00000000> to LCD reg offset <0x00000190>

** (PIM:864): WARNING **: Reading user name prefix from DBGUserNamePrefix. Assure that somebody writes it there !
                                                                                                                 [   60.430932] eth0: no IPv6 routers present
 myifconfig   nInterfaces=2
                            myifconfig   0 lo
                                              myifconfig   1 eth0
                                                                  myifconfig   IfConf.ifc_req[1].ifr_flags=0x1043 0x1 0X40  0x8
                                                                                                                                GetEthinfointerface 00:05:35:09:92:9a, 192.168.1.135, 255.255.255.0, 192.168.1.255
                                                                             GetEthinfointerface 4 dhcp dhcp

                                                                                                             WaitForDhcpeth0
                                                                                                                            LOG: (Re)connect to Xcalibur server.

LOG: CONNECTING: Table 0(Xcalibur) is - not empty.

LOG: CONNECTING: Trying record [0;0] - enabled.
IP: 129.100.2.50, Weight: 1, QueryTTL: 3000.

LOG: CONNECTING: SSL Required: no,Fallback enabled: yes, Plain port: 917, SSL port: 918.

LOG: Pinging disabled by policy.

LOG: CONNECTING: Connecting in plain(unsecured) mode. 129.100.2.50:917.

LOG: CONNECTING: Failure (plain mode). Last Error is 110(0x0000006E).

LOG: CONNECTING: Table 1(DHCP) is -  empty.

LOG: CONNECTING: Table 2(SNMP) is -  empty.

LOG: CONNECTING: Table 3(DNS) is - not empty.

LOG: CONNECTING: Cannot resolve DNS name 'XCGlobal11'.

LOG: CONNECTING: Table 4(Manual) is -  empty.

LOG: CONNECTING: Table 5(Cached Record) is - not empty.

LOG: CONNECTING: Trying record [5;0] - enabled.
IP: 129.100.2.50, Weight: 1, QueryTTL: 3000.

LOG: CONNECTING: SSL Required: no,Fallback enabled: yes, Plain port: 917, SSL port: 918.

LOG: Pinging disabled by policy.

LOG: CONNECTING: Connecting in plain(unsecured) mode. 129.100.2.50:917.


FATAL: term closed

More info will follow once I've hooked it up to a monitor and keyboard and logged into stock OS.

Koen

==============
Moderator Edit: changed thread title to Debian on Chip PC LXD8941 (to make it easier to search for this box working thread).



Edited 1 time(s). Last edit at 11/08/2018 04:46AM by bodhi.
Re: Chip PC LXD8941
September 20, 2018 03:47PM
Nicely done Koen!

This box has a different u-boot
U-Boot 2009.08-svn7881 (Jan 23 2013 - 13:55:26) version: dove-5.3.4

The HP T5335z:
U-Boot 2009.08 (Aug 24 2011 - 15:11:17)HP version: 5.4.2-V28

Basically the same u-boot envs can set up to boot Debian USB rootfs. The DTS will be based on the same reference Dove dts, but slightly different, though. They might or might not use the same kernel GPL as the T5535 and Wyse T50/T10.

Go ahead and post more info. I'll wip up another DTS for this box.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Chip PC LXD8941
September 20, 2018 03:56PM
Stock OS doesn't offer a terminal or anything useful to explore the system with. So I've taken the USB stick from the T50 and used the following commands from the HP T5335 topic. It starts loading the kernel but hangs.

MIC>> setenv set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 ${mtdparts} earlyprintk=serial'
MIC>> setenv bootcmd_usb 'usb start; ext2load usb 0:1 0x2000000 /boot/uImage; ext2load usb 0:1 0x3000000 /boot/uInitrd'
MIC>> setenv bootcmd_exec 'run set_bootargs; run bootcmd_usb; bootm 0x2000000 0x3000000'
MIC>> run bootcmd_exec
(Re)start USB...
USB:   Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 3 USB Device(s) found
Waiting for storage device(s) to settle before scanning...
       scanning bus for storage devices... 1 Storage Device(s) found
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
......
...Uncompressing Linux...Uncompressing Linux...Uncompressing Linux...


I've tried the same thing with the USB stick from the T5335Z but that (unbranded) USB stick is not recognized. I guess I should create a new USB stick with the default dove.dtb appended and start with that.

Koen
Re: Chip PC LXD8941
September 20, 2018 04:44PM
Ok I need to reshuffle some USB sticks so won't be able to try booting Debian until tomorrow. Below are the numbers of the larger chips that I can decipher. I'll also email the people at Chip PC Technologies to see if they can point me to GPL sources etc.

Koen

card reader chip: Sandisk SDIN5D2-2G
DDR3 memory: 4x HNNIX H5TQ2G63BFR
HDMI transmitter chip?: PN521
DVI transmitter: SII164CTG64
Marvell ethernet: 88e1318-nnb2
USB controller: GL852G
macronix MX25L1606E

16F1937 PIC chip
Texas Instruments 7 channel integrated esd: pq19-15



Edited 1 time(s). Last edit at 09/20/2018 04:52PM by Koen.
Re: Chip PC LXD8941
September 20, 2018 07:15PM
Koen Wrote:
-------------------------------------------------------
> Stock OS doesn't offer a terminal or anything
> useful to explore the system with. So I've taken
> the USB stick from the T50 and used the following
> commands from the HP T5335 topic. It starts
> loading the kernel but hangs.
>
>
> MIC>> setenv set_bootargs 'setenv bootargs
> console=ttyS0,115200 root=LABEL=rootfs
> rootdelay=10 ${mtdparts} earlyprintk=serial'
> MIC>> setenv bootcmd_usb 'usb start; ext2load usb
> 0:1 0x2000000 /boot/uImage; ext2load usb 0:1
> 0x3000000 /boot/uInitrd'
> MIC>> setenv bootcmd_exec 'run set_bootargs; run
> bootcmd_usb; bootm 0x2000000 0x3000000'
> MIC>> run bootcmd_exec
> (Re)start USB...
> USB:   Register 10011 NbrPorts 1
> USB EHCI 1.00
> scanning bus for devices... 3 USB Device(s) found
> Waiting for storage device(s) to settle before
> scanning...
>        scanning bus for storage devices... 1
> Storage Device(s) found
> Loading file "/boot/uImage" from usb device 0:1
> (usbda1)
> ......
> ...Uncompressing Linux...Uncompressing
> Linux...Uncompressing Linux...
> 
>


Is this alll the serial console log showed?


>
> I've tried the same thing with the USB stick from
> the T5335Z but that (unbranded) USB stick is not
> recognized. I guess I should create a new USB
> stick with the default dove.dtb appended and start
> with that.
>


Good idea.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Chip PC LXD8941
September 21, 2018 02:15PM
Yes that was all that was shown on serial. I've created the rootfs with the dove-dove-db.dtb appended and it results in a similar output as shown below. I think I'll try the dove-sbc-510.dtb one next.

Koen

MIC>> setenv set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 ${mtdparts} earlyprintk=serial'
MIC>> setenv bootcmd_usb 'usb start; ext2load usb 0:1 0x2000000 /boot/uImage; ext2load usb 0:1 0x3000000 /boot/uInitrd'
MIC>> setenv bootcmd_exec 'run set_bootargs; run bootcmd_usb; bootm 0x2000000 0x3000000'
MIC>> run bootcmd_exec
(Re)start USB...
USB:   Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 3 USB Device(s) found
Waiting for storage device(s) to settle before scanning...
       scanning bus for storage devices... 1 Storage Device(s) found
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
......
...
Re: Chip PC LXD8941
September 21, 2018 02:31PM
The dove-sbc-510.dtb gets a little further but still hangs. I'll try all the other dove dtb files as well but will only report the results if it gets any further.

Koen

MIC>> setenv set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 ${mtdparts} earlyprintk=serial'
MIC>> setenv bootcmd_usb 'usb start; ext2load usb 0:1 0x2000000 /boot/uImage; ext2load usb 0:1 0x3000000 /boot/uInitrd'
MIC>> setenv bootcmd_exec 'run set_bootargs; run bootcmd_usb; bootm 0x2000000 0x3000000'
MIC>> run bootcmd_exec
(Re)start USB...
USB:   Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 3 USB Device(s) found
Waiting for storage device(s) to settle before scanning...
       scanning bus for storage devices... 1 Storage Device(s) found
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
......
...Uncompressing Linux...Uncompressing Linux...

Re: Chip PC LXD8941
September 21, 2018 03:06PM
Unfortunately none of the dove.dtb files get any further than the Uncompressing Linux stage. So the dtb file will need a bit more work than expected. I've also noted an error in one of my previous post. The Sandisk SDIN5D2-2G chip is the internal memory and has nothing to do with the card reader.

Koen
Re: Chip PC LXD8941
September 21, 2018 03:33PM
Koen,

It does not look like the DTB. Your serial console show that something went wrong after the uImage was loaded.

MIC>> setenv set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 ${mtdparts} earlyprintk=serial'
MIC>> setenv bootcmd_usb 'usb start; ext2load usb 0:1 0x2000000 /boot/uImage; ext2load usb 0:1 0x3000000 /boot/uInitrd'
MIC>> setenv bootcmd_exec 'run set_bootargs; run bootcmd_usb; bootm 0x2000000 0x3000000'
MIC>> run bootcmd_exec
(Re)start USB...
USB:   Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 3 USB Device(s) found
Waiting for storage device(s) to settle before scanning...
       scanning bus for storage devices... 1 Storage Device(s) found
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
......
...Uncompressing Linux...Uncompressing Linux...Uncompressing Linux...

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Chip PC LXD8941
September 21, 2018 03:40PM
Try
setenv set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 ${mtdparts} earlyprintk=serial'
setenv bootcmd_usb 'usb start; ext2load usb 0:1 0x3000000 /boot/uImage; ext2load usb 0:1 0x4000000 /boot/uInitrd'
setenv bootcmd_exec 'run set_bootargs; run bootcmd_usb; bootm 0x3000000 0x4000000'
run bootcmd_exec

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Chip PC LXD8941
September 21, 2018 03:52PM
Success!

Bodhi it really amazes me how you can troubleshoot these devices remotely based on just some short log. Below the boot log of booting with the dove-dove-db.dtb file.

Koen

MIC>> setenv set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 ${mtdparts} earlyprintk=serial'
MIC>> setenv bootcmd_usb 'usb start; ext2load usb 0:1 0x3000000 /boot/uImage; ext2load usb 0:1 0x4000000 /boot/uInitrd'
MIC>> setenv bootcmd_exec 'run set_bootargs; run bootcmd_usb; bootm 0x3000000 0x4000000'
MIC>> run bootcmd_exec
(Re)start USB...
USB:   Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 3 USB Device(s) found
Waiting for storage device(s) to settle before scanning...
       scanning bus for storage devices... 1 Storage Device(s) found
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
......
......
............
.........................
...................................................
......................................................................................................
.............................................................................................................................................................................................
4035317 bytes read
Loading file "/boot/uInitrd" from usb device 0:1 (usbda1)
......
......
............
.........................
...................................................
......................................................................................................
............................................................................................................................................................................................................
........................................................................................................................................................................................................................................................................................
7070236 bytes read
## Booting kernel from Legacy Image at 03000000 ...
   Image Name:   Linux-4.12.4-mvebu-tld-1
   Created:      2018-09-21  21:45:53 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4035253 Bytes =  3.8 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 04000000 ...
   Image Name:   initramfs-4.12.4-mvebu-tld-1
   Created:      2017-08-22  11:10:43 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7070172 Bytes =  6.7 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

EUGENE lcd_disable
EUGENE lcd_panel_disable
Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.12.4-mvebu-tld-1 (root@tldDebianVM) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #1 SMP PREEMPT Sat Jul 29 21:56:37 PDT 2017
[    0.000000] CPU: ARMv7 Processor [413fc081] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] OF: fdt: Machine model: Marvell DB-MV88AP510-BP Development Board
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writeback
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] percpu: Embedded 17 pages/cpu @ef7d9000 s40460 r8192 d20980 u69632
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260608
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi0.0:768k(uboot),256k(uboot_env),768k(uboot2),-(kernel) earlyprintk=serial
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 1019144K/1048576K available (8192K kernel code, 712K rwdata, 2080K rodata, 1024K init, 331K bss, 29432K reserved, 0K cma-reserved, 262144K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0900000   (9184 kB)
[    0.000000]       .init : 0xc0c00000 - 0xc0d00000   (1024 kB)
[    0.000000]       .data : 0xc0d00000 - 0xc0db2308   ( 713 kB)
[    0.000000]        .bss : 0xc0db9a84 - 0xc0e0ca58   ( 332 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] Division by zero in kernel.
[    0.000000] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.12.4-mvebu-tld-1 #1
[    0.000000] Hardware name: Marvell Dove
[    0.000000] [<c0116150>] (unwind_backtrace) from [<c0110bcc>] (show_stack+0x10/0x14)
[    0.000000] [<c0110bcc>] (show_stack) from [<c04df674>] (dump_stack+0x70/0x8c)
[    0.000000] [<c04df674>] (dump_stack) from [<c04de174>] (Ldiv0+0x8/0x10)
[    0.000000] [<c04de174>] (Ldiv0) from [<c0549128>] (dove_recalc_rate+0x44/0x8c)
[    0.000000] [<c0549128>] (dove_recalc_rate) from [<c0545720>] (clk_register+0x38c/0x590)
[    0.000000] [<c0545720>] (clk_register) from [<c0c33644>] (dove_divider_clk_init+0xe8/0x12c)
[    0.000000] [<c0c33644>] (dove_divider_clk_init) from [<c0c334d0>] (dove_clk_init+0x4c/0x74)
[    0.000000] [<c0c334d0>] (dove_clk_init) from [<c0c323c4>] (of_clk_init+0x174/0x214)
[    0.000000] [<c0c323c4>] (of_clk_init) from [<c0c03930>] (time_init+0x20/0x2c)
[    0.000000] [<c0c03930>] (time_init) from [<c0c00af8>] (start_kernel+0x210/0x394)
[    0.000000] [<c0c00af8>] (start_kernel) from [<0000807c>] (0x807c)
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 11467562657 ns
[    0.000008] sched_clock: 32 bits at 166MHz, resolution 6ns, wraps every 12884901885ns
[    0.007909] Switching to timer-based delay loop, resolution 6ns
[    0.014458] Console: colour dummy device 80x30
[    0.019031] Calibrating delay loop (skipped), value calculated using timer frequency.. 333.33 BogoMIPS (lpj=1666666)
[    0.029626] pid_max: default: 32768 minimum: 301
[    0.034475] Security Framework initialized
[    0.038760] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.045438] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.053371] CPU: Testing write buffer coherency: ok
[    0.058675] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[    0.098049] Setting up static identity map for 0x100000 - 0x100060
[    0.157959] smp: Bringing up secondary CPUs ...
[    0.162560] smp: Brought up 1 node, 1 CPU
[    0.166637] SMP: Total of 1 processors activated (333.33 BogoMIPS).
[    0.173010] CPU: All CPU(s) started in SVC mode.
[    0.178606] devtmpfs: initialized
[    0.188175] VFP support v0.3: implementor 41 architecture 2 part 20 variant 9 rev 5
[    0.196436] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.206507] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.213117] prandom: seed boundary self test passed
[    0.221373] prandom: 100 self tests passed
[    0.225536] pinctrl core: initialized pinctrl subsystem
[    0.232779] NET: Registered protocol family 16
[    0.238777] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.258057] cpuidle: using governor ladder
[    0.262282] cpuidle: using governor menu
[    0.266459] Dove 88AP510 SoC
[    0.269747] Tauros2: Disabling L2 prefetch.
[    0.274004] Tauros2: Disabling burst8 line fill.
[    0.278774] Tauros2: Enabling L2 cache.
[    0.282679] Tauros2: L2 cache support initialised in ARMv7 mode.
[    0.289198] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.388519] vgaarb: loaded
[    0.391607] SCSI subsystem initialized
[    0.398521] usbcore: registered new interface driver usbfs
[    0.404127] usbcore: registered new interface driver hub
[    0.410443] usbcore: registered new device driver usb
[    0.416130] media: Linux media interface: v0.10
[    0.421189] Linux video capture interface: v2.00
[    0.428376] clocksource: Switched to clocksource orion_clocksource
[    0.514016] VFS: Disk quotas dquot_6.6.0
[    0.518082] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.544892] NET: Registered protocol family 2
[    0.550598] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.557758] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.565015] TCP: Hash tables configured (established 8192 bind 8192)
[    0.571739] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.577739] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.584371] NET: Registered protocol family 1
[    0.609341] RPC: Registered named UNIX socket transport module.
[    0.615318] RPC: Registered udp transport module.
[    0.620141] RPC: Registered tcp transport module.
[    0.624908] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.631629] Unpacking initramfs...
[    1.091753] Freeing initrd memory: 6908K
[    1.095939] NetWinder Floating Point Emulator V0.97 (double precision)
[    1.104399] audit: initializing netlink subsys (disabled)
[    1.111165] Initialise system trusted keyrings
[    1.115713] Key type blacklist registered
[    1.119865] audit: type=2000 audit(1.102:1): state=initialized audit_enabled=0 res=1
[    1.128044] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    1.134743] zbud: loaded
[    1.158429] NFS: Registering the id_resolver key type
[    1.163554] Key type id_resolver registered
[    1.167802] Key type id_legacy registered
[    1.171932] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.178722] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    1.185342] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    1.192974] orangefs_debugfs_init: called with debug mask: :none: :0:
[    1.199805] orangefs_init: module version upstream loaded
[    1.210856] Key type asymmetric registered
[    1.215022] Asymmetric key parser 'x509' registered
[    1.220109] bounce: pool size: 64 pages
[    1.224117] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    1.231875] io scheduler noop registered
[    1.235861] io scheduler deadline registered
[    1.240335] io scheduler cfq registered (default)
[    1.245997] dove-pinctrl f10d0200.pin-ctrl: falling back to hardcoded PMU resource
[    1.254111] dove-pinctrl f10d0200.pin-ctrl: [Firmware Bug]: Missing pinctrl regs in DTB. Please update your firmware.
[    1.265526] dove-pinctrl f10d0200.pin-ctrl: registered pinctrl driver
[    1.276252] mv_xor f1060800.dma-engine: Marvell shared XOR driver
[    1.339424] mv_xor f1060800.dma-engine: Marvell XOR (Registers Mode): ( xor cpy sg intr )
[    1.347967] mv_xor f1060900.dma-engine: Marvell shared XOR driver
[    1.409375] mv_xor f1060900.dma-engine: Marvell XOR (Registers Mode): ( xor cpy sg intr )
[    1.546223] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.556529] console [ttyS0] disabled
[    1.561180] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 21, base_baud = 10416666) is a 16550A
[    1.570435] console [ttyS0] enabled
[    1.570435] console [ttyS0] enabled
[    1.577461] bootconsole [earlycon0] disabled
[    1.577461] bootconsole [earlycon0] disabled
[    1.587338] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 22, base_baud = 10416666) is a 16550A
[    1.598150] sata_mv f10a0000.sata-host: slots 32 ports 1
[    1.615671] scsi host0: sata_mv
[    1.619383] ata1: SATA max UDMA/133 irq 32
[    1.625323] m25p80 spi0.0: found mx25l1606e, expected m25p32
[    1.631173] m25p80 spi0.0: mx25l1606e (2048 Kbytes)
[    1.636412] 4 cmdlinepart partitions found on MTD device spi0.0
[    1.643026] Creating 4 MTD partitions on "spi0.0":
[    1.647806] 0x000000000000-0x0000000c0000 : "uboot"
[    1.664283] 0x0000000c0000-0x000000100000 : "uboot_env"
[    1.681259] 0x000000100000-0x0000001c0000 : "uboot2"
[    1.697849] 0x0000001c0000-0x000000200000 : "kernel"
[    1.716848] libphy: Fixed MDIO Bus: probed
[    1.724669] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.732546] ehci-pci: EHCI PCI platform driver
[    1.737117] ehci-orion: EHCI orion driver
[    1.741635] orion-ehci f1050000.usb-host: EHCI Host Controller
[    1.747471] orion-ehci f1050000.usb-host: new USB bus registered, assigned bus number 1
[    1.755859] orion-ehci f1050000.usb-host: irq 26, io mem 0xf1050000
[    1.788395] orion-ehci f1050000.usb-host: USB 2.0 started, EHCI 1.00
[    1.794978] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.801760] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.808966] usb usb1: Product: EHCI Host Controller
[    1.813820] usb usb1: Manufacturer: Linux 4.12.4-mvebu-tld-1 ehci_hcd
[    1.820248] usb usb1: SerialNumber: f1050000.usb-host
[    1.826116] hub 1-0:1.0: USB hub found
[    1.830082] hub 1-0:1.0: 1 port detected
[    1.834542] orion-ehci f1051000.usb-host: EHCI Host Controller
[    1.840482] orion-ehci f1051000.usb-host: new USB bus registered, assigned bus number 2
[    1.848647] orion-ehci f1051000.usb-host: irq 27, io mem 0xf1051000
[    1.878407] orion-ehci f1051000.usb-host: USB 2.0 started, EHCI 1.00
[    1.884969] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    1.891773] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.899007] usb usb2: Product: EHCI Host Controller
[    1.903866] usb usb2: Manufacturer: Linux 4.12.4-mvebu-tld-1 ehci_hcd
[    1.910315] usb usb2: SerialNumber: f1051000.usb-host
[    1.916074] hub 2-0:1.0: USB hub found
[    1.920019] hub 2-0:1.0: 1 port detected
[    1.924977] usbcore: registered new interface driver usblp
[    1.930939] usbcore: registered new interface driver usb-storage
[    1.937431] mousedev: PS/2 mouse device common for all mice
[    1.944024] rtc-mv f10d8500.real-time-clock: invalid RTC date, resetting to January 1st, 2013
[    1.952597] ata1: SATA link down (SStatus 0 SControl F300)
[    1.958948] rtc-mv f10d8500.real-time-clock: rtc core: registered f10d8500.real-time- as rtc0
[    1.967853] i2c /dev entries driver
[    1.973739] orion_wdt: Initial timeout 25 sec
[    1.981547] marvell-cesa f1030000.crypto-engine: CESA device successfully registered
[    1.989797] hidraw: raw HID events driver (C) Jiri Kosina
[    1.995902] usbcore: registered new interface driver usbhid
[    2.001927] usbhid: USB HID core driver
[    2.006086] drop_monitor: Initializing network drop monitor service
[    2.012634] Netfilter messages via NETLINK v0.30.
[    2.017339] ip_set: protocol 6
[    2.020820] NET: Registered protocol family 10
[    2.036100] Segment Routing with IPv6
[    2.039871] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.047674] NET: Registered protocol family 17
[    2.052658] 8021q: 802.1Q VLAN Support v1.8
[    2.056863] Key type dns_resolver registered
[    2.061370] ThumbEE CPU extension supported.
[    2.065627] Registering SWP/SWPB emulation handler
[    2.071356] registered taskstats version 1
[    2.075437] Loading compiled-in X.509 certificates
[    2.080637] zswap: loaded using pool lzo/zbud
[    2.179806] Key type big_key registered
[    2.190955] Key type encrypted registered
[    2.207316] rtc-mv f10d8500.real-time-clock: setting system clock to 2013-01-01 14:21:41 UTC (1357050101)
[    2.219600] Freeing unused kernel memory: 1024K
[    2.238555] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    2.252610] random: fast init done
Loading, please wait...
[    2.308476] usb 2-1: new high-speed USB device number 2 using orion-ehci
starting version 232
[    2.440367] usb 1-1: New USB device found, idVendor=05e3, idProduct=0610
[    2.447064] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    2.468502] usb 1-1: Product: USB2.0 Hub
[    2.486257] hub 1-1:1.0: USB hub found
[    2.499675] hub 1-1:1.0: 4 ports detected
[    2.510312] usb 2-1: New USB device found, idVendor=05e3, idProduct=0610
[    2.517008] usb 2-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    2.538502] usb 2-1: Product: USB2.0 Hub
[    2.555801] hub 2-1:1.0: USB hub found
[    2.568924] hub 2-1:1.0: 4 ports detected
[    2.828473] usb 1-1.4: new high-speed USB device number 3 using orion-ehci
[    2.868648] i2c i2c-0: Added multiplexed i2c bus 1
[    2.874766] i2c i2c-0: Added multiplexed i2c bus 2
[    2.907830] i2c i2c-0: Added multiplexed i2c bus 3
[    2.999489] usb 1-1.4: New USB device found, idVendor=0781, idProduct=5530
[    3.006357] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.024513] sdhci: Secure Digital Host Controller Interface driver
[    3.024517] sdhci: Copyright(c) Pierre Ossman
[    3.025222] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.058472] usb 1-1.4: Product: Cruzer
[    3.062215] usb 1-1.4: Manufacturer: SanDisk
[    3.066464] usb 1-1.4: SerialNumber: 20060775210A3B80C5B2
[    3.087831] usb-storage 1-1.4:1.0: USB Mass Storage device detected
[    3.114208] scsi host1: usb-storage 1-1.4:1.0
[    3.128544] mmc0: SDHCI controller on f1090000.sdio-host [f1090000.sdio-host] using DMA
[    3.219272] mmc1: SDHCI controller on f1092000.sdio-host [f1092000.sdio-host] using DMA
[    3.289658] mmc1: new high speed MMC card at address 0001
[    4.131202] usbcore: registered new interface driver uas
[    4.148593] mmcblk1: mmc1:0001 SEM02G 1.82 GiB 
[    4.163703] mmcblk1boot0: mmc1:0001 SEM02G partition 1 1.00 MiB
[    4.180394] mmcblk1boot1: mmc1:0001 SEM02G partition 2 1.00 MiB
[    4.186698] scsi 1:0:0:0: Direct-Access     SanDisk  Cruzer           1.26 PQ: 0 ANSI: 5
[    4.196798] mmcblk1rpmb: mmc1:0001 SEM02G partition 3 128 KiB
[    4.207786] sd 1:0:0:0: [sda] 15633408 512-byte logical blocks: (8.00 GB/7.45 GiB)
[    4.220831]  mmcblk1: p1 p2 p3
[    4.224529] mmcblk1: p3 size 1831410 extends beyond EOD, truncated
[    4.231275] sd 1:0:0:0: [sda] Write Protect is off
[    4.238644] sd 1:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    4.268888]  sda: sda1
[    4.275899] sd 1:0:0:0: [sda] Attached SCSI removable disk
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.
Warning: fsck not present, so skipping root file system
[   14.636554] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   14.670320] EXT4-fs (sda1): 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 'debian'...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...[   17.248020] sd 1:0:0:0: Attached scsi generic sg0 type 0
done.
[ ok ] Activating swap:.
[   19.530797] EXT4-fs (sda1): re-mounted. Opts: (null)
[....] Will now check root file system:fsck from util-linux 2.29.2
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -y -C0 /dev/sda1 
e2fsck 1.43.4 (31-Jan-2017)
Superblock last mount time (Fri Sep 21 14:41:30 2018,
        now = Tue Jan  1 06:21:21 2013) is in the future.
Fix? yes

Superblock last write time (Fri Sep 21 14:46:07 2018,
        now = Tue Jan  1 06:21:21 2013) is in the future.
Fix? yes

Pass 1: Checking inodes, blocks, and sizes
[   20.690882] random: crng init done                            \  4.7%   
Pass 2: Checking directory structure                                           
Pass 3: Checking directory connectivity                                        
Pass 4: Checking reference counts
Pass 5: Checking group summary information                                     
rootfs: 22023/488640 files (5.7% non-contiguous), 202899/1953536 blocks        
. ok 
[   28.857964] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[ ok ] Will now activate lvm and md swap:done.
[info] Will now check all file systems.
fsck from util-linux 2.29.2
Checking all file systems.
LABEL=rootfs is mounted
[ ok ] Done checking file systems. A log is being saved in /var/log/fsck/checkfs if that location is writable..
[ ok ] Cleaning up temporary files...[....] Cleaning /tmp...done.
[ ok .
[ ok ] Will now mount local filesystems:.
[ ok ] Will now activate swapfile swap:done.
[ ok ] Checking minimum space in /tmp...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables...done.
[ ok ] Initializing random number generator...done.
[....] 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/

Cannot find device "eth0"
Failed to get interface index: No such device

If you think you have received this message due to a bug rather
than a configuration issue please read the section on submitting
bugs on either our web page at www.isc.org or in the README file
before submitting a bug.  These pages explain the proper
process and the information we find helpful for debugging..

exiting.
ifup: failed to bring up eth0
failed.
[ ok ] Starting RPC port mapper daemon: rpcbind.
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Cleaning up temporary files....
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
2437 (syslogd)
. ok 
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[ ok ] Starting periodic command scheduler: cron.
[ ok ] Starting system message bus: dbus.
[ ok ] Starting NTP server: ntpd.
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
2438 (klogd)
. ok 
[ ok ] Running local boot scripts (/etc/rc.local).

Debian GNU/Linux 9 debian ttyS0

debian login: 

Re: Chip PC LXD8941
September 21, 2018 04:43PM
Koen,

Quote

Bodhi it really amazes me how you can troubleshoot these devices remotely based on just some short log. Below the boot log of booting with the dove-dove-db.dtb file.

Cool! we got pretty far for a first boot :) The console boot log has a lot of information even though sometime it seems too cryptic.

[    0.000000] Division by zero in kernel.
[    0.000000] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.12.4-mvebu-tld-1 #1
[    0.000000] Hardware name: Marvell Dove
[    0.000000] [<c0116150>] (unwind_backtrace) from [<c0110bcc>] (show_stack+0x10/0x14)
[    0.000000] [<c0110bcc>] (show_stack) from [<c04df674>] (dump_stack+0x70/0x8c)
[    0.000000] [<c04df674>] (dump_stack) from [<c04de174>] (Ldiv0+0x8/0x10)
[    0.000000] [<c04de174>] (Ldiv0) from [<c0549128>] (dove_recalc_rate+0x44/0x8c)
[    0.000000] [<c0549128>] (dove_recalc_rate) from [<c0545720>] (clk_register+0x38c/0x590)
[    0.000000] [<c0545720>] (clk_register) from [<c0c33644>] (dove_divider_clk_init+0xe8/0x12c)
[    0.000000] [<c0c33644>] (dove_divider_clk_init) from [<c0c334d0>] (dove_clk_init+0x4c/0x74)
[    0.000000] [<c0c334d0>] (dove_clk_init) from [<c0c323c4>] (of_clk_init+0x174/0x214)
[    0.000000] [<c0c323c4>] (of_clk_init) from [<c0c03930>] (time_init+0x20/0x2c)
[    0.000000] [<c0c03930>] (time_init) from [<c0c00af8>] (start_kernel+0x210/0x394)
[    0.000000] [<c0c00af8>] (start_kernel) from [<0000807c>] (0x807c)

This indicate some DTS changes is needed re the timing. Perhaps we just missed some parameters. But it seems this did not effect the kernel. It does have a good clock source after all that.

[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 11467562657 ns
[    0.000008] sched_clock: 32 bits at 166MHz, resolution 6ns, wraps every 12884901885ns
[    0.007909] Switching to timer-based delay loop, resolution 6ns

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Chip PC LXD8941
September 21, 2018 04:47PM
This box has a different network chip: 88e1318, as you observed.

https://forum.doozan.com/read.php?2,67954,67969#msg-67969

So it is probably the reason you did not have ethernet.

Quote

ifup: failed to bring up eth0

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Chip PC LXD8941
September 21, 2018 04:57PM
Hi bodhi,

I didn't have a cable plugged in and also the dove-dove-db.dtb file has ethernet set to disabled. It's getting late here but tomorrow I'll start to enable different sections in the dtb file to see if it changes things. Thanks for your help as always.

Koen

			ethernet-ctrl@72000 {
				compatible = "marvell,orion-eth";
				#address-cells = <0x1>;
				#size-cells = <0x0>;
				reg = <0x72000 0x4000>;
				clocks = <0x9 0x2>;
				marvell,tx-checksum-limit = <0x640>;
				status = "disabled";

				ethernet-port@0 {
					compatible = "marvell,orion-eth-port";
					reg = <0x0>;
					interrupts = <0x1d>;
					local-mac-address = [00 00 00 00 00 00];
					phy-handle = <0x10>;
				};
			};
Re: Chip PC LXD8941
September 21, 2018 05:04PM
> I didn't have a cable plugged in

Ah. I see.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Chip PC LXD8941
September 22, 2018 02:03AM
Enabling the ethernet related sections in the dtb and plugging in a cable does result in a working connection although there still are some errors in the boot log.

Koen

MIC>> run bootcmd_exec
(Re)start USB...
USB:   Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 3 USB Device(s) found
Waiting for storage device(s) to settle before scanning...
       scanning bus for storage devices... 1 Storage Device(s) found
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
......
......
............
.........................
...................................................
......................................................................................................
.............................................................................................................................................................................................
4035317 bytes read
Loading file "/boot/uInitrd" from usb device 0:1 (usbda1)
......
......
............
.........................
...................................................
......................................................................................................
............................................................................................................................................................................................................
........................................................................................................................................................................................................................................................................................
7070236 bytes read
## Booting kernel from Legacy Image at 03000000 ...
   Image Name:   Linux-4.12.4-mvebu-tld-1
   Created:      2018-09-22   7:39:09 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4035253 Bytes =  3.8 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 04000000 ...
   Image Name:   initramfs-4.12.4-mvebu-tld-1
   Created:      2017-08-22  11:10:43 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7070172 Bytes =  6.7 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

EUGENE lcd_disable
EUGENE lcd_panel_disable
Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.12.4-mvebu-tld-1 (root@tldDebianVM) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #1 SMP PREEMPT Sat Jul 29 21:56:37 PDT 2017
[    0.000000] CPU: ARMv7 Processor [413fc081] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] OF: fdt: Machine model: Marvell DB-MV88AP510-BP Development Board
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writeback
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] percpu: Embedded 17 pages/cpu @ef7d9000 s40460 r8192 d20980 u69632
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260608
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi0.0:768k(uboot),256k(uboot_env),768k(uboot2),-(kernel) earlyprintk=serial
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 1019144K/1048576K available (8192K kernel code, 712K rwdata, 2080K rodata, 1024K init, 331K bss, 29432K reserved, 0K cma-reserved, 262144K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0900000   (9184 kB)
[    0.000000]       .init : 0xc0c00000 - 0xc0d00000   (1024 kB)
[    0.000000]       .data : 0xc0d00000 - 0xc0db2308   ( 713 kB)
[    0.000000]        .bss : 0xc0db9a84 - 0xc0e0ca58   ( 332 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] Division by zero in kernel.
[    0.000000] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.12.4-mvebu-tld-1 #1
[    0.000000] Hardware name: Marvell Dove
[    0.000000] [<c0116150>] (unwind_backtrace) from [<c0110bcc>] (show_stack+0x10/0x14)
[    0.000000] [<c0110bcc>] (show_stack) from [<c04df674>] (dump_stack+0x70/0x8c)
[    0.000000] [<c04df674>] (dump_stack) from [<c04de174>] (Ldiv0+0x8/0x10)
[    0.000000] [<c04de174>] (Ldiv0) from [<c0549128>] (dove_recalc_rate+0x44/0x8c)
[    0.000000] [<c0549128>] (dove_recalc_rate) from [<c0545720>] (clk_register+0x38c/0x590)
[    0.000000] [<c0545720>] (clk_register) from [<c0c33644>] (dove_divider_clk_init+0xe8/0x12c)
[    0.000000] [<c0c33644>] (dove_divider_clk_init) from [<c0c334d0>] (dove_clk_init+0x4c/0x74)
[    0.000000] [<c0c334d0>] (dove_clk_init) from [<c0c323c4>] (of_clk_init+0x174/0x214)
[    0.000000] [<c0c323c4>] (of_clk_init) from [<c0c03930>] (time_init+0x20/0x2c)
[    0.000000] [<c0c03930>] (time_init) from [<c0c00af8>] (start_kernel+0x210/0x394)
[    0.000000] [<c0c00af8>] (start_kernel) from [<0000807c>] (0x807c)
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 11467562657 ns
[    0.000007] sched_clock: 32 bits at 166MHz, resolution 6ns, wraps every 12884901885ns
[    0.007909] Switching to timer-based delay loop, resolution 6ns
[    0.014455] Console: colour dummy device 80x30
[    0.019032] Calibrating delay loop (skipped), value calculated using timer frequency.. 333.33 BogoMIPS (lpj=1666666)
[    0.029625] pid_max: default: 32768 minimum: 301
[    0.034477] Security Framework initialized
[    0.038760] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.045439] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.053366] CPU: Testing write buffer coherency: ok
[    0.058670] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[    0.098047] Setting up static identity map for 0x100000 - 0x100060
[    0.157958] smp: Bringing up secondary CPUs ...
[    0.162561] smp: Brought up 1 node, 1 CPU
[    0.166637] SMP: Total of 1 processors activated (333.33 BogoMIPS).
[    0.173010] CPU: All CPU(s) started in SVC mode.
[    0.178604] devtmpfs: initialized
[    0.188178] VFP support v0.3: implementor 41 architecture 2 part 20 variant 9 rev 5
[    0.196441] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.206520] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.213123] prandom: seed boundary self test passed
[    0.221384] prandom: 100 self tests passed
[    0.225553] pinctrl core: initialized pinctrl subsystem
[    0.232813] NET: Registered protocol family 16
[    0.238813] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.258055] cpuidle: using governor ladder
[    0.262283] cpuidle: using governor menu
[    0.266457] Dove 88AP510 SoC
[    0.269741] Tauros2: Disabling L2 prefetch.
[    0.273996] Tauros2: Disabling burst8 line fill.
[    0.278764] Tauros2: Enabling L2 cache.
[    0.282671] Tauros2: L2 cache support initialised in ARMv7 mode.
[    0.289192] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.388514] vgaarb: loaded
[    0.391615] SCSI subsystem initialized
[    0.398511] usbcore: registered new interface driver usbfs
[    0.404110] usbcore: registered new interface driver hub
[    0.410430] usbcore: registered new device driver usb
[    0.416142] media: Linux media interface: v0.10
[    0.421197] Linux video capture interface: v2.00
[    0.428404] clocksource: Switched to clocksource orion_clocksource
[    0.514023] VFS: Disk quotas dquot_6.6.0
[    0.518091] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.544932] NET: Registered protocol family 2
[    0.550586] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.557750] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.565016] TCP: Hash tables configured (established 8192 bind 8192)
[    0.571734] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.577730] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.584359] NET: Registered protocol family 1
[    0.609321] RPC: Registered named UNIX socket transport module.
[    0.615301] RPC: Registered udp transport module.
[    0.620132] RPC: Registered tcp transport module.
[    0.624900] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.631622] Unpacking initramfs...
[    1.091929] Freeing initrd memory: 6908K
[    1.096121] NetWinder Floating Point Emulator V0.97 (double precision)
[    1.104590] audit: initializing netlink subsys (disabled)
[    1.111369] Initialise system trusted keyrings
[    1.115915] Key type blacklist registered
[    1.120066] audit: type=2000 audit(1.102:1): state=initialized audit_enabled=0 res=1
[    1.128240] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    1.134942] zbud: loaded
[    1.158653] NFS: Registering the id_resolver key type
[    1.163785] Key type id_resolver registered
[    1.168036] Key type id_legacy registered
[    1.172159] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.178947] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    1.185564] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    1.193200] orangefs_debugfs_init: called with debug mask: :none: :0:
[    1.200025] orangefs_init: module version upstream loaded
[    1.211080] Key type asymmetric registered
[    1.215247] Asymmetric key parser 'x509' registered
[    1.220334] bounce: pool size: 64 pages
[    1.224343] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    1.232099] io scheduler noop registered
[    1.236085] io scheduler deadline registered
[    1.240551] io scheduler cfq registered (default)
[    1.246239] dove-pinctrl f10d0200.pin-ctrl: falling back to hardcoded PMU resource
[    1.254357] dove-pinctrl f10d0200.pin-ctrl: [Firmware Bug]: Missing pinctrl regs in DTB. Please update your firmware.
[    1.265778] dove-pinctrl f10d0200.pin-ctrl: registered pinctrl driver
[    1.276564] mv_xor f1060800.dma-engine: Marvell shared XOR driver
[    1.339523] mv_xor f1060800.dma-engine: Marvell XOR (Registers Mode): ( xor cpy sg intr )
[    1.348059] mv_xor f1060900.dma-engine: Marvell shared XOR driver
[    1.409490] mv_xor f1060900.dma-engine: Marvell XOR (Registers Mode): ( xor cpy sg intr )
[    1.546456] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.556631] console [ttyS0] disabled
[    1.561313] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 21, base_baud = 10416666) is a 16550A
[    1.570535] console [ttyS0] enabled
[    1.570535] console [ttyS0] enabled
[    1.577556] bootconsole [earlycon0] disabled
[    1.577556] bootconsole [earlycon0] disabled
[    1.587419] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 22, base_baud = 10416666) is a 16550A
[    1.598263] sata_mv f10a0000.sata-host: slots 32 ports 1
[    1.615788] scsi host0: sata_mv
[    1.619481] ata1: SATA max UDMA/133 irq 33
[    1.625391] m25p80 spi0.0: mx25l1606e (2048 Kbytes)
[    1.630474] 4 cmdlinepart partitions found on MTD device spi0.0
[    1.636733] Creating 4 MTD partitions on "spi0.0":
[    1.642222] 0x000000000000-0x0000000c0000 : "uboot"
[    1.658720] 0x0000000c0000-0x000000100000 : "uboot_env"
[    1.675561] 0x000000100000-0x0000001c0000 : "uboot2"
[    1.692283] 0x0000001c0000-0x000000200000 : "kernel"
[    1.711323] libphy: Fixed MDIO Bus: probed
[    1.718524] libphy: orion_mdio_bus: probed
[    1.722613] mdio_bus f1072004.mdio-bus-mii: /mbus/internal-regs/mdio-bus@72004/ethernet-phy has invalid PHY address
[    1.733920] mdio_bus f1072004.mdio-bus-mii: scan phy ethernet-phy at address 0
[    1.741566] mdio_bus f1072004.mdio-bus-mii: scan phy ethernet-phy at address 1
[    1.755199] mdio_bus f1072004.mdio-bus-mii: scan phy ethernet-phy at address 2
[    1.762873] mdio_bus f1072004.mdio-bus-mii: scan phy ethernet-phy at address 3
[    1.770392] mdio_bus f1072004.mdio-bus-mii: scan phy ethernet-phy at address 4
[    1.777806] mdio_bus f1072004.mdio-bus-mii: scan phy ethernet-phy at address 5
[    1.785274] mdio_bus f1072004.mdio-bus-mii: scan phy ethernet-phy at address 6
[    1.792690] mdio_bus f1072004.mdio-bus-mii: scan phy ethernet-phy at address 7
[    1.800111] mdio_bus f1072004.mdio-bus-mii: scan phy ethernet-phy at address 8
[    1.807526] mdio_bus f1072004.mdio-bus-mii: scan phy ethernet-phy at address 9
[    1.814943] mdio_bus f1072004.mdio-bus-mii: scan phy ethernet-phy at address 10
[    1.822463] mdio_bus f1072004.mdio-bus-mii: scan phy ethernet-phy at address 11
[    1.829978] mdio_bus f1072004.mdio-bus-mii: scan phy ethernet-phy at address 12
[    1.837445] mdio_bus f1072004.mdio-bus-mii: scan phy ethernet-phy at address 13
[    1.845023] mdio_bus f1072004.mdio-bus-mii: scan phy ethernet-phy at address 14
[    1.852541] mdio_bus f1072004.mdio-bus-mii: scan phy ethernet-phy at address 15
[    1.860062] mdio_bus f1072004.mdio-bus-mii: scan phy ethernet-phy at address 16
[    1.867583] mdio_bus f1072004.mdio-bus-mii: scan phy ethernet-phy at address 17
[    1.875103] mdio_bus f1072004.mdio-bus-mii: scan phy ethernet-phy at address 18
[    1.882622] mdio_bus f1072004.mdio-bus-mii: scan phy ethernet-phy at address 19
[    1.890143] mdio_bus f1072004.mdio-bus-mii: scan phy ethernet-phy at address 20
[    1.897664] mdio_bus f1072004.mdio-bus-mii: scan phy ethernet-phy at address 21
[    1.905185] mdio_bus f1072004.mdio-bus-mii: scan phy ethernet-phy at address 22
[    1.912704] mdio_bus f1072004.mdio-bus-mii: scan phy ethernet-phy at address 23
[    1.920224] mdio_bus f1072004.mdio-bus-mii: scan phy ethernet-phy at address 24
[    1.927628] random: fast init done
[    1.931140] mdio_bus f1072004.mdio-bus-mii: scan phy ethernet-phy at address 25
[    1.938659] mdio_bus f1072004.mdio-bus-mii: scan phy ethernet-phy at address 26
[    1.946181] mdio_bus f1072004.mdio-bus-mii: scan phy ethernet-phy at address 27
[    1.953501] ata1: SATA link down (SStatus 0 SControl F300)
[    1.959238] mdio_bus f1072004.mdio-bus-mii: scan phy ethernet-phy at address 28
[    1.966705] mdio_bus f1072004.mdio-bus-mii: scan phy ethernet-phy at address 29
[    1.974225] mdio_bus f1072004.mdio-bus-mii: scan phy ethernet-phy at address 30
[    1.981746] mdio_bus f1072004.mdio-bus-mii: scan phy ethernet-phy at address 31
[    1.989546] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    2.089889] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:05:35:09:92:9a
[    2.099525] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.106041] ehci-pci: EHCI PCI platform driver
[    2.110931] ehci-orion: EHCI orion driver
[    2.115090] orion-ehci f1050000.usb-host: EHCI Host Controller
[    2.121062] orion-ehci f1050000.usb-host: new USB bus registered, assigned bus number 1
[    2.129343] orion-ehci f1050000.usb-host: irq 26, io mem 0xf1050000
[    2.158435] orion-ehci f1050000.usb-host: USB 2.0 started, EHCI 1.00
[    2.165004] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.171795] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.179000] usb usb1: Product: EHCI Host Controller
[    2.183853] usb usb1: Manufacturer: Linux 4.12.4-mvebu-tld-1 ehci_hcd
[    2.190282] usb usb1: SerialNumber: f1050000.usb-host
[    2.196041] hub 1-0:1.0: USB hub found
[    2.199998] hub 1-0:1.0: 1 port detected
[    2.204385] orion-ehci f1051000.usb-host: EHCI Host Controller
[    2.210279] orion-ehci f1051000.usb-host: new USB bus registered, assigned bus number 2
[    2.218375] orion-ehci f1051000.usb-host: irq 27, io mem 0xf1051000
[    2.248435] orion-ehci f1051000.usb-host: USB 2.0 started, EHCI 1.00
[    2.254969] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    2.261753] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.268960] usb usb2: Product: EHCI Host Controller
[    2.273813] usb usb2: Manufacturer: Linux 4.12.4-mvebu-tld-1 ehci_hcd
[    2.280241] usb usb2: SerialNumber: f1051000.usb-host
[    2.285974] hub 2-0:1.0: USB hub found
[    2.289922] hub 2-0:1.0: 1 port detected
[    2.294897] usbcore: registered new interface driver usblp
[    2.300844] usbcore: registered new interface driver usb-storage
[    2.307312] mousedev: PS/2 mouse device common for all mice
[    2.314248] rtc-mv f10d8500.real-time-clock: rtc core: registered f10d8500.real-time- as rtc0
[    2.323533] i2c /dev entries driver
[    2.329599] orion_wdt: Initial timeout 25 sec
[    2.337279] marvell-cesa f1030000.crypto-engine: CESA device successfully registered
[    2.345603] hidraw: raw HID events driver (C) Jiri Kosina
[    2.351952] usbcore: registered new interface driver usbhid
[    2.357497] usbhid: USB HID core driver
[    2.361955] drop_monitor: Initializing network drop monitor service
[    2.368247] Netfilter messages via NETLINK v0.30.
[    2.373208] ip_set: protocol 6
[    2.376570] NET: Registered protocol family 10
[    2.392111] Segment Routing with IPv6
[    2.395814] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.403832] NET: Registered protocol family 17
[    2.408311] 8021q: 802.1Q VLAN Support v1.8
[    2.412889] Key type dns_resolver registered
[    2.417337] ThumbEE CPU extension supported.
[    2.421784] Registering SWP/SWPB emulation handler
[    2.427472] registered taskstats version 1
[    2.431870] Loading compiled-in X.509 certificates
[    2.436696] zswap: loaded using pool lzo/zbud
[    2.457476] Key type big_key registered
[    2.468770] Key type encrypted registered
[    2.485101] rtc-mv f10d8500.real-time-clock: hctosys: unable to read the hardware clock
[    2.495912] Freeing unused kernel memory: 1024K
Loading, please wait...
[    2.558520] usb 1-1: new high-speed USB device number 2 using orion-ehci
starting version 232
[    2.648486] usb 2-1: new high-speed USB device number 2 using orion-ehci
[    2.760351] usb 1-1: New USB device found, idVendor=05e3, idProduct=0610
[    2.767046] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    2.788538] usb 1-1: Product: USB2.0 Hub
[    2.801260] hub 1-1:1.0: USB hub found
[    2.818521] hub 1-1:1.0: 4 ports detected
[    2.860387] usb 2-1: New USB device found, idVendor=05e3, idProduct=0610
[    2.867080] usb 2-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    2.888529] usb 2-1: Product: USB2.0 Hub
[    2.905926] hub 2-1:1.0: USB hub found
[    2.919030] hub 2-1:1.0: 4 ports detected
[    3.138513] usb 1-1.4: new high-speed USB device number 3 using orion-ehci
[    3.145777] i2c i2c-0: Added multiplexed i2c bus 1
[    3.152795] i2c i2c-0: Added multiplexed i2c bus 2
[    3.180131] i2c i2c-0: Added multiplexed i2c bus 3
[    3.274992] sdhci: Secure Digital Host Controller Interface driver
[    3.299472] usb 1-1.4: New USB device found, idVendor=0781, idProduct=5530
[    3.299482] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.299488] usb 1-1.4: Product: Cruzer
[    3.299495] usb 1-1.4: Manufacturer: SanDisk
[    3.299501] usb 1-1.4: SerialNumber: 20060775210A3B80C5B2
[    3.300306] usb-storage 1-1.4:1.0: USB Mass Storage device detected
[    3.316064] scsi host1: usb-storage 1-1.4:1.0
[    3.469474] sdhci: Copyright(c) Pierre Ossman
[    3.474637] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.559069] mmc0: SDHCI controller on f1090000.sdio-host [f1090000.sdio-host] using DMA
[    3.648527] mmc1: SDHCI controller on f1092000.sdio-host [f1092000.sdio-host] using DMA
[    3.707833] mmc1: new high speed MMC card at address 0001
[    4.343065] scsi 1:0:0:0: Direct-Access     SanDisk  Cruzer           1.26 PQ: 0 ANSI: 5
[    4.371518] sd 1:0:0:0: [sda] 15633408 512-byte logical blocks: (8.00 GB/7.45 GiB)
[    4.384229] usbcore: registered new interface driver uas
[    4.391145] sd 1:0:0:0: [sda] Write Protect is off
[    4.391880] sd 1:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    4.402261]  sda: sda1
[    4.405633] sd 1:0:0:0: [sda] Attached SCSI removable disk
[    4.426874] mmcblk1: mmc1:0001 SEM02G 1.82 GiB 
[    4.439877] mmcblk1boot0: mmc1:0001 SEM02G partition 1 1.00 MiB
[    4.451522] mmcblk1boot1: mmc1:0001 SEM02G partition 2 1.00 MiB
[    4.479086] mmcblk1rpmb: mmc1:0001 SEM02G partition 3 128 KiB
[    4.488466]  mmcblk1: p1 p2 p3
[    4.492312] mmcblk1: p3 size 1831410 extends beyond EOD, truncated
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.
Warning: fsck not present, so skipping root file system
[   14.868040] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   14.901678] EXT4-fs (sda1): 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 'debian'...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...[   17.629340] sd 1:0:0:0: Attached scsi generic sg0 type 0
done.
[ ok ] Activating swap:.
[   19.819212] EXT4-fs (sda1): re-mounted. Opts: (null)
[....] Will now check root file system:fsck from util-linux 2.29.2
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -y -C0 /dev/sda1 
e2fsck 1.43.4 (31-Jan-2017)
rootfs: clean, 22026/488640 files, 202915/1953536 blocks
. ok 
[   20.058700] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[ ok ] Will now activate lvm and md swap:done.
[info] Will now check all file systems.
fsck from util-linux 2.29.2
Checking all file systems.
LABEL=rootfs is mounted
[ ok ] Done checking file systems. A log is being saved in /var/log/fsck/checkfs if that location is writable..
[   21.035127] random: crng init done
[ ok ] Cleaning up temporary files...[....] Cleaning /tmp...done.
[ ok .
[ ok ] Will now mount local filesystems:.
[ ok ] Will now activate swapfile swap:done.
[ ok ] Checking minimum space in /tmp...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables...done.
[ ok ] Initializing random number generator...done.
[   22.771028] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   25.129072] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   25.138911] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[....] 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/eth0/00:05:35:09:92:9a
Sending on   LPF/eth0/00:05:35:09:92:9a
Sending on   Socket/fallback
DHCPREQUEST of 192.168.0.17 on eth0 to 255.255.255.255 port 67
DHCPREQUEST of 192.168.0.17 on eth0 to 255.255.255.255 port 67
DHCPNAK from 192.168.1.1
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
DHCPREQUEST of 192.168.1.135 on eth0 to 255.255.255.255 port 67
DHCPOFFER of 192.168.1.135 from 192.168.1.1
DHCPACK of 192.168.1.135 from 192.168.1.1
bound to 192.168.1.135 -- renewal in 17533 seconds.
done.
[ ok ] Starting RPC port mapper daemon: rpcbind.
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Cleaning up temporary files....
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
2502 (syslogd)
. ok 
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[ ok ] Starting periodic command scheduler: cron.
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
2506 (klogd)
. ok 
[ ok ] Starting system message bus: dbus.
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[ ok ] Starting NTP server: ntpd.
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[ ok ] Running local boot scripts (/etc/rc.local).

Debian GNU/Linux 9 debian ttyS0

debian login: root
Password: 
Last login: Wed Dec 31 16:00:53 PST 1969 on ttyS0
Linux debian 4.12.4-mvebu-tld-1 #1 SMP PREEMPT Sat Jul 29 21:56:37 PDT 2017 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
debian
192.168.1.135
Marvell DB-MV88AP510-BP Development Board
Linux version 4.12.4-mvebu-tld-1 (root@tldDebianVM) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #1 SMP PREEMPT Sat Jul 29 21:56:37 PDT 2017
Debian 9.1
Sat Sep 22 00:41:49 PDT 2018 up
root@debian:~# 
root@debian:~# ping google.com
PING google.com (172.217.12.206) 56(84) bytes of data.
64 bytes from lga25s63-in-f14.1e100.net (172.217.12.206): icmp_seq=1 ttl=50 time=100 ms
64 bytes from lga25s63-in-f14.1e100.net (172.217.12.206): icmp_seq=2 ttl=50 time=99.0 ms
64 bytes from lga25s63-in-f14.1e100.net (172.217.12.206): icmp_seq=3 ttl=50 time=101 ms
64 bytes from lga25s63-in-f14.1e100.net (172.217.12.206): icmp_seq=4 ttl=50 time=98.2 ms
64 bytes from lga25s63-in-f14.1e100.net (172.217.12.206): icmp_seq=5 ttl=50 time=98.5 ms
64 bytes from lga25s63-in-f14.1e100.net (172.217.12.206): icmp_seq=6 ttl=50 time=100 ms
^C
--- google.com ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5006ms
rtt min/avg/max/mdev = 98.241/99.682/101.260/1.173 ms
root@debian:~# 

Re: Chip PC LXD8941
September 22, 2018 02:09AM
Some more info about the device:

mtd info:

root@debian:/# mtdinfo 
Count of MTD devices:           4
Present MTD devices:            mtd0, mtd1, mtd2, mtd3
Sysfs interface supported:      yes
root@debian:/# 
root@debian:/# mtdinfo /dev/mtd0
mtd0
Name:                           uboot
Type:                           nor
Eraseblock size:                4096 bytes, 4.0 KiB
Amount of eraseblocks:          192 (786432 bytes, 768.0 KiB)
Minimum input/output unit size: 1 byte
Sub-page size:                  1 byte
Character device major/minor:   90:0
Bad blocks are allowed:         false
Device is writable:             true

root@debian:/# 
root@debian:/# mtdinfo /dev/mtd1
mtd1
Name:                           uboot_env
Type:                           nor
Eraseblock size:                4096 bytes, 4.0 KiB
Amount of eraseblocks:          64 (262144 bytes, 256.0 KiB)
Minimum input/output unit size: 1 byte
Sub-page size:                  1 byte
Character device major/minor:   90:2
Bad blocks are allowed:         false
Device is writable:             true

root@debian:/# mtdinfo /dev/mtd2
mtd2
Name:                           uboot2
Type:                           nor
Eraseblock size:                4096 bytes, 4.0 KiB
Amount of eraseblocks:          192 (786432 bytes, 768.0 KiB)
Minimum input/output unit size: 1 byte
Sub-page size:                  1 byte
Character device major/minor:   90:4
Bad blocks are allowed:         false
Device is writable:             true

root@debian:/# mtdinfo /dev/mtd3
mtd3
Name:                           kernel
Type:                           nor
Eraseblock size:                4096 bytes, 4.0 KiB
Amount of eraseblocks:          64 (262144 bytes, 256.0 KiB)
Minimum input/output unit size: 1 byte
Sub-page size:                  1 byte
Character device major/minor:   90:6
Bad blocks are allowed:         false
Device is writable:             true

root@debian:/#

list of the partitions:

root@debian:/mnt# cat /proc/partitions      
major minor  #blocks  name

  31        0        768 mtdblock0
  31        1        256 mtdblock1
  31        2        768 mtdblock2
  31        3        256 mtdblock3
   8        0    7816704 sda
   8        1    7814144 sda1
 179        0    1912832 mmcblk1
 179        1       8001 mmcblk1p1
 179        2    1028160 mmcblk1p2
 179        3     876639 mmcblk1p3
 179       24        128 mmcblk1rpmb
 179       16       1024 mmcblk1boot1
 179        8       1024 mmcblk1boot0
root@debian:/mnt#

Not all partitions can be mounted.

root@debian:/mnt# mount /dev/mmcblk1p1 /mnt/temp/
[  976.987752] FAT-fs (mmcblk1p1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
[  976.999612] FAT-fs (mmcblk1p1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
[  977.059711] F2FS-fs (mmcblk1p1): Magic Mismatch, valid(0xf2f52010) - read(0x0)
[  977.066958] F2FS-fs (mmcblk1p1): Can't find valid F2FS filesystem in 1th superblock
[  977.075635] F2FS-fs (mmcblk1p1): Magic Mismatch, valid(0xf2f52010) - read(0x0)
[  977.082824] F2FS-fs (mmcblk1p1): Can't find valid F2FS filesystem in 2th superblock
[  977.090740] F2FS-fs (mmcblk1p1): Magic Mismatch, valid(0xf2f52010) - read(0x0)
[  977.098075] F2FS-fs (mmcblk1p1): Can't find valid F2FS filesystem in 1th superblock
[  977.105835] F2FS-fs (mmcblk1p1): Magic Mismatch, valid(0xf2f52010) - read(0x0)
[  977.113154] F2FS-fs (mmcblk1p1): Can't find valid F2FS filesystem in 2th superblock
mount: wrong fs type, bad option, bad superblock on /dev/mmcblk1p1,
       missing codepage or helper program, or other error

       In some cases useful info is found in syslog - try
       dmesg | tail or so.
root@debian:/mnt# 
root@debian:/mnt# mount /dev/mmcblk1p2 /mnt/temp/
[  992.965487] EXT4-fs (mmcblk1p2): mounting ext3 file system using the ext4 subsystem
[  992.992895] EXT4-fs (mmcblk1p2): warning: maximal mount count reached, running e2fsck is recommended
[  993.003238] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
root@debian:/mnt# 
root@debian:/mnt# cd temp/
root@debian:/mnt/temp# ll
total 320036
drwxr-xr-x 3 root root      4096 Sep 22 00:49 .
drwxr-xr-x 3 root root      4096 Sep 22 00:48 ..
drwx------ 2 root root     16384 Feb  4  1930 lost+found
-rw-r--r-- 1 root root    787508 Jul 21  2013 tffsb
-rw-r--r-- 1 root root    524288 Oct 15  2000 tffsd
-rw-r--r-- 1 root root        80 Dec 31  2012 tffsf
-rw-r--r-- 1 root root  14119164 Jan 21  2014 tffsg
-rw-r--r-- 1 root root 155951104 Feb  2  2014 tffsh
-rw-r--r-- 1 root root 155951104 Feb  2  2014 tffsi
root@debian:/mnt/temp# 
root@debian:/mnt/temp# umount /mnt/temp/
umount: /mnt/temp/: target is busy
        (In some cases useful info about processes that
         use the device is found by lsof(8) or fuser(1).)
root@debian:/mnt/temp# cd ..
root@debian:/mnt# umount /mnt/temp/
root@debian:/mnt# mount /dev/mmcblk1p3 /mnt/temp/
[ 1026.183919] EXT4-fs (mmcblk1p3): mounting ext3 file system using the ext4 subsystem
[ 1026.212726] EXT4-fs (mmcblk1p3): mounted filesystem with ordered data mode. Opts: (null)
root@debian:/mnt# cd temp/
root@debian:/mnt/temp# ll
total 56
drwxr-xr-x 11 root root  4096 May 18  2016 .
drwxr-xr-x  3 root root  4096 Sep 22 00:48 ..
-r--r--r--  3 root root     0 May 18  2016 .wh..wh.aufs
drwx------  2 root root  4096 May 18  2016 .wh..wh.orph
drwx------  2 root root  4096 May 18  2016 .wh..wh.plnk
drwxr-xr-x  2 root root  4096 May 18  2016 doc
drwxr-xr-x  9 root root  4096 Dec 31  2012 etc
drwxrwxrwx  3 root root  4096 Jan 14  2014 lib
drwx------  2 root root 16384 May 18  2016 lost+found
drwxr-xr-x 12 root root  4096 Dec 31  2012 root
drwxr-xr-x  4 root root  4096 May 18  2016 usr
drwxr-xr-x  5 root root  4096 Jan  2  2013 var
root@debian:/mnt/temp# 

Re: Chip PC LXD8941
September 22, 2018 02:10AM
Koen,

This should be easy to fix. We've seen this before on the Wyse T50. The PHY address in the DTS is not correct. But the driver is resilient enough to finally got you a working NIC.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Chip PC LXD8941
September 22, 2018 05:36AM
Hi bodhi,

I've added the same reg entry as the T50 and the ethernet errors have disappeared from the bootlog while the internet is working OK.

Koen

				ethernet-phy {
					reg = <0x1>;
					linux,phandle = <0x10>;				
					phandle = <0x10>;
				};

bootlog

MIC>> run bootcmd_exec
(Re)start USB...
USB:   Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 3 USB Device(s) found
Waiting for storage device(s) to settle before scanning...
       scanning bus for storage devices... 1 Storage Device(s) found
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
......
......
............
.........................
...................................................
......................................................................................................
.............................................................................................................................................................................................
4035333 bytes read
Loading file "/boot/uInitrd" from usb device 0:1 (usbda1)
......
......
............
.........................
...................................................
......................................................................................................
............................................................................................................................................................................................................
........................................................................................................................................................................................................................................................................................
7070236 bytes read
## Booting kernel from Legacy Image at 03000000 ...
   Image Name:   Linux-4.12.4-mvebu-tld-1
   Created:      2018-09-22  11:29:49 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4035269 Bytes =  3.8 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 04000000 ...
   Image Name:   initramfs-4.12.4-mvebu-tld-1
   Created:      2017-08-22  11:10:43 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7070172 Bytes =  6.7 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

EUGENE lcd_disable
EUGENE lcd_panel_disable
Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.12.4-mvebu-tld-1 (root@tldDebianVM) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #1 SMP PREEMPT Sat Jul 29 21:56:37 PDT 2017
[    0.000000] CPU: ARMv7 Processor [413fc081] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] OF: fdt: Machine model: Marvell DB-MV88AP510-BP Development Board
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writeback
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] percpu: Embedded 17 pages/cpu @ef7d9000 s40460 r8192 d20980 u69632
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260608
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi0.0:768k(uboot),256k(uboot_env),768k(uboot2),-(kernel) earlyprintk=serial
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 1019144K/1048576K available (8192K kernel code, 712K rwdata, 2080K rodata, 1024K init, 331K bss, 29432K reserved, 0K cma-reserved, 262144K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0900000   (9184 kB)
[    0.000000]       .init : 0xc0c00000 - 0xc0d00000   (1024 kB)
[    0.000000]       .data : 0xc0d00000 - 0xc0db2308   ( 713 kB)
[    0.000000]        .bss : 0xc0db9a84 - 0xc0e0ca58   ( 332 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] Division by zero in kernel.
[    0.000000] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.12.4-mvebu-tld-1 #1
[    0.000000] Hardware name: Marvell Dove
[    0.000000] [<c0116150>] (unwind_backtrace) from [<c0110bcc>] (show_stack+0x10/0x14)
[    0.000000] [<c0110bcc>] (show_stack) from [<c04df674>] (dump_stack+0x70/0x8c)
[    0.000000] [<c04df674>] (dump_stack) from [<c04de174>] (Ldiv0+0x8/0x10)
[    0.000000] [<c04de174>] (Ldiv0) from [<c0549128>] (dove_recalc_rate+0x44/0x8c)
[    0.000000] [<c0549128>] (dove_recalc_rate) from [<c0545720>] (clk_register+0x38c/0x590)
[    0.000000] [<c0545720>] (clk_register) from [<c0c33644>] (dove_divider_clk_init+0xe8/0x12c)
[    0.000000] [<c0c33644>] (dove_divider_clk_init) from [<c0c334d0>] (dove_clk_init+0x4c/0x74)
[    0.000000] [<c0c334d0>] (dove_clk_init) from [<c0c323c4>] (of_clk_init+0x174/0x214)
[    0.000000] [<c0c323c4>] (of_clk_init) from [<c0c03930>] (time_init+0x20/0x2c)
[    0.000000] [<c0c03930>] (time_init) from [<c0c00af8>] (start_kernel+0x210/0x394)
[    0.000000] [<c0c00af8>] (start_kernel) from [<0000807c>] (0x807c)
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 11467562657 ns
[    0.000008] sched_clock: 32 bits at 166MHz, resolution 6ns, wraps every 12884901885ns
[    0.007908] Switching to timer-based delay loop, resolution 6ns
[    0.014452] Console: colour dummy device 80x30
[    0.019023] Calibrating delay loop (skipped), value calculated using timer frequency.. 333.33 BogoMIPS (lpj=1666666)
[    0.029615] pid_max: default: 32768 minimum: 301
[    0.034468] Security Framework initialized
[    0.038752] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.045430] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.053359] CPU: Testing write buffer coherency: ok
[    0.058661] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[    0.098046] Setting up static identity map for 0x100000 - 0x100060
[    0.157960] smp: Bringing up secondary CPUs ...
[    0.162560] smp: Brought up 1 node, 1 CPU
[    0.166637] SMP: Total of 1 processors activated (333.33 BogoMIPS).
[    0.173012] CPU: All CPU(s) started in SVC mode.
[    0.178604] devtmpfs: initialized
[    0.188176] VFP support v0.3: implementor 41 architecture 2 part 20 variant 9 rev 5
[    0.196445] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.206521] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.213129] prandom: seed boundary self test passed
[    0.221390] prandom: 100 self tests passed
[    0.225553] pinctrl core: initialized pinctrl subsystem
[    0.232808] NET: Registered protocol family 16
[    0.238801] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.258059] cpuidle: using governor ladder
[    0.262284] cpuidle: using governor menu
[    0.266458] Dove 88AP510 SoC
[    0.269738] Tauros2: Disabling L2 prefetch.
[    0.273995] Tauros2: Disabling burst8 line fill.
[    0.278763] Tauros2: Enabling L2 cache.
[    0.282670] Tauros2: L2 cache support initialised in ARMv7 mode.
[    0.289189] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.388510] vgaarb: loaded
[    0.391609] SCSI subsystem initialized
[    0.398509] usbcore: registered new interface driver usbfs
[    0.404108] usbcore: registered new interface driver hub
[    0.410427] usbcore: registered new device driver usb
[    0.416142] media: Linux media interface: v0.10
[    0.421196] Linux video capture interface: v2.00
[    0.428383] clocksource: Switched to clocksource orion_clocksource
[    0.513975] VFS: Disk quotas dquot_6.6.0
[    0.518039] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.544196] NET: Registered protocol family 2
[    0.550434] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.557594] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.564776] TCP: Hash tables configured (established 8192 bind 8192)
[    0.571567] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.577566] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.584194] NET: Registered protocol family 1
[    0.609178] RPC: Registered named UNIX socket transport module.
[    0.615154] RPC: Registered udp transport module.
[    0.619985] RPC: Registered tcp transport module.
[    0.624753] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.631480] Unpacking initramfs...
[    1.091808] Freeing initrd memory: 6908K
[    1.096000] NetWinder Floating Point Emulator V0.97 (double precision)
[    1.104467] audit: initializing netlink subsys (disabled)
[    1.111251] Initialise system trusted keyrings
[    1.115788] Key type blacklist registered
[    1.119934] audit: type=2000 audit(1.102:1): state=initialized audit_enabled=0 res=1
[    1.128112] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    1.134813] zbud: loaded
[    1.158503] NFS: Registering the id_resolver key type
[    1.163635] Key type id_resolver registered
[    1.167880] Key type id_legacy registered
[    1.172012] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.178800] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    1.185418] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    1.193049] orangefs_debugfs_init: called with debug mask: :none: :0:
[    1.199879] orangefs_init: module version upstream loaded
[    1.210943] Key type asymmetric registered
[    1.215108] Asymmetric key parser 'x509' registered
[    1.220194] bounce: pool size: 64 pages
[    1.224197] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    1.231954] io scheduler noop registered
[    1.235947] io scheduler deadline registered
[    1.240413] io scheduler cfq registered (default)
[    1.246102] dove-pinctrl f10d0200.pin-ctrl: falling back to hardcoded PMU resource
[    1.254214] dove-pinctrl f10d0200.pin-ctrl: [Firmware Bug]: Missing pinctrl regs in DTB. Please update your firmware.
[    1.265631] dove-pinctrl f10d0200.pin-ctrl: registered pinctrl driver
[    1.276418] mv_xor f1060800.dma-engine: Marvell shared XOR driver
[    1.339442] mv_xor f1060800.dma-engine: Marvell XOR (Registers Mode): ( xor cpy sg intr )
[    1.347983] mv_xor f1060900.dma-engine: Marvell shared XOR driver
[    1.409376] mv_xor f1060900.dma-engine: Marvell XOR (Registers Mode): ( xor cpy sg intr )
[    1.546255] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.556452] console [ttyS0] disabled
[    1.561126] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 21, base_baud = 10416666) is a 16550A
[    1.570346] console [ttyS0] enabled
[    1.570346] console [ttyS0] enabled
[    1.577375] bootconsole [earlycon0] disabled
[    1.577375] bootconsole [earlycon0] disabled
[    1.587244] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 22, base_baud = 10416666) is a 16550A
[    1.598084] sata_mv f10a0000.sata-host: slots 32 ports 1
[    1.615607] scsi host0: sata_mv
[    1.619305] ata1: SATA max UDMA/133 irq 33
[    1.625205] m25p80 spi0.0: mx25l1606e (2048 Kbytes)
[    1.630281] 4 cmdlinepart partitions found on MTD device spi0.0
[    1.636536] Creating 4 MTD partitions on "spi0.0":
[    1.642021] 0x000000000000-0x0000000c0000 : "uboot"
[    1.658530] 0x0000000c0000-0x000000100000 : "uboot_env"
[    1.675366] 0x000000100000-0x0000001c0000 : "uboot2"
[    1.692092] 0x0000001c0000-0x000000200000 : "kernel"
[    1.711072] libphy: Fixed MDIO Bus: probed
[    1.718191] libphy: orion_mdio_bus: probed
[    1.730197] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    1.829812] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:05:35:09:92:9a
[    1.839513] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.846343] ehci-pci: EHCI PCI platform driver
[    1.850950] ehci-orion: EHCI orion driver
[    1.855213] orion-ehci f1050000.usb-host: EHCI Host Controller
[    1.861119] orion-ehci f1050000.usb-host: new USB bus registered, assigned bus number 1
[    1.869427] orion-ehci f1050000.usb-host: irq 26, io mem 0xf1050000
[    1.898400] orion-ehci f1050000.usb-host: USB 2.0 started, EHCI 1.00
[    1.904997] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.911801] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.919034] usb usb1: Product: EHCI Host Controller
[    1.923895] usb usb1: Manufacturer: Linux 4.12.4-mvebu-tld-1 ehci_hcd
[    1.930342] usb usb1: SerialNumber: f1050000.usb-host
[    1.936133] hub 1-0:1.0: USB hub found
[    1.940091] hub 1-0:1.0: 1 port detected
[    1.944494] orion-ehci f1051000.usb-host: EHCI Host Controller
[    1.950372] ata1: SATA link down (SStatus 0 SControl F300)
[    1.955926] orion-ehci f1051000.usb-host: new USB bus registered, assigned bus number 2
[    1.964075] orion-ehci f1051000.usb-host: irq 27, io mem 0xf1051000
[    1.998399] orion-ehci f1051000.usb-host: USB 2.0 started, EHCI 1.00
[    2.004938] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    2.011720] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.018926] usb usb2: Product: EHCI Host Controller
[    2.023780] usb usb2: Manufacturer: Linux 4.12.4-mvebu-tld-1 ehci_hcd
[    2.030209] usb usb2: SerialNumber: f1051000.usb-host
[    2.035955] hub 2-0:1.0: USB hub found
[    2.039902] hub 2-0:1.0: 1 port detected
[    2.044881] usbcore: registered new interface driver usblp
[    2.050924] usbcore: registered new interface driver usb-storage
[    2.057394] mousedev: PS/2 mouse device common for all mice
[    2.064236] rtc-mv f10d8500.real-time-clock: rtc core: registered f10d8500.real-time- as rtc0
[    2.073522] i2c /dev entries driver
[    2.079552] orion_wdt: Initial timeout 25 sec
[    2.087235] marvell-cesa f1030000.crypto-engine: CESA device successfully registered
[    2.095542] hidraw: raw HID events driver (C) Jiri Kosina
[    2.101979] usbcore: registered new interface driver usbhid
[    2.107524] usbhid: USB HID core driver
[    2.111990] drop_monitor: Initializing network drop monitor service
[    2.118285] Netfilter messages via NETLINK v0.30.
[    2.123252] ip_set: protocol 6
[    2.126607] NET: Registered protocol family 10
[    2.142146] Segment Routing with IPv6
[    2.145851] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.153865] NET: Registered protocol family 17
[    2.158348] 8021q: 802.1Q VLAN Support v1.8
[    2.163051] Key type dns_resolver registered
[    2.167502] ThumbEE CPU extension supported.
[    2.171825] Registering SWP/SWPB emulation handler
[    2.177513] registered taskstats version 1
[    2.181901] Loading compiled-in X.509 certificates
[    2.186724] zswap: loaded using pool lzo/zbud
[    2.228386] random: fast init done
[    2.285703] Key type big_key registered
[    2.296828] Key type encrypted registered
[    2.313259] rtc-mv f10d8500.real-time-clock: hctosys: unable to read the hardware clock
[    2.323907] Freeing unused kernel memory: 1024K
[    2.338523] usb 1-1: new high-speed USB device number 2 using orion-ehci
Loading, please wait...
[    2.408556] usb 2-1: new high-speed USB device number 2 using orion-ehci
starting version 232
[    2.530310] usb 1-1: New USB device found, idVendor=05e3, idProduct=0610
[    2.537007] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    2.558547] usb 1-1: Product: USB2.0 Hub
[    2.576574] hub 1-1:1.0: USB hub found
[    2.588948] hub 1-1:1.0: 4 ports detected
[    2.610334] usb 2-1: New USB device found, idVendor=05e3, idProduct=0610
[    2.617029] usb 2-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    2.638508] usb 2-1: Product: USB2.0 Hub
[    2.655872] hub 2-1:1.0: USB hub found
[    2.668974] hub 2-1:1.0: 4 ports detected
[    2.918492] usb 1-1.4: new high-speed USB device number 3 using orion-ehci
[    2.968625] i2c i2c-0: Added multiplexed i2c bus 1
[    3.008656] i2c i2c-0: Added multiplexed i2c bus 2
[    3.025393] i2c i2c-0: Added multiplexed i2c bus 3
[    3.089433] usb 1-1.4: New USB device found, idVendor=0781, idProduct=5530
[    3.096300] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.115658] sdhci: Secure Digital Host Controller Interface driver
[    3.115662] sdhci: Copyright(c) Pierre Ossman
[    3.116358] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.148473] usb 1-1.4: Product: Cruzer
[    3.152209] usb 1-1.4: Manufacturer: SanDisk
[    3.156459] usb 1-1.4: SerialNumber: 20060775210A3B80C5B2
[    3.177281] usb-storage 1-1.4:1.0: USB Mass Storage device detected
[    3.203946] scsi host1: usb-storage 1-1.4:1.0
[    3.228585] mmc0: SDHCI controller on f1090000.sdio-host [f1090000.sdio-host] using DMA
[    3.318543] mmc1: SDHCI controller on f1092000.sdio-host [f1092000.sdio-host] using DMA
[    3.389478] mmc1: new high speed MMC card at address 0001
[    4.218799] usbcore: registered new interface driver uas
[    4.237447] mmcblk1: mmc1:0001 SEM02G 1.82 GiB 
[    4.252644] mmcblk1boot0: mmc1:0001 SEM02G partition 1 1.00 MiB
[    4.260014] scsi 1:0:0:0: Direct-Access     SanDisk  Cruzer           1.26 PQ: 0 ANSI: 5
[    4.269024] mmcblk1boot1: mmc1:0001 SEM02G partition 2 1.00 MiB
[    4.280981] sd 1:0:0:0: [sda] 15633408 512-byte logical blocks: (8.00 GB/7.45 GiB)
[    4.294300] mmcblk1rpmb: mmc1:0001 SEM02G partition 3 128 KiB
[    4.300846] sd 1:0:0:0: [sda] Write Protect is off
[    4.307386] sd 1:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    4.316852]  mmcblk1: p1 p2 p3
[    4.322160] mmcblk1: p3 size 1831410 extends beyond EOD, truncated
[    4.337329]  sda: sda1
[    4.342968] sd 1:0:0:0: [sda] Attached SCSI removable disk
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.
Warning: fsck not present, so skipping root file system
[   14.717500] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   14.751265] EXT4-fs (sda1): 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 'debian'...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...[   17.360268] sd 1:0:0:0: Attached scsi generic sg0 type 0
done.
[ ok ] Activating swap:.
[   19.730634] EXT4-fs (sda1): re-mounted. Opts: (null)
[....] Will now check root file system:fsck from util-linux 2.29.2
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -y -C0 /dev/sda1 
e2fsck 1.43.4 (31-Jan-2017)
rootfs: clean, 22029/488640 files, 202924/1953536 blocks
. ok 
[   19.969657] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[ ok ] Will now activate lvm and md swap:done.
[info] Will now check all file systems.
fsck from util-linux 2.29.2
Checking all file systems.
LABEL=rootfs is mounted
[ ok ] Done checking file systems. A log is being saved in /var/log/fsck/checkfs if that location is writable..
[   20.942508] random: crng init done
[ ok ] Cleaning up temporary files...[....] Cleaning /tmp...done.
[ ok .
[ ok ] Will now mount local filesystems:.
[ ok ] Will now activate swapfile swap:done.
[ ok ] Checking minimum space in /tmp...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables...done.
[ ok ] Initializing random number generator...done.
[   22.670992] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   25.217783] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   25.227617] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[....] 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/eth0/00:05:35:09:92:9a
Sending on   LPF/eth0/00:05:35:09:92:9a
Sending on   Socket/fallback
DHCPREQUEST of 192.168.1.135 on eth0 to 255.255.255.255 port 67
DHCPREQUEST of 192.168.1.135 on eth0 to 255.255.255.255 port 67
DHCPACK of 192.168.1.135 from 192.168.1.1
bound to 192.168.1.135 -- renewal in 18275 seconds.
done.
[ ok ] Starting RPC port mapper daemon: rpcbind.
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Cleaning up temporary files....
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
2506 (syslogd)
. ok 
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[ ok ] Starting periodic command scheduler: cron.
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
2507 (klogd)
. ok 
[ ok ] Starting system message bus: dbus.
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[ ok ] Starting NTP server: ntpd.
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[ ok ] Running local boot scripts (/etc/rc.local).

Debian GNU/Linux 9 debian ttyS0

debian login: root
Password: 
Last login: Sun Sep 24 19:19:13 PDT 2000 on ttyS0
Linux debian 4.12.4-mvebu-tld-1 #1 SMP PREEMPT Sat Jul 29 21:56:37 PDT 2017 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
debian
192.168.1.135
Marvell DB-MV88AP510-BP Development Board
Linux version 4.12.4-mvebu-tld-1 (root@tldDebianVM) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #1 SMP PREEMPT Sat Jul 29 21:56:37 PDT 2017
Debian 9.1
Sat Sep 22 04:32:29 PDT 2018 up
root@debian:~# 
root@debian:~# 
root@debian:~# ping google.com
PING google.com (172.217.12.174) 56(84) bytes of data.
64 bytes from lga25s62-in-f14.1e100.net (172.217.12.174): icmp_seq=1 ttl=50 time=106 ms
64 bytes from lga25s62-in-f14.1e100.net (172.217.12.174): icmp_seq=2 ttl=50 time=107 ms
64 bytes from lga25s62-in-f14.1e100.net (172.217.12.174): icmp_seq=3 ttl=50 time=104 ms
^C
--- google.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 104.570/106.132/107.363/1.223 ms
root@debian:~# 
Re: Chip PC LXD8941
September 22, 2018 03:36PM
> I've added the same reg entry as the T50 and the
> ethernet errors have disappeared from the bootlog
> while the internet is working OK.

Nice!

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Chip PC LXD8941
September 22, 2018 04:02PM
Koen,

I will post a new DTS for this box.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Chip PC LXD8941
September 22, 2018 05:14PM
Ok let's summarize things so far. Serial connection allows access to uboot and makes it possible to boot debian from a USB stick. USB and ethernet are working. Micro SD card reader, audio and graphics are not working yet.

Power off doesn't work properly either but I assume that requires some GPIO info from GPL sources if Chip PC ever releases them.

The following section in dmesg is not correct but the system does find a clock source and does not seem to mind.

[    0.000000] [<c0116150>] (unwind_backtrace) from [<c0110bcc>] (show_stack+0x10/0x14)
[    0.000000] [<c0110bcc>] (show_stack) from [<c04df674>] (dump_stack+0x70/0x8c)
[    0.000000] [<c04df674>] (dump_stack) from [<c04de174>] (Ldiv0+0x8/0x10)
[    0.000000] [<c04de174>] (Ldiv0) from [<c0549128>] (dove_recalc_rate+0x44/0x8c)
[    0.000000] [<c0549128>] (dove_recalc_rate) from [<c0545720>] (clk_register+0x38c/0x590)
[    0.000000] [<c0545720>] (clk_register) from [<c0c33644>] (dove_divider_clk_init+0xe8/0x12c)
[    0.000000] [<c0c33644>] (dove_divider_clk_init) from [<c0c334d0>] (dove_clk_init+0x4c/0x74)
[    0.000000] [<c0c334d0>] (dove_clk_init) from [<c0c323c4>] (of_clk_init+0x174/0x214)
[    0.000000] [<c0c323c4>] (of_clk_init) from [<c0c03930>] (time_init+0x20/0x2c)
[    0.000000] [<c0c03930>] (time_init) from [<c0c00af8>] (start_kernel+0x210/0x394)
[    0.000000] [<c0c00af8>] (start_kernel) from [<0000807c>] (0x807c)
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 11467562657 ns

Similar to the other dove boards there is something missing in the dtb file with respect to the power management.

[    1.246102] dove-pinctrl f10d0200.pin-ctrl: falling back to hardcoded PMU resource
[    1.254214] dove-pinctrl f10d0200.pin-ctrl: [Firmware Bug]: Missing pinctrl regs in DTB. Please update your firmware.
[    1.265631] dove-pinctrl f10d0200.pin-ctrl: registered pinctrl driver

In uboot there are quite a few commands to test or read different parts of the system. For example when I run audioTest in uboot I hear a beep on the plugged in speaker. Can some of these commands in uboot be used to probe the registers of the device and help with improving the dtb file?

Koen

MIC>> i2c
i2c - I2C sub-system

Usage:
i2c speed [speed] - show or set I2C bus speed
i2c dev [dev] - show or set current I2C bus
i2c md chip address[.0, .1, .2] [# of objects] - read from I2C device
i2c mm chip address[.0, .1, .2] - write to I2C device (auto-incrementing)
i2c mw chip address[.0, .1, .2] value [count] - write to I2C device (fill)
i2c nm chip address[.0, .1, .2] - write to I2C device (constant address)
i2c crc32 chip address[.0, .1, .2] count - compute CRC32 checksum
i2c probe - show devices on the I2C bus
i2c reset - re-init the I2C Controller
i2c loop chip address[.0, .1, .2] [# of objects] - looping read of device


MIC>> md -h
00000000: ea000012 e59ff014 e59ff014 e59ff014    ................
00000010: e59ff014 e59ff014 e59ff014 e59ff014    ................
00000020: 02000160 020001c0 02000220 02000280    `....... .......
00000030: 020002e0 02000340 020003a0 12345678    ....@.......xV4.
00000040: 02000000 02000000 020afff0 020fa840    ............@...
00000050: e10f0000 e3c0001f e38000d3 e129f000    ..............).
00000060: eb000017 e24f006c e51f1030 e1500001    ....l.O.0.....P.
00000070: 0a000007 e51f2038 e51f3038 e0432002    ....8 ..80... C.
00000080: e0802002 e8b007f8 e8a107f8 e1500002    . ............P.
00000090: dafffffb e51f005c e2400080 e240d010    ....\.....@...@.
000000a0: e51f0060 e51f1060 e3a02000 e5802000    `...`.... ... ..
000000b0: e2800004 e1500001 dafffffb e51ff004    ......P.........
000000c0: 020005e0 e3a00000 ee070f17 ee080f17    ................
000000d0: ee110f10 e3c00c23 e3c00087 e3800002    ....#...........
000000e0: ee010f10 e1a0c00e eb00731e e1a0e00c    .........s......
000000f0: e1a0f00e 00000000 00000000 00000000    ................
MIC>> 

MIC>> md
md - memory display

Usage:
md [.b, .w, .l] address [# of objects]


MIC>> readcfg
Boot config is valid
LCD config is invalid
Using defaults
MIC>>



Edited 1 time(s). Last edit at 09/22/2018 05:23PM by Koen.
Re: Chip PC LXD8941
September 22, 2018 09:14PM
Koen,

The Audio issue is definitely because we don't have it defined enough in DTS (i2s is not defined yet).

The PMU problem is important and it is reminding me to do some more close reading of the kernel patches. The current DTSI (that we derived from) has an old style binding, so it is not apparent yet to me how we can solve this.

[    1.246102] dove-pinctrl f10d0200.pin-ctrl: falling back to hardcoded PMU resource
[    1.254214] dove-pinctrl f10d0200.pin-ctrl: [Firmware Bug]: Missing pinctrl regs in DTB. Please update your firmware.
[    1.265631] dove-pinctrl f10d0200.pin-ctrl: registered pinctrl driver

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



Edited 1 time(s). Last edit at 09/22/2018 09:15PM by bodhi.
Re: Chip PC LXD8941
September 23, 2018 12:22PM
The dmesg log when booting Debian shows the following:

[    1.625391] m25p80 spi0.0: mx25l1606e (2048 Kbytes)
[    1.630474] 4 cmdlinepart partitions found on MTD device spi0.0
[    1.636733] Creating 4 MTD partitions on "spi0.0":
[    1.642222] 0x000000000000-0x0000000c0000 : "uboot"
[    1.658720] 0x0000000c0000-0x000000100000 : "uboot_env"
[    1.675561] 0x000000100000-0x0000001c0000 : "uboot2"
[    1.692283] 0x0000001c0000-0x000000200000 : "kernel"

and /proc/mtd shows this partition layout.

root@debian:~# cat /proc/mtd        
dev:    size   erasesize  name
mtd0: 000c0000 00001000 "uboot"
mtd1: 00040000 00001000 "uboot_env"
mtd2: 000c0000 00001000 "uboot2"
mtd3: 00040000 00001000 "kernel"
root@debian:~#

After a bit of trial and error I ended up using this /etc/fw_env.config

root@debian:~# cat /etc/fw_env.config 
# MTD device name       Device offset   Env. size       Flash sector size       Number of sectors
/dev/mtd1 0x000000 0x010000
root@debian:~#

which makes it possible to read / adjust uboot environment variables from Debian.

Koen

root@debian:~# fw_printenv 
bootdelay=0
baudrate=115200
loads_echo=0
in_mfg=no
ub_mfgphase=0000000
mb_sn=00000000
mtdids=nand0=dove-mtd
arcNumber=1789
CASset=min
MALLOC_len=5
ethprime=egiga0
bootargs_root=root=/dev/nfs rw
bootargs_end=:::dove:eth0:none
image_name=uImage
sataargs=root=/dev/sda1 rw init=/init video=dovefb:lcd0:1024x768-24@60,lcd1:1024x768-16@60 clcd.lcd0_enable=1 clcd.lcd1_enable=1
sataboot=ide reset;ext2load ide 0:1 0x2000000 /boot/uImage; setenv bootargs ${mtdparts}  ${sataargs};  bootm 0x2000000
usbboot=usb start; sleep 3; ext2load usb 0:1 0x2000000 /boot/uImage; run usbargs;bootm 0x2000000
disaMvPnp=no
usb0Mode=host
usb1Mode=host
yuk_ethaddr=00:00:00:EE:51:81
autoload=no
lcd1_enable=1
ethact=egiga0
rootpath=/work/armel-dev
lcd0_enable=1
nfsboot=tftpboot 0x2000000 uImage521g; setenv bootargs $(console) $(bootargs_root) nfsroot=$(serverip):$(rootpath) ip=dhcp usb0Mode=$(usb0Mode) usb1Mode=$(usb1Mode) video=dovefb:lcd0:$(lcd0_params),lcd1:$(lcd1_params) clcd.lcd0_enable=$(lcd0_enable) clcd.lcd1_enable=$(lcd1_enable); bootm 0x2000000
load_addr=0x2000000
bootcmd_prev=ide reset; ext2load ide 0:2 0x3000000 tffsg; setenv bootargs $(console) ip=dhcp usb0Mode=$(usb0Mode) usb1Mode=$(usb1Mode) video=dovefb:lcd0:$(lcd0_params),lcd1:$(lcd1_params) clcd.lcd0_enable=1 clcd.lcd1_enable=1; bootm 0x3000000
gatewayip=192.168.9.1
netmask=255.255.255.0
ipaddr=192.168.9.96
serverip=192.168.9.90
bootargs=console=tty0,115200 mtdparts=spi0.0:768k(u-boot),256k(uboot_env),768k(u-boot2),-(unused) rootdelay=6 cpufreq_disable pm_disable usb0Mode=host usb1Mode=host video=dovefb:lcd0:1024x768-24@60,lcd1:1024x768-24@60 clcd.lcd0_enable=1 clcd.lcd1_enable=1
boottest=ide reset; ext2load ide 0:2 0x3000000 uImage; setenv bootargs $(console) $(mtdparts) ip=dhcp usb0Mode=$(usb0Mode) usb1Mode=$(usb1Mode) video=dovefb:lcd0:$(lcd0_params),lcd1:$(lcd1_params) clcd.lcd0_enable=1 clcd.lcd1_enable=1; bootm 0x3000000
bootcmd2=usb reset; ext2load usb 0:2 0x3000000 uImage; setenv bootargs $(console) mtdparts=spi0.0:768k(u-boot),256k(uboot_env),768k(u-boot2),-(unused) rootdelay=6 cpufreq_disable pm_disable usb0Mode=$(usb0Mode) usb1Mode=$(usb1Mode) video=dovefb:lcd0:$(lcd0_params),lcd1:$(lcd1_params) clcd.lcd0_enable=1 clcd.lcd1_enable=1; bootm 0x3000000
lcd0_params=1024x768-24@60-edid
lcd1_params=1024x768-24@60-edid
bootide=ide reset; ext2load ide 0:2 0x3000000 uImage; setenv bootargs $(console) $(mtdparts) cpufreq_disable lcdseamless pm_disable usb0Mode=$(usb0Mode) usb1Mode=$(usb1Mode) video=dovefb:lcd0:$(lcd0_params),lcd1:$(lcd1_params) clcd.lcd0_enable=1 clcd.lcd1_enable=1; bootm 0x3000000
bootmmc=mmcinfo 0; ext2load mmc 0:2 0x3000000 tffsg; setenv bootargs $(console) mtdparts=spi0.0:768k(u-boot),256k(uboot_env),768k(u-boot2),-(unused) cpufreq_disable pm_disable usb0Mode=$(usb0Mode) usb1Mode=$(usb1Mode) video=dovefb:lcd0:$(lcd0_params),lcd1:$(lcd1_params) clcd.lcd0_enable=1 clcd.lcd1_enable=1; bootm 0x3000000
console=console=ttyS0,115200
mtdparts=mtdparts=spi0.0:768k(uboot),256k(uboot_env),768k(uboot2),-(kernel)
rootinit=root=initramfs init=/linuxrc
lcdargs=vmalloc=384MB video=dovefb:lcd0:1024x768-24@60,lcd1:1024x768-24@60 clcd.lcd0_enable=1 clcd.lcd1_enable=1
usbargs=usb0Mode=host usb1Mode=host useNandHal=ganged
bootusb=usb reset; ext2load usb 0:2 0x3000000 tffsg; setenv bootargs console=ttyS0,115200 mtdparts=spi0.0:768k(uboot),256k(uboot_env),768k(uboot2),-(kernel) root=initramfs init=/linuxrc vmalloc=384MB video=dovefb:lcd0:1024x768-24@60,lcd1:1024x768-24@60 clcd.lcd0_enable=1 clcd.lcd1_enable=1 usb0Mode=host usb1Mode=host useNandHal=ganged pm_disable cpufreq_disable; bootm 0x3000000
fileaddr=3000000
filesize=C0434
stdin=serial
stdout=lcd
stderr=lcd
passDramInitTag=yes
mainlineLinux=yes
enaMonExt=no
pexMode=RC
disL2Cache=no
disL2Ecc=no
sata_dma_mode=yes
enaL2ExtraFeatures=yes
enaCpuStream=no
enaVpuPower=yes
enaGpuPower=yes
ethaddr=00:05:35:09:92:9A
bootcmd=run bootmmc
root@debian:~# 
Re: Chip PC LXD8941
September 23, 2018 03:57PM
Hi bodhi,

I've been reading about dts files and found the following reference documentation:

https://www.kernel.org/doc/Documentation/devicetree/bindings/

The following section on the dove pinctrl lists a lot of info and may be of use to get the missing functionality activated.

Koen

https://www.kernel.org/doc/Documentation/devicetree/bindings/pinctrl/marvell%2Cdove-pinctrl.txt
Re: Chip PC LXD8941
September 24, 2018 03:05AM
Koen,

I've seen and consulted these documentation countless times while trying to find info in Linux kernel. They are very useful, but usually don't have specific implmentation for a box (we could get lucky and see some real examples).

Basically, what dove-pinctrl.txt describes what this SoC does, how it layouts the MPPs (this table is in the Marvell Functional and/or Hardware Reference Manual). The manufacters can then use these pins to drive things. But except for a few pins that must be used as such, the GPIOs are multiplexed and can have several possible meanings (usually 4 or 5), depending how they are connected in the board.

In any case, looks like the pinctrl message we've seen in the log was just a warning, not real error. However, I am still a little unclear why it behaves differently from the HP T5325 regarding the sound module loading during boot.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Chip PC LXD8941
September 24, 2018 06:47AM
In the stock dmesg there is this line which seems to be a signal to activate the LCD / screen. However if I understand it correctly we can't just apply that to the HP t5336z or T50 since manufacturers are free to choose which ever pinctrl they want.

[ 58.052528] write value <0x00000000> to LCD reg offset <0x00000190>
 
Re: Chip PC LXD8941
September 24, 2018 07:17AM
OK maybe that is not pinctrl related. I guess I need to mount the stock partitions and try to figure out what this function does.

Koen

[ 58.037484] Chippc_proc_ write_int = 0x3, 3 [ 58.037491] [ 58.052528] write value <0x00000000> to LCD reg offset <0x00000190>
Re: Chip PC LXD8941
September 24, 2018 10:14AM
Just a 2cents worth. Have you tried sound through a usb audio adapter. Just to prove there are no subsystem conflicts?
Re: Chip PC LXD8941
September 24, 2018 01:07PM
Gravelrash,

> Just a 2cents worth. Have you tried sound through
> a usb audio adapter. Just to prove there are no
> subsystem conflicts?

I hope sound activation is working now on HP T5335z thread:
https://forum.doozan.com/read.php?2,66989,68264#msg-68264

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

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: