Firefly Open Source Community

   Login   |   Register   |
New_Topic
12
New Topic
Print Previous Topic Next Topic

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

44

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
44

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

Posted at 9/13/2016 01:36:12      View:9744 | Replies:13        Print      Only Author   [Copy Link] 1#
Last edited by cirosantilli In 9/18/2016 17:49 Editor

Tested on Buildroot 2016.05 and master @ a26aa9686ad457d208df3b85a39c9befa04caaa3

Here's the image for convenience: https://github.com/cirosantilli/ ... -sdcard-2016.05.img but it is just simply generated with the defconfig from buildroot.

Followed instructions under board/firefly/firefly-rk3288/readme.txt

Then from a TTL I see:

        arm pll = 600000000HZ
        periph pll = 300000000HZ
        ddr pll = 200000000HZ
        codec pll = 594000000HZ
    Board:  Rockchip platform Board
    DRAM:  Found dram banks:1
    Adding bank:0000000000000000(0000000080000000)
    128 MiB
    SDCard Update.
    storage init OK!
    Using default environment

    GetParam
    W: Invalid Parameter's tag (0x7BD32A6C)!
    Invalid parameter
    W: Invalid Parameter's tag (0xF07F8F7D)!
    Invalid parameter
    W: Invalid Parameter's tag (0xAE8ED94E)!
    Invalid parameter
    W: Invalid Parameter's tag (0x5EFFD968)!
    Invalid parameter
    W: Invalid Parameter's tag (0xEDDF0B28)!
    Invalid parameter
    W: Invalid Parameter's tag (0xE89DA830)!
    Invalid parameter
    W: Invalid Parameter's tag (0x00000802)!
    Invalid parameter
    W: Invalid Parameter's tag (0x00000000)!
    Invalid parameter
    failed to find part:boot
    failed to prepare fdt from boot!
    failed to find part:resource
    failed to prepare fdt from resource!
    no adc node
    can't find dts node for led
    can't find dts node for ricoh619
    can't find dts node for act8846
    can't find dts node for rk808
    can't find dts node for rk818
    Can't find dts node for fuel guage cw201x
    SecureBootEn = 0, SecureBootLock = 0

    #Boot ver: 0000-00-00#0.00
    empty serial no.
    unknown reboot type 1
    no fuel gauge found
    no fuel gauge found
    read logo_on switch from dts [0]
    no fuel gauge found
    failed to find part:recovery
    'recovery' does not seem to be a partition nor an address
    Unable to boot:recovery
    try to start backup
    failed to find part:backup
    'backup' does not seem to be a partition nor an address
    Unable to boot:backup
    try to start rockusb

but get no shell.

The official Ubuntu image worked on my sdcard.

On buildroot's bugtracker: https://bugs.busybox.net/show_bug.cgi?id=9226
Reply

Use props Report

1821

Credits

10

Prestige

17

Contribution

super moderator

Rank: 8Rank: 8

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

Use props Report

44

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
44
Posted at 9/17/2016 21:56:08        Only Author  3#
@Isle sorry for late reply, thought I would get an email.

Haven't tried that. Buildroot builds it's own cross compiler toochain.

If I get to it, I will post what happened.
Reply

Use props Report

44

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
44
Posted at 9/17/2016 21:59:56        Only Author  4#
I have managed to boot from TTL as follows:

- enter recovery mode (hold recovery and restart board by resetting)
- download upgrade tool, and official Ubuntu image, and run:

     sudo ./Linux_Upgrade_Tool_v1.2/upgrade_tool uf Firefly-RK3288_Ubuntu14.04_201607222032.img

   This burns the image to the eMMC.

-  that image works. From inside of it, clear eMMC to ensure that it will not be used instead of the SD: sudo dd if=/dev/zero of=/dev/mmblk0

-  try again

However I can't get HDMI / VGA output to my screen, only TTL access.

I also tried to insert the cable after boot, but it did not help.
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        Only Author  5#
hi  
   what did you get from cmd:
     ls   /sys/class/display/
Reply

Use props Report

44

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
44
Posted at 9/18/2016 17:48:39        Only Author  6#
That directory does not exist.

I will also try to get my hands on a better power supply, currently using USB.

Here's the image for convenience: https://github.com/cirosantilli/ ... -sdcard-2016.05.img but it is just simply generated with the defconfig from buildroot.
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        Only Author  7#
hi
  your img seems strange。
you can extra the official img  to see the difference
Reply

Use props Report

44

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
44
Posted at 9/19/2016 21:34:04        Only Author  8#
Sorry, what do you mean?

I don't know much about board bringup, so I don't know what to compare. If I did, I'd have patched buildroot already :-)

I highly recommend you patch buildroot to work, would be great for your ecosystem :-)
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        Only Author  9#
HI
your image from github :buildroot-firefly-sdcard-2016.05.img
how did you made it ?
Reply

Use props Report

44

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
44
Posted at 9/20/2016 15:01:33        Only Author  10#
@isle buildroot... https://github.com/buildroot/buildroot :-)

git checkout 2016.05
make firefly_rk3288_defconfig
make

Someone had made a config for it: https://github.com/buildroot/bui ... ly_rk3288_defconfig but maybe it is broken.
Reply

Use props Report

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

This forum Credits Rules

Quick Reply Back to top Back to list