Jump to content

Recommended Posts

Posted

Im trying to boot from network with ORPI-One-Plus, but seems to be no support for boot direct from u-boot.

 

is possible to boot (kernel, uboot) from sdcard, and leave only / (root) on NFS?

 

When i try to compile/boot only u-boot-sunxi-with-spl.bin

Quote

U-Boot SPL 2020.04-gc1ab7274 (Feb 14 2021 - 22:26:03 -0300)

DRAM: 1024 MiB

Trying to boot from MMC1

NOTICE:  BL31: v2.4(debug):v2.4-358-gd3e145b4c

NOTICE:  BL31: Built : 21:02:09, Feb 14 2021

NOTICE:  BL31: Detected Allwinner H6 SoC (1728)

NOTICE:  BL31: Found U-Boot DTB at 0xc083fb8, model: OrangePi One Plus

INFO:    ARM GICv2 driver initialized

INFO:    Configuring SPC Controller

INFO:    PMIC: Probing AXP805 on RSB

INFO:    PMIC: aldo1 voltage: 3.300V

INFO:    PMIC: aldo3 voltage: 3.300V

INFO:    PMIC: bldo1 voltage: 1.800V

INFO:    PMIC: bldo2 voltage: 1.800V

INFO:    PMIC: bldo3 voltage: 1.800V

INFO:    PMIC: cldo1 voltage: 3.300V

INFO:    PMIC: dcdcd voltage: 0.960V

INFO:    PMIC: dcdce voltage: 1.200V

INFO:    BL31: Platform setup done

INFO:    BL31: Initializing runtime services

INFO:    BL31: cortex_a53: CPU workaround for 855873 was applied

INFO:    BL31: cortex_a53: CPU workaround for 1530924 was applied

NOTICE:  PSCI: System suspend is unavailable

INFO:    BL31: Preparing for EL3 exit to normal world

INFO:    Entry point address = 0x4a000000

INFO:    SPSR = 0x3c9

 

 

U-Boot 2020.04-gc1ab7274 (Feb 14 2021 - 22:26:03 -0300) Allwinner Technology

 

CPU:   Allwinner H6 (SUN50I)

Model: OrangePi One Plus

DRAM:  1 GiB

MMC:   mmc@4020000: 0

Loading Environment from FAT... Unable to use mmc 0:0... In:    serial@5000000

Out:   serial@5000000

Err:   serial@5000000

Net:   No ethernet found.

starting USB...

Bus usb@5101000: USB EHCI 1.00

Bus usb@5101400: USB OHCI 1.0

Bus usb@5311000: USB EHCI 1.00

Bus usb@5311400: USB OHCI 1.0

scanning bus usb@5101000 for devices... 1 USB Device(s) found

scanning bus usb@5101400 for devices... 1 USB Device(s) found

scanning bus usb@5311000 for devices... 1 USB Device(s) found

scanning bus usb@5311400 for devices... 1 USB Device(s) found

       scanning usb for storage devices... 0 Storage Device(s) found

Autoboot in 2 seconds, press <Space> to stop

switch to partitions #0, OK

mmc0 is current device

** No partition table - mmc 0 **

 

Device 0: unknown device

No ethernet found.

missing environment variable: pxeuuid

missing environment variable: bootfile

Retrieving file: pxelinux.cfg/00000000

No ethernet found.

missing environment variable: bootfile

Retrieving file: pxelinux.cfg/0000000

No ethernet found.

missing environment variable: bootfile

Retrieving file: pxelinux.cfg/000000

No ethernet found.

missing environment variable: bootfile

Retrieving file: pxelinux.cfg/00000

No ethernet found.

missing environment variable: bootfile

Retrieving file: pxelinux.cfg/0000

No ethernet found.

missing environment variable: bootfile

Retrieving file: pxelinux.cfg/000

No ethernet found.

missing environment variable: bootfile

Retrieving file: pxelinux.cfg/00

No ethernet found.

missing environment variable: bootfile

Retrieving file: pxelinux.cfg/0

No ethernet found.

missing environment variable: bootfile

Retrieving file: pxelinux.cfg/default-arm-sunxi-sunxi

No ethernet found.

missing environment variable: bootfile

Retrieving file: pxelinux.cfg/default-arm-sunxi

No ethernet found.

missing environment variable: bootfile

Retrieving file: pxelinux.cfg/default-arm

No ethernet found.

missing environment variable: bootfile

Retrieving file: pxelinux.cfg/default

No ethernet found.

Config file not found

No ethernet found.

No ethernet found.

 

Posted

I'm not aware of any direct NFS support in u-boot. Though that support may exist in recent versions.

 

However, initramfs-tools does support NFS, and you may consider using that instead.

 

So, you may want to make a local boot partition, even if your root is NFS. And all you'd need is u-boot, your kernel, initramfs, and DTB.

 

You might start looking into the "nfsroot" and "ip" options of initramfs-tools:

 

http://manpages.ubuntu.com/manpages/trusty/man8/initramfs-tools.8.html

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines