Skip to content

Instantly share code, notes, and snippets.

@cleverca22
Last active April 14, 2017 06:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cleverca22/8ff5bd6a322c45f5a3bf7e6109e03e7a to your computer and use it in GitHub Desktop.
Save cleverca22/8ff5bd6a322c45f5a3bf7e6109e03e7a to your computer and use it in GitHub Desktop.
nix-build '<nixpkgs>' -A ubootBananaPi --argstr system armv7l-linux
[root@amd-nixos:~]# dd if=result/u-boot-sunxi-with-spl.bin of=/dev/sde bs=1024 seek=8
U-Boot SPL 2017.03 (Mar 13 2017 - 17:54:16)
DRAM: 1024 MiB
CPU: 912000000Hz, AXI/AHB/APB: 3/2/2
Trying to boot from MMC1
U-Boot 2017.03 (Mar 13 2017 - 17:54:16 +0000) Allwinner Technology
CPU: Allwinner A20 (SUN7I)
Model: LeMaker Banana Pi
I2C: ready
DRAM: 1 GiB
MMC: SUNXI SD/MMC: 0
** First descriptor is NOT a primary desc on 0:1 **
*** Warning - bad CRC, using default environment
Setting up a 720x576i composite-pal console (overscan 32x20)
In: serial
Out: vga
Err: vga
SCSI: SATA link 0 timeout.
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... 2 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot: 0
** First descriptor is NOT a primary desc on 0:1 **
switch to partitions #0, OK
mmc0 is current device
** No partition table - mmc 0 **
scanning bus for devices...
Found 0 device(s).
Device 0: not available
USB device 0: unknown device
ethernet@01c50000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Could not initialize PHY ethernet@01c50000
missing environment variable: pxeuuid
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/01-02-90-07-83-54-1e
ethernet@01c50000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Could not initialize PHY ethernet@01c50000
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000000
ethernet@01c50000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Could not initialize PHY ethernet@01c50000
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000000
ethernet@01c50000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Could not initialize PHY ethernet@01c50000
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000000
ethernet@01c50000 Waiting for PHY auto negotiation to complete.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment