Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Aug 2018 19:31:35 +0300
From:      Daniel Braniss <danny@cs.huji.ac.il>
To:        Warner Losh <imp@bsdimp.com>
Cc:        "freebsd-arm@freebsd.org" <arm@freebsd.org>
Subject:   Re: booting current from nano-neo/allwinner now failes
Message-ID:  <48C92770-DFCE-45D6-B92E-FD5202585AE9@cs.huji.ac.il>
In-Reply-To: <CANCZdfrYus9O0H1oXF8-66fvSjxozdHfO9ZZsc7NEmrc1EJCzQ@mail.gmail.com>
References:  <F926A7B8-F908-449C-9563-61CEB4C2CBAF@cs.huji.ac.il> <CANCZdfrYus9O0H1oXF8-66fvSjxozdHfO9ZZsc7NEmrc1EJCzQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


> On 2 Aug 2018, at 19:26, Warner Losh <imp@bsdimp.com> wrote:
>=20
> Try the latest ubldr
>  There was a change in the last day that should fix this..
>=20

I thought I had the latest, will try again.
BTW, I only updated the u-boot, and now it=E2=80=99s trying to boot via =
the net!, and the ether is actually working,
i=E2=80=99ll compile a kernel with nfs root support =E2=80=A6

thanks,
	danny


