Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

Buildroot SD card Firefly image boot fails with: "failed to find part:boot&

1821

Credits

10

Prestige

17

Contribution

super moderator

Rank: 8Rank: 8

Credits
1821
Posted at 9/14/2016 14:24:28      1#
Hi
Did you get the same problem with the cross compiling toolchain in the android sdk?
Reply

Use props Report

1821

Credits

10

Prestige

17

Contribution

super moderator

Rank: 8Rank: 8

Credits
1821
Posted at 9/18/2016 10:26:57      2#
hi  
   what did you get from cmd:
     ls   /sys/class/display/
Reply

Use props Report

1821

Credits

10

Prestige

17

Contribution

super moderator

Rank: 8Rank: 8

Credits
1821
Posted at 9/19/2016 10:45:14      3#
hi
  your img seems strange。
you can extra the official img  to see the difference
Reply

Use props Report

1821

Credits

10

Prestige

17

Contribution

super moderator

Rank: 8Rank: 8

Credits
1821
Posted at 9/20/2016 09:42:47      4#
HI
your image from github :buildroot-firefly-sdcard-2016.05.img
how did you made it ?
Reply

Use props Report

1821

Credits

10

Prestige

17

Contribution

super moderator

Rank: 8Rank: 8

Credits
1821
Posted at 9/23/2016 16:10:03      5#
Hi
  Yes ,I have tried ,and got the same informations.
I think,the u-boot couldn't load the boot.
But I am  unfamiliar with the buildroot program.
I will try to fix when I am free.
Reply

Use props Report

1821

Credits

10

Prestige

17

Contribution

super moderator

Rank: 8Rank: 8

Credits
1821
Posted at 9/28/2016 11:49:51      6#
cirosantilli Posted at 9/20/2016 15:01
@isle buildroot... https://github.com/buildroot/buildroot :-)

git checkout 2016.05

Hi
I have tested it again ,and the result is success.
the reason is load the wrong uboot ,we need clean up the spl and uboot from the EMMC FLASH
First of all flash a normal ubuntu firmware to the board ,then,boot the os.
clean the spl and uboot by
  1. dd if=/dev/zero of=/dev/mmcblk0 bs=1M count=4
Copy the code

then reboot ,
now,insert your sdcard and power up .
  1. switch to partitions #0, OK
  2. mmc0 is current device
  3. Scanning mmc 0:1...
  4. Found /boot/extlinux/extlinux.conf
  5. Retrieving file: /boot/extlinux/extlinux.conf
  6. 160 bytes read in 35 ms (3.9 KiB/s)
  7. 1:        firefly-rk3288
  8. Retrieving file: /boot/uImage
  9. 5478152 bytes read in 1043 ms (5 MiB/s)
  10. append: console=ttyS2,115200n8 root=/dev/mmcblk0p1 rootwait
  11. Retrieving file: /boot/rk3288-firefly.dtb
  12. 35785 bytes read in 37 ms (944.3 KiB/s)
  13. ## Booting kernel from Legacy Image at 02000000 ...
  14.    Image Name:   Linux-4.4.0-rc5
  15.    Image Type:   ARM Linux Kernel Image (uncompressed)
  16.    Data Size:    5478088 Bytes = 5.2 MiB
  17.    Load Address: 02000000
  18.    Entry Point:  02000000
  19.    Verifying Checksum ... OK
  20. ## Flattened Device Tree blob at 01f00000
  21.    Booting using the fdt blob at 0x1f00000
  22.    Loading Kernel Image ... OK
  23.    Loading Device Tree to 1fff4000, end 1ffffbc8 ... OK

  24. Starting kernel ...

Copy the code
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