CN9132 COM startup error messages

Hi Solidrun support,

I bought a CN9132 COM module and mounted it on our based board with COM Express Type interface support.

I changed the BOOT MODE to SPI. So, the COM board starts up with a factory u-boot image and got below error messages,
CN9132-bootup-error-log

Could you please help to resolve it and reach to ping ok via the ethernet interface of COMe connector?

— error log —
U-Boot 2019.10-10.0.0-00016-gea54b74dd8 (Mar 22 2022 - 15:49:50 +0000)
Model: SolidRun CN9132 based COM express type 7
ERROR : mrvl_sip_smc_handler: unhandled SMC (0x82000014)
ERROR : mrvl_sip_smc_handler: unhandled SMC (0x82000014)
ERROR : mrvl_sip_smc_handler: unhandled SMC (0x82000014)
ERROR : mrvl_sip_smc_handler: unhandled SMC (0x82000014)
ERROR : mrvl_sip_smc_handler: unhandled SMC (0x82000014)
ERROR : mrvl_sip_smc_handler: unhandled SMC (0x82000014)
ERROR : mrvl_sip_smc_handler: unhandled SMC (0x82000014)
ERROR : mrvl_sip_smc_handler: unhandled SMC (0x82000014)
SoC: cn9132-A1; AP807-B0; 3xCP115-A0
ERROR : mrvl_sip_smc_handler: unhandled SMC (0x82000014)
Clock: CPU 1600 [MHz]
ERROR : mrvl_sip_smc_handler: unhandled SMC (0x82000014)
DDR 1200 [MHz]
ERROR : mrvl_sip_smc_handler: unhandled SMC (0x82000014)

get_tlvinfo_from_eeprom: failed to read from eeprom!
Net: Failed to find COMPHY lane
Error : mvpp2-0 address not set.
Failed to find COMPHY lane


I have contacted the CN9132 team to look at your errors logs. We will get back to you soon.

Hi,
The errors have gone while loading the uboot flash-image.bin (generated from cn913x_build) via serial console today. It is likely the flash image came with the board has some problems.

Now, I want to load ubuntu image to on-board eMMC and change BOOTMODE to eMMC. Could you please tell me how to do it?
Thanks!

BR,
Jim

Hi,

As I did not have CN9132 basebard,
Would you please share how to upgrade “cn9130-cex7_config_0_ubuntu-4cbe176.img.xz” to eMMC via u-boot tftp ?

BR,
Jim

Hi,

The board failed to boot ubuntu image provided on Solidrun web site.

  1. download ubuntu-cn9132-cex7-mmc:1:0.img.xz
    $ wget https://solid-run-images.sos-de-fra-1.exo.io/CN913x/cn913x_build/20230626-8d5f7fe/ubuntu-cn9132-cex7-mmc\:1\:0.img.xz

  2. flash the image into a USB disk (/dev/sdb)
    $ xz -dc ubuntu-cn9132-cex7-mmc:1:0.img.xz | sudo dd of=/dev/sdb bs=4k conv=fdatasync status=progress

  3. insert the USB stick to the baseboard with CN9132 COM mounted and power on it.
    Likely, the Linux kernel could not mount root filesystem.

CN9132 boot log is as below URL, cn9132-boot-log-0911

The boot up stopped at line# 631 (Waiting for root device ) below,

[ 7.765728] Waiting for root device PARTUUID=30303030-01…
[ 17.892007] platform f2500000.usb: deferred probe pending
[ 17.897448] platform f2510000.usb: deferred probe pending
[ 17.902883] platform f4510000.usb: deferred probe pending
[ 17.908313] platform f6500000.usb: deferred probe pending
[ 17.913742] platform f6510000.usb: deferred probe pending
[ 17.919169] platform cp0_usb3_vbus@0: deferred probe pending
[ 17.924856] platform cp0_usb3_vbus@1: deferred probe pending
[ 17.930542] platform cp0_sd_vcc@0: deferred probe pending
[ 17.935966] platform ap0_sd_vccq@0: deferred probe pending
[ 17.941480] platform cp0_sd_vccq@0: deferred probe pending
[ 17.946997] platform cp0_usb3_phy@0: deferred probe pending
[ 17.952768] platform cp0_usb3_phy@1: deferred probe pending
[ 17.958366] platform f06e0000.mmc: deferred probe pending

If the rootfs is found and runs the init script, etc. and eventually enters ubuntu shell. This is the outcome I’d like to see it.

Could you please advise how to resolve it?

Regards,
Jim (C.H.) Chen

Hi,

I flash the image file into a SATA storage and insert back the baseboard which has CN9132 mounted. It can boot into ubuntu shell. Something wrong in USB boot ?!

root@localhost:~# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 478816 468576 0 100% /
devtmpfs 3929744 0 3929744 0% /dev
tmpfs 4064656 0 4064656 0% /dev/shm
tmpfs 812932 8948 803984 2% /run
tmpfs 5120 0 5120 0% /run/lock
tmpfs 4064656 0 4064656 0% /sys/fs/cgroup

Regards,
Jim Chen

can you please post your boot log. Most likely the root args passed to the kernel are incorrect for a USB boot.

Hi,

Please find logs Below,

Scanning usb 0:1…
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
232 bytes read in 26 ms (7.8 KiB/s)
1: primary kernel
Retrieving file: /boot/Image
38425088 bytes read in 1053 ms (34.8 MiB/s)
append: console=ttyS0,115200 root=PARTUUID=30303030-01 rw rootwait cma=256M
Retrieving file: /boot/marvell/cn9132-db.dtb
47304 bytes read in 47 ms (982.4 KiB/s)

Flattened Device Tree blob at 06f00000

Booting using the fdt blob at 0x6f00000
Loading Device Tree to 000000007f5c5000, end 000000007f5d38c7 … OK

The complete log can be found in previous post,
https://community.solid-run.com/t/cn9132-com-startup-error-messages/714/5?u=ch_chen

Regards,
ch_chen