Bug 9226 - Firefly boot fails with: "failed to find part:boot"
Summary: Firefly boot fails with: "failed to find part:boot"
Status: RESOLVED WONTFIX
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: 2016.05
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-11 15:19 UTC by Ciro Santilli
Modified: 2016-09-17 13:59 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ciro Santilli 2016-09-11 15:19:57 UTC
Tested on 2016.05 and master @ a26aa9686ad457d208df3b85a39c9befa04caaa3

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.
Comment 1 Thomas Petazzoni 2016-09-12 14:25:19 UTC
Unfortunately, the original submitter of the defconfig for this platform no longer have access to the hardware, so we are not able to investigate this issue. Your only chance is to investigate the problem yourself, and contribute a patch to Buildroot to fix it.
Comment 2 Ciro Santilli 2016-09-17 13:59:47 UTC
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.