Jump to content
Sign in to follow this  
zener

Micro SD card boot problems

Recommended Posts

I'm trying to boot from the micro sd card, but it boots from the eMMC indepentent upon the position of the maskrom jumper.

In maskrom mode:

   U-Boot SPL 2018.11-armbian (Feb 08 2019 - 11:55:53 +0100)
   Returning to boot ROM...
   
   
   U-Boot 2018.11-armbian (Feb 08 2019 - 11:55:53 +0100)
   
   Model: Tinker-RK3288
   DRAM:  2 GiB
   PC event = 0x20
   usb connected to SDP, force enter ums mode
   rk3288_maskrom_ctrl: enable_emmc = 1
   usb_current_limit_ctrl: unlock_current = 1
   MMC:   dwmmc@ff0c0000: 1, dwmmc@ff0f0000: 0
   Loading Environment from EXT4... ** File not found /boot/boot.env **
   
   ** Unable to read "/boot/boot.env" from mmc0:1 **
   In:    serial
   Out:   serial
   Err:   serial
   Model: Tinker-RK3288
   Net:   eth0: ethernet@ff290000
   UMS: LUN 0, dev 0, hwpart 0, sector 0x0, count 0x1d5a000
   \wait for usb get descriptor cmd timeout
   rk3288_maskrom_ctrl: enable_emmc = 0
   usb_current_limit_ctrl: unlock_current = 0
   Hit any key to stop autoboot:  0
   switch to partitions #0, OK
   mmc0(part 0) is current device
   Scanning mmc 0:1...
   Found U-Boot script /boot/boot.scr
   3158 bytes read in 1 ms (3 MiB/s)

No jumper:

   U-Boot SPL 2018.11-armbian (Feb 08 2019 - 11:55:53 +0100)
   Returning to boot ROM...
   
   
   U-Boot 2018.11-armbian (Feb 08 2019 - 11:55:53 +0100)
   
   Model: Tinker-RK3288
   DRAM:  2 GiB
   PC event = 0x20
   usb connected to SDP, force enter ums mode
   rk3288_maskrom_ctrl: enable_emmc = 1
   usb_current_limit_ctrl: unlock_current = 1
   MMC:   dwmmc@ff0c0000: 1, dwmmc@ff0f0000: 0
   Loading Environment from EXT4... ** File not found /boot/boot.env **
   
   ** Unable to read "/boot/boot.env" from mmc0:1 **
   In:    serial
   Out:   serial
   Err:   serial
   Model: Tinker-RK3288
   Net:   eth0: ethernet@ff290000
   UMS: LUN 0, dev 0, hwpart 0, sector 0x0, count 0x1d5a000
   \wait for usb get descriptor cmd timeout
   rk3288_maskrom_ctrl: enable_emmc = 0
   usb_current_limit_ctrl: unlock_current = 0
   Hit any key to stop autoboot:  0
   switch to partitions #0, OK
   mmc0(part 0) is current device
   Scanning mmc 0:1...
   Found U-Boot script /boot/boot.scr
   3158 bytes read in 1 ms (3 MiB/s)

Is this because there is not boot.env file as indicated?

  1. Where is u-boot located? Is it starting at the first sector of the eMMC?
  2. The currently installed  u-boot appears to look for  /boot/boot.env on the first parition?
  3. When is the jumper sampled?

Thanks!

Share this post


Link to post
Share on other sites

Hi Zener, 

Maybe you should connect micro usb directly to power transformers to avoid booting into UMS mode.

Apart from this, what is the version of the Tinker Board image?

In the uart log of the release version Tinker_Board-Debian-Stretch-V2.1.16-20200813:

    MMC:   dwmmc@ff0c0000: 1, dwmmc@ff0f0000: 0
    Test MMC(0)...
    *** Warning - bad CRC, using default environment

There is no information about boot.env and boot.scr, but still can boot into kernel normally.

Thanks and best regards, 
Frank.

  • Thanks 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...