[U-Boot] Cubieboard2 uboot 2016.09.01 not supporting booting from sata

Robert Moskowitz rgm at htt-consult.com
Tue Dec 20 16:21:16 CET 2016



On 12/20/2016 09:58 AM, Jagan Teki wrote:
> On Tue, Dec 20, 2016 at 3:55 PM, Robert Moskowitz <rgm at htt-consult.com> wrote:
>>
>> On 12/20/2016 09:14 AM, Jagan Teki wrote:
>>> On Tue, Dec 20, 2016 at 2:41 PM, Robert Moskowitz <rgm at htt-consult.com>
>>> wrote:
>>>> Dear listers,
>>>>
>>>> It has been over a year since I have built a new system and tried to set
>>>> up
>>>> to boot from sata.
>>>>
>>>> What I did in the past was to use a small mSD card with only the uboot
>>>> bin
>>>> and no partitions.
>>>>
>>>> All my partitions for either Fedrora25 or Centos7 are on the sata. I
>>>> should
>>>> boot up, the system sees no partitions on the mSD, it scans for other
>>>> devices, finds the sata and proceeds from there.
>>>>
>>>> Something must have changed in the past year.  Or else my notes on what
>>>> to
>>>> do are incomplete.
>>>>
>>>> Can you help?  Here is a capture of a boot attempt with F25 on the sata:
>>>>
>>>>
>>>> U-Boot SPL 2016.09.01 (Oct 19 2016 - 13:46:44)
>>>> DRAM: 1024 MiB
>>>> CPU: 912000000Hz, AXI/AHB/APB: 3/2/2
>>>> Trying to boot from MMC1
>>>>
>>>>
>>>> U-Boot 2016.09.01 (Oct 19 2016 - 13:46:44 +0000) Allwinner Technology
>>>>
>>>> CPU:   Allwinner A20 (SUN7I)
>>>> Model: Cubietech Cubieboard2
>>>> I2C:   ready
>>>> DRAM:  1 GiB
>>>> MMC:   SUNXI SD/MMC: 0
>>>> In:    serial
>>>> Out:   serial
>>>> Err:   serial
>>>> SCSI:  Target spinup took 0 ms.
>>>> AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
>>>> flags: ncq stag pm led clo only pmp pio slum part ccc apst
>>>> Net:   eth0: ethernet at 01c50000
>>>> Hit any key to stop autoboot:  0
>>>> ** Invalid partition 1 **
>>>> ** Invalid partition 1 **
>>>> ** Invalid partition 1 **
>>>> =>
>>> try latest master and also please give some more command log,  sata
>>> part or similar
>>
>> I can not build a uboot; I have to take what is available.  Where can I get
>> a newer Cubieboard2 uboot?
> Don't understand what do you mean by this, cant' you able to build
> Cubieboard2_defconfig on latest?

I am looking at what uboot the F26 rawhide build has.  Should have 
something together to test shortly.

Bob



More information about the U-Boot mailing list