Snowball: falling back to booting from emmc when there is no SD doesn't work
Bug #1095747 reported by
Andrey Konovalov
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro Image Tools |
Fix Released
|
High
|
Milo Casagrande | ||
Linaro U-Boot |
Invalid
|
Undecided
|
John Rigby |
Bug Description
The hwpack for snowball is created with mmc_id=1:1 (i.e. the SD card is used by default). But if booting from the SD card fails, u-boot should fall back to booting from emmc. In particular, the same hwpack could be used to boot from SD card and emmc - just the correct --dev must have been specified for linaro-
https:/
, but stopped working starting from U-Boot 2012.04.01 (Jul 19 2012 - 17:47:52):
https:/
The issue is present in the U-Boot 2013.01.-rc1 (Dec 08 2012 - 12:36:53) as well:
Related branches
lp:~milo/linaro-image-tools/bug1095747
- James Tunnicliffe (community): Approve
-
Diff: 26 lines (+3/-2)2 files modifiedlinaro_image_tools/media_create/boards.py (+1/-0)
linaro_image_tools/media_create/tests/test_media_create.py (+2/-2)
Changed in u-boot-linaro: | |
assignee: | nobody → John Rigby (jcrigby) |
milestone: | none → 13.01 |
Changed in linaro-image-tools: | |
milestone: | none → 2013.02 |
Changed in linaro-image-tools: | |
milestone: | 2013.02 → 2013.03 |
Changed in linaro-image-tools: | |
milestone: | 2013.03 → 2013.04 |
assignee: | Stevan Radaković (stevanr) → nobody |
Changed in linaro-image-tools: | |
assignee: | nobody → Milo Casagrande (milo) |
Changed in linaro-image-tools: | |
status: | Triaged → In Progress |
Changed in linaro-image-tools: | |
status: | In Progress → Fix Committed |
Changed in linaro-image-tools: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
After looking at this for a bit I can confirm that yes things are broken.
The boot.txt/boot.scr file generated by linaro-media-create generates "fatload mmc 1:1" independent of the device chosen snowball_emmc or snowball_sd. It seems that this should be "fatload mmc 0:0" for the snowball_emmc case.
I personally believe that the boot method on snowball is so broken that we should just have the proprietary bootloader on emmc and u-boot, kernel, etc on sd. In this way emmc would function like the bios rom on a pc.