CN9132 on eval board : Boot from emmc ?!

Hello,

I’m trying to configure my board to boot from emmc :

  • Booted from sdcard
  • Flash emmc uboot (latest) to boot0 & boot1 partition
  • Flash emmc with IMG on mmcblk0 => Get a mmcblk0p1, expanded to max capacity and tried to mount => OK
  • Configured board to boot from emmc => OK on uboot
    but … failed to boot when loading kernel and other

Partition is not seen on uboot (and so file loading…) :
Marvell>> mmc dev 0
unable to select a mode
switch to partitions #0, OK
mmc0(part 0) is current device
Marvell>> mmc part

Unknown partition table type 0

Marvell>> mmc list
sdhci@6e0000: 0 (eMMC)
sdhci@780000: 1
Marvell>> mmc info
Device: sdhci@6e0000
Manufacturer ID: 15
OEM: 100
Name: 8GTF4
Bus Speed: 200000000
Mode: MMC legacy
Rd Block Len: 512
MMC version 5.1
High Capacity: Yes
Capacity: 7.3 GiB
Bus Width: 1-bit
Erase Group Size: 512 KiB
HC WP Group Size: 8 MiB
User Capacity: 7.3 GiB WRREL
Boot Capacity: 4 MiB ENH
RPMB Capacity: 512 KiB ENH

Any help ? seems to be related to :
Hit any key to stop autoboot: 0
Card did not respond to voltage select!
unable to select a mode
switch to partitions #0, OK
mmc0(part 0) is current device
** No partition table - mmc 0 **

Something wrong with latest Uboot ? (again !)

Regards

If you have your bootloader flashed on the eMMC boot0 hardware partition then you need to configure the eMMC device to boot from it. In u-boot the command would be mmc partconf 0 1 1 0

-Jon

Sure … already selected emmc boot 0 :

Boot Log :
BootROM - 2.03
Starting AP IOROM 1.02
Booting from eMMC 0
Found valid image at boot postion 0x004
lNOTICE: Starting binary extension

… The problem is that I cannot access to Ubuntu partition to load kernel dts or anything !

Regards

Nicolas F.

I Think it’s more Uboot DTB related : emmc init seems wrong !

Loading Environment from MMC… unable to select a mode
*** Warning - !read failed, using default environment

get_tlvinfo_from_eeprom: failed to read from eeprom!
Net: Failed to find COMPHY lane

Warning: mvpp2-0 (eth0) using random MAC address - 0e:86:8e:8b:9c:e8
eth0: mvpp2-0 [PRIME]
Warning: mvpp2-1 (eth1) using random MAC address - fa:a5:85:07:54:bb
, eth1: mvpp2-1
Warning: mvpp2-2 (eth2) using random MAC address - 82:07:ca:d3:74:81
, eth2: mvpp2-2
Warning: mvpp2-3 (eth3) using random MAC address - fa:fb:a8:31:e2:b7
, eth3: mvpp2-3
Warning: mvpp2-6 (eth4) using random MAC address - ba:d1:0f:d7:2b:0b
, eth4: mvpp2-6
Hit any key to stop autoboot: 0
Card did not respond to voltage select!
switch to partitions #0, OK
mmc0(part 0) is current device
**** Unrecognized filesystem type ****
starting USB…

What is the “known as working version of uboot ?”

Regards

Nicolas F.

Let me ping @Josua for an answer to this. I do not have direct access to the your specific hardware and he has been working on the recent BSPs.