Pi Compute Module 3+ installation

Hello.
Is there any difference with installing OpenWRT on integrated eMMC of compute module (CM3+)? I tried lastest rpi-3-ext4-factory.img.gz
and
rpi-3-squashfs-factory.img.gz
ext4 seems to do nothing after power up.
Squashfs show rainbow screen and then doing nothing also.
I also tried to copy start.elf fixup.dat and bootcode.bin from lastest Raspbian with no luck
What i doing wrong?

see the bottom of this document ( and use this method to swap / compare oem vs openwrt filesystem structures as CM is technically not supported, and yes... i'd imagine some swapping of boot/start bins might be necessary )

Thanks.

Solution:
copy bcm2710-rpi-cm3.dtb from raspbian boot to openwrt boot partiotion.

1 Like

Another problem with smsc lan9514. Here is openwrt output:

[    0.049570] usbcore: registered new interface driver usbfs
[    0.049631] usbcore: registered new interface driver hub
[    0.049702] usbcore: registered new device driver usb
[    0.111052] usbcore: registered new interface driver lan78xx
[    0.113149] usbcore: registered new interface driver smsc95xx
[    0.144899] dwc_otg 3f980000.usb: base=0x08bb0000
[    0.577412] dwc_otg 3f980000.usb: DWC OTG Controller
[    0.579223] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[    0.582829] dwc_otg 3f980000.usb: irq 41, io mem 0x00000000
[    0.588650] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    0.590594] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.594405] usb usb1: Product: DWC OTG Controller
[    0.596360] usb usb1: Manufacturer: Linux 4.14.180 dwc_otg_hcd
[    0.598322] usb usb1: SerialNumber: 3f980000.usb
[    0.605228] usbcore: registered new interface driver uas
[    0.607179] usbcore: registered new interface driver usb-storage
[    1.061170] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    6.281197] usb 1-1: device descriptor read/64, error -110
[    6.301233] Indeed it is in host mode hprt0 = 00001101

If i flash raspbian everything is ok:

[    2.507508] usb 1-1: New USB device found, idVendor=0424, idProduct=9514, bcdDevice= 2.00
[    2.521745] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.532791] hub 1-1:1.0: USB hub found
[    2.539821] hub 1-1:1.0: 5 ports detected
[    2.867204] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    2.900237] systemd[1]: System time before build time, advancing clock.
[    3.007496] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00, bcdDevice= 2.00
[    3.022402] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    3.037491] NET: Registered protocol family 10
[    3.039138] smsc95xx v1.0.6

LAN9514 schematic is same as on reference datasheet.
Could someone help me with this issue? Thanks.

anti-otg parameter you need in config.txt ( or similar )?

Solution:
Dont copy bcm2710-rpi-cm3.dtb from raspbian. Probably it does not contain correct device info. I just renamed bcm2710-rpi-3-b-plus.dtb to bcm2710-rpi-cm3.dtb and lan9514 and all attached USB devs seems to be ok.

Sure i need to make my own dtb file related to my hw config. This will be the next step

1 Like