# CN9132 on eval board : Boot from emmc ?!

**URL:** <https://community.solid-run.com/t/cn9132-on-eval-board-boot-from-emmc/656>\
**Category:** OCTEON CN9130\
**Created:** [May 30, 2023, 9:16am UTC](https://community.solid-run.com/t/cn9132-on-eval-board-boot-from-emmc/656 "2023-05-30T09:16:31Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nicolas](https://avatars.discourse-cdn.com/v4/letter/n/67e7ee/32.png) [@Nicolas](https://community.solid-run.com/u/Nicolas)\
**Post date:** [May 30, 2023, 9:16am UTC](https://community.solid-run.com/t/cn9132-on-eval-board-boot-from-emmc/656/1 "2023-05-30T09:16:31Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jnettlet](https://dub1.discourse-cdn.com/flex005/user_avatar/community.solid-run.com/jnettlet/32/62_2.png) [@jnettlet](https://community.solid-run.com/u/jnettlet)\
**Post date:** [May 30, 2023, 9:30am UTC](https://community.solid-run.com/t/cn9132-on-eval-board-boot-from-emmc/656/2 "2023-05-30T09:30:30Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Nicolas](https://avatars.discourse-cdn.com/v4/letter/n/67e7ee/32.png) [@Nicolas](https://community.solid-run.com/u/Nicolas)\
**Post date:** [May 30, 2023, 9:52am UTC](https://community.solid-run.com/t/cn9132-on-eval-board-boot-from-emmc/656/3 "2023-05-30T09:52:00Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Nicolas](https://avatars.discourse-cdn.com/v4/letter/n/67e7ee/32.png) [@Nicolas](https://community.solid-run.com/u/Nicolas)\
**Post date:** [May 30, 2023, 12:41pm UTC](https://community.solid-run.com/t/cn9132-on-eval-board-boot-from-emmc/656/4 "2023-05-30T12:41:30Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![jnettlet](https://dub1.discourse-cdn.com/flex005/user_avatar/community.solid-run.com/jnettlet/32/62_2.png) [@jnettlet](https://community.solid-run.com/u/jnettlet)\
**Post date:** [May 30, 2023, 12:52pm UTC](https://community.solid-run.com/t/cn9132-on-eval-board-boot-from-emmc/656/5 "2023-05-30T12:52:24Z")

</div>

> [@Nicolas](#):
>
> **switch to partitions #0, OK**  
> **mmc0(part 0) is current device**

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.

---

<div class="post-metadata">

**Author:** ![Josua](https://avatars.discourse-cdn.com/v4/letter/j/e47774/32.png) [@Josua](https://community.solid-run.com/u/Josua)\
**Post date:** [August 25, 2024, 11:24am UTC](https://community.solid-run.com/t/cn9132-on-eval-board-boot-from-emmc/656/6 "2024-08-25T11:24:18Z")

</div>

We recently discovered that U-Boot was trying to use high-speed modes HS200/HS400, which on some boards caused failures as shown in this topic, while other boards operated fine.  
This issue should be resolved by disabling those high-speed modes in u-boot stage, Linux is not affected.