> Warner
>=20
> On Thu, Aug 2, 2018, 3:36 PM Daniel Braniss <danny@cs.huji.ac.il =
<mailto:danny@cs.huji.ac.il>> wrote:
> Hi,
> my last working version is from r333513, so im trying the latest, and =
with the old u-boot/ubldr I
> get as far as:
>=20
> U-Boot SPL 2017.09 (Feb 11 2018 - 10:52:39)
> DRAM: 512 MiB
> Trying to boot from MMC1
>=20
>=20
> U-Boot 2017.09 (Feb 11 2018 - 10:52:39 +0200) Allwinner Technology
>=20
> CPU:   Allwinner H3 (SUN8I 1680)
> Model: FriendlyARM NanoPi NEO
> DRAM:  512 MiB
> MMC:   SUNXI SD/MMC: 0
> *** Warning - bad CRC, using default environment
>=20
> In:    serial
> Out:   serial
> Err:   serial
> Net:   phy interface0
> eth0: ethernet@1c30000
> starting USB...
> USB0:   USB EHCI 1.00
> USB1:   USB OHCI 1.0
> scanning bus 0 for devices... 1 USB Device(s) found
>       scanning usb for storage devices... 0 Storage Device(s) found
> Hit any key to stop autoboot:  0=20
> switch to partitions #0, OK
> mmc0 is current device
> Scanning mmc 0:1...
> Found FreeBSD U-Boot Loader (bin)
> reading ubldr.bin
> 238552 bytes read in 39 ms (5.8 MiB/s)
> ## Starting application at 0x42000000 ...
> Consoles: U-Boot console =20
> Compatible U-Boot API signature found @0x5bf3f3c0
>=20
> FreeBSD/armv7 U-Boot loader, Revision 1.2
> (Wed Mar  7 13:42:45 IST 2018 danny@pe-44)
>=20
> DRAM: 512MB
> MMC Device 1 not found
> MMC Device 2 not found
> MMC Device 3 not found
> Number of U-Boot devices: 1
> U-Boot env: loaderdev not set, will probe all devices.
> Found U-Boot device: disk
>  Probing all disk devices...
>  Checking unit=3D0 slice=3D<auto> partition=3D<auto>... good.
> Booting from disk0s2:
> Loading /boot/defaults/loader.conf
> /boot/kernel/kernel data=3D0x6fde64+0xa619c =
syms=3D[0x4+0x81d80+0x4+0xd41b9]
> /
> Hit [Enter] to boot immediately, or any other key for command prompt.
> Booting [/boot/kernel/kernel]...              =20
> /boot/dtb/sun8i-h3-nanopi-neo.dtb size=3D0x5c1a
> Loaded DTB from file 'sun8i-h3-nanopi-neo.dtb'.
> Kernel entry at 0x42200100...
> Kernel args: (null)
>=20
>=20
> if I update to the latest u-boot/ubldr it failes trying to read from =
disk:
>=20
> U-Boot SPL 2018.07 (Aug 01 2018 - 17:37:02 +0300)
> DRAM: 512 MiB
> Trying to boot from MMC1
>=20
>=20
> U-Boot 2018.07 (Aug 01 2018 - 17:37:02 +0300) Allwinner Technology
>=20
> CPU:   Allwinner H3 (SUN8I 1680)
> Model: FriendlyARM NanoPi NEO
> DRAM:  512 MiB
> MMC:   SUNXI SD/MMC: 0
> Loading Environment from FAT... *** Warning - bad CRC, using default =
environment
>=20
> Failed (-5)
> In:    serial
> Out:   serial
> Err:   serial
> Net:   phy interface0
> eth0: ethernet@1c30000
> starting USB...
> USB0:   USB EHCI 1.00
> USB1:   USB OHCI 1.0
> scanning bus 0 for devices... 1 USB Device(s) found
>       scanning usb for storage devices... 0 Storage Device(s) found
> Hit any key to stop autoboot:  0=20
> switch to partitions #0, OK
> mmc0 is current device
> Scanning mmc 0:1...
> Found U-Boot script /boot.scr
> 199 bytes read in 1 ms (194.3 KiB/s)
> ## Executing script at 43100000
> 288084 bytes read in 19 ms (14.5 MiB/s)
> ## Starting application at 0x42000000 ...
> Consoles: U-Boot console =20
> Compatible U-Boot API signature found @0x5bf524e8
>=20
> FreeBSD/armv7 U-Boot loader, Revision 1.2
> (Wed Aug  1 18:30:42 IDT 2018 danny@dell)
>=20
> DRAM: 512MB
> Number of U-Boot devices: 1
> U-Boot env: loaderdev not set, will probe all devices.
> Found U-Boot device: disk
>  Probing all disk devices...
>  Checking unit=3D0 slice=3D<auto> partition=3D<auto>...
>  Checking unit=3D1 slice=3D<auto> partition=3D<auto>...
>  Checking unit=3D2 slice=3D<auto> partition=3D<auto>...
>  Checking unit=3D3 slice=3D<auto> partition=3D<auto>...
>  Checking unit=3D4 slice=3D<auto> partition=3D<auto>...
>  Checking unit=3D5 slice=3D<auto> partition=3D<auto>...
> Found U-Boot device: net
> Booting from net0:
> net_probe: no network devices found, maybe not enumerated yet..?
> netboot: couldn't probe uboot_eth0
> net_open: netif_open() failed
> net_probe: no network devices found, maybe not enumerated yet..?
> netboot: couldn't probe uboot_eth0
> net_open: netif_open() failed
>=20
> net_probe: no network devices found, maybe not enumerated yet..?
> =E2=80=A6
>=20
>=20
> I know that this board is not really supported but it=E2=80=99s listed =
in https://wiki.freebsd.org/FreeBSD/arm/Allwinner =
<https://wiki.freebsd.org/FreeBSD/arm/Allwinner>; =
<https://wiki.freebsd.org/FreeBSD/arm/Allwinner =
<https://wiki.freebsd.org/FreeBSD/arm/Allwinner>>;
> in any case I would like to help  but things are getting too =
complicated :-)
>=20
>=20
> thanks,
>         danny
>=20
>=20
>=20
>=20
> _______________________________________________
> freebsd-arm@freebsd.org <mailto:freebsd-arm@freebsd.org> mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm =
<https://lists.freebsd.org/mailman/listinfo/freebsd-arm>;
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org =
<mailto:freebsd-arm-unsubscribe@freebsd.org>"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48C92770-DFCE-45D6-B92E-FD5202585AE9>