Firefly Open Source Community

Title: firefly-rk3399: Boot from SDMMC not working [Print This Page]

Author: jaganteki    Time: 8/29/2017 16:01
Title: firefly-rk3399: Boot from SDMMC not working
Hi,

I've burned images into eMMC and it's booting fine. then I have burned on SDMMC card and inserted into TFCARD reader on board.

The bootlog still shows booting from eMMC and hang at bootloader level, here is the log[1] and firefly-rk3388 claims that it support SDMMC boot [2], if So Do I miss anything.

Please let me know how should I boot from SDMMC?

[1] https://paste.ubuntu.com/25423391/
[2] http://wiki.t-firefly.com/index.php/Firefly-RK3399/Boot_mode/en
Author: isle    Time: 8/30/2017 09:37
the loader of the SDMMC is not as same as the one of EMMC
so, please use this one if you want boot on SD .
https://drive.google.com/file/d/ ... Tg/view?usp=sharing
Author: jaganteki    Time: 8/30/2017 16:15
Thanks.

Can you send the steps how to write this image on SD card?
Author: jaganteki    Time: 8/30/2017 18:43
Here are the steps I tried with upgrade_tool

Rockusb>cd
List of rockusb connected
DevNo=1        Vid=0x2207,Pid=0x330c,LocationID=101        Loader
Found 1 rockusb,Select input DevNo,Rescan press <R>,Quit press <Q>:1
Rockusb>sd
The  Device did not support this operation!
Rockusb>td
Test Device OK.
Rockusb>rid
Flash ID:45 4D 4D 43 20
Rockusb>rfi
Flash Info:
        Manufacturer: SAMSUNG,value=00
        Flash Size: 14910MB
        Block Size: 512KB
        Page Size: 2KB
        ECC Bits: 0
        Access Time: 40
        Flash CS: Flash<0>
Rockusb>rci
Chip Info: 43 30 33 33 0 0 0 0 0 0 0 0 30 30 31 56
Rockusb>uf Firefly-rk3399_xubuntu1604_SD_201705151725.img
Loading firmware...
Loading firmware failed!
Rockusb>ul Firefly-rk3399_xubuntu1604_SD_201705151725.img
Loading loader...
Loading loader failed!
Rockusb>db Firefly-rk3399_xubuntu1604_SD_201705151725.img
The  Device did not support this operation!
Rockusb>ef firmware Firefly-rk3399_xubuntu1604_SD_201705151725.img
Loading loader...
Loading loader failed!
Rockusb>ef loader Firefly-rk3399_xubuntu1604_SD_201705151725.img
Loading loader...
Loading loader failed!
Rockusb>

Author: isle    Time: 8/31/2017 09:43
http://wiki.t-firefly.com/index. ... _Android_from_sd/en

or with "dd" command in linux.
Author: jaganteki    Time: 8/31/2017 13:35
Yes, it's working.

Can you send steps for u-boot, I've build SPL(with ATF+Cortex-m0) and U-boot as two binaries, please send how to write it on SD and boot.
Author: isle    Time: 9/1/2017 09:46
step:   http://wiki.t-firefly.com/index.php/Firefly-RK3399/Uboot/en
code:  https://github.com/rockchip-linux/u-boot




Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1