Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

firefly-rk3399: Boot from SDMMC not working

69

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
69

firefly-rk3399: Boot from SDMMC not working

Posted at 8/29/2017 16:01:33      View:5500 | Replies:6        Print      Only Author   [Copy Link] 1#
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
Reply

Use props Report

1821

Credits

10

Prestige

17

Contribution

super moderator

Rank: 8Rank: 8

Credits
1821
Posted at 8/30/2017 09:37:01        Only Author  2#
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
Reply

Use props Report

69

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
69
Posted at 8/30/2017 16:15:53        Only Author  3#
Thanks.

Can you send the steps how to write this image on SD card?
Reply

Use props Report

69

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
69
Posted at 8/30/2017 18:43:35        Only Author  4#
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>
Reply

Use props Report

1821

Credits

10

Prestige

17

Contribution

super moderator

Rank: 8Rank: 8

Credits
1821
Posted at 8/31/2017 09:43:43        Only Author  5#
Reply

Use props Report

69

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
69
Posted at 8/31/2017 13:35:43        Only Author  6#
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.
Reply

Use props Report

1821

Credits

10

Prestige

17

Contribution

super moderator

Rank: 8Rank: 8

Credits
1821
Posted at 9/1/2017 09:46:54        Only Author  7#
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list