Fixed - Re: Booting F25 on a Cubieboard2 from sata

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



uboot for F26-rawhide works:

U-Boot 2016.11 (Nov 29 2016 - 23:22:13 +0000) Allwinner Technology

Putting this uboot from Fedora-Xfce-armhfp-Rawhide-20161215.n.0-sda.raw.xz onto a 4Gb mSD booted up F25 image just fine.

See end for console log

On 12/20/2016 01:54 AM, Peter Robinson wrote:
On Tue, Dec 20, 2016 at 5:08 AM, Robert Moskowitz <rgm@xxxxxxxxxxxxxxx> wrote:
I have been gone, doing other stuff for a year.  Back now trying to do a
number of things.  One is using the current uboot alone on the mSD and
everything else on sata.

Back a year+ ago, I would dd the image to a sata HD and just the uboot to a
4Gb mSD card.  I had even provided a modification to the installer script
here for this purpose.

It worked well. But now...

With only the uboot  on the mSD by:

dd if=u-boot-sunxi-with-spl.bin of=/dev/sdb bs=1024 seek=8 ; sync

I get:


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@01c50000
Hit any key to stop autoboot:  0
** Invalid partition 1 **
** Invalid partition 1 **
** Invalid partition 1 **
=>

Has there been some change to the Cubieboard uboot?
No, not that I'm aware of but not to say but there wasn't something
upstream, There was some changes to partitioning. Make sure the /boot
partition has the boot flag set.


U-Boot SPL 2016.11 (Nov 29 2016 - 23:22:13)
DRAM: 1024 MiB
CPU: 912000000Hz, AXI/AHB/APB: 3/2/2
Trying to boot from MMC1


U-Boot 2016.11 (Nov 29 2016 - 23:22:13 +0000) Allwinner Technology

CPU:   Allwinner A20 (SUN7I)
Model: Cubietech Cubieboard2
I2C:   ready
DRAM:  1 GiB
MMC:   SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

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@01c50000
starting USB...
USB0:   USB EHCI 1.00
USB1:   USB OHCI 1.0
USB2:   USB EHCI 1.00
USB3:   USB OHCI 1.0
scanning bus 0 for devices... 1 USB Device(s) found
scanning bus 2 for devices... 1 USB Device(s) found
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
** Invalid partition 1 **
scanning bus for devices...
  Device 0: (0:0) Vendor: ATA Prod.: FUJITSU MHV2060B Rev: 892C
            Type: Hard Disk
            Capacity: 57241.8 MB = 55.9 GB (117231408 x 512)
Found 1 device(s).

Device 0: (0:0) Vendor: ATA Prod.: FUJITSU MHV2060B Rev: 892C
            Type: Hard Disk
            Capacity: 57241.8 MB = 55.9 GB (117231408 x 512)
... is now current device
Scanning scsi 0:2...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
543 bytes read in 29 ms (17.6 KiB/s)
Ignoring unknown command: ui
Ignoring malformed menu command:  autoboot
Ignoring malformed menu command:  hidden
Ignoring unknown command: totaltimeout
Fedora-Xfce-armhfp-25-1.3 Boot Options.
1:    Fedora-Xfce-armhfp-25-1.3 (4.8.6-300.fc25.armv7hl)
Enter choice: 1:    Fedora-Xfce-armhfp-25-1.3 (4.8.6-300.fc25.armv7hl)
Retrieving file: /initramfs-4.8.6-300.fc25.armv7hl.img
46669921 bytes read in 1283 ms (34.7 MiB/s)
Retrieving file: /vmlinuz-4.8.6-300.fc25.armv7hl
5919120 bytes read in 181 ms (31.2 MiB/s)
append: console=ttyS0,115200 enforcing=0 ro root=UUID=eca45483-d548-4444-892d-07
54f1d401bc  cma=192MB
Retrieving file: /dtb-4.8.6-300.fc25.armv7hl/sun7i-a20-cubieboard2.dtb
34197 bytes read in 280 ms (119.1 KiB/s)
## Flattened Device Tree blob at 43000000
   Booting using the fdt blob at 0x43000000
   Loading Ramdisk to 4737d000, end 49fff061 ... OK
   Loading Device Tree to 47371000, end 4737c594 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.8.6-300.fc25.armv7hl (mockbuild@arm04-builder02.a rm.fedoraproject.org) (gcc version 6.2.1 20160916 (Red Hat 6.2.1-2) (GCC) ) #1 S
MP Tue Nov 1 14:46:32 UTC 2016
[ 0.000000] CPU: ARMv7 Processor [410fc074] revision 4 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructio
n cache
[    0.000000] OF: fdt:Machine model: Cubietech Cubieboard2
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 192 MiB at 0x74000000
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: Using PSCI v0.1 Function IDs from DT
[ 0.000000] percpu: Embedded 15 pages/cpu @ef6bd000 s31500 r8192 d21748 u6144
0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pag
es: 260416
[ 0.000000] Kernel command line: console=ttyS0,115200 enforcing=0 ro root=UUI
D=eca45483-d548-4444-892d-0754f1d401bc  cma=192MB
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)

etc...

_______________________________________________
arm mailing list -- arm@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to arm-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM (Vger)]     [Linux ARM]     [ARM Kernel]     [Fedora User Discussion]     [Older Fedora Users Discussion]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

Powered by Linux