Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Feb 2014 11:23:23 +0000
From:      =?iso-8859-1?B?V2Vp3ywgSvxyZ2Vu?= <weiss@uni-mainz.de>
To:        'Ian Lepore' <ian@FreeBSD.org>
Cc:        "'freebsd-arm@freebsd.org'" <freebsd-arm@FreeBSD.org>, 'Warner Losh' <wlosh@bsdimp.com>
Subject:   RE: About FreeBSD support one more mini-pc
Message-ID:  <4c23a9bb88a6471c87fe9b0d0eba84df@e15be-03.zdv.Uni-Mainz.DE>
In-Reply-To: <1393027582.1149.6.camel@revolution.hippie.lan>
References:  <210081392741053@web22h.yandex.ru> <1392835264.1145.33.camel@revolution.hippie.lan> <CAB3ij4CKpp5hQWeKk5icq6dgxKX%2BtiFLho1TYKc%2BnTbufGzzFA@mail.gmail.com> <FD2977C2-7F98-4B48-81D6-87D2B81BEA78@bsdimp.com> <1392842988.1145.50.camel@revolution.hippie.lan> <CAB3ij4CHPjAspW%2BjDDOiG2bBsFZ6a5f3P9LbyDAcfxq3BYTLyw@mail.gmail.com> <1392851578.1145.55.camel@revolution.hippie.lan> <1392869044.1145.58.camel@revolution.hippie.lan> <38db362d34174f70a07c0b9ea39a54c4@e15be-03.zdv.Uni-Mainz.DE> <1392925514.1145.68.camel@revolution.hippie.lan> <C9DDC3CB-B801-42CF-8B82-D9E05A0E3AC5@bsdimp.com> <1393010425.1145.143.camel@revolution.hippie.lan> <dee411d1b498428a9d1a2b16c8991e03@e15be-03.zdv.Uni-Mainz.DE> <1393027582.1149.6.camel@revolution.hippie.lan>

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

I just updated u-boot sources and added CONFIG_CMD_ELF. I used
unmodified ubldr and unmodified FreeBSD WANDBOARD-DUAL. bootelf disables
L1 dcache as well.

U-Boot 2014.01-14265-g0881289-dirty (Feb 22 2014 - 10:38:34)

CPU:   Freescale i.MX6DL rev1.1 at 792 MHz
Reset cause: POR
Board: Wandboard
DRAM:  1 GiB
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
MMC: no card present
MMC init failed
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   FEC [PRIME]
USB:   USB0:   lowlevel init failed
USB1:   USB EHCI 1.00
scanning bus 1 for devices... 2 USB Device(s) found
Hit any key to stop autoboot:  0 
=> dhcp
BOOTP broadcast 1
*** Unhandled DHCP Option in OFFER/ACK: 42
*** Unhandled DHCP Option in OFFER/ACK: 42
DHCP client bound to address 192.168.11.2
Using FEC device
TFTP from server 192.168.11.254; our IP address is 192.168.11.2
Filename 'uImage'.
Load address: 0x12000000
Loading: #################
         7.7 MiB/s
done
Bytes transferred = 241128 (3ade8 hex)
=> dcache
Data (writethrough) Cache is ON
=> bootelf
## Starting application at 0x10100054 ...
Consoles: U-Boot console  
Compatible API signature found @4f55f708
MMC: no card present
MMC: no card present
Number of U-Boot devices: 1

FreeBSD/armv6 U-Boot loader, Revision 1.2
(root@freebsd-src.zdv.Uni-Mainz.DE, Mon Feb 17 23:42:21 CET 2014)
DRAM:    1024MB

Device: net
Loading /boot/defaults/loader.conf 
/boot/kernel/kernel data=0x4cca48+0x2f5b8 syms=[0x4+0x7d7f0+0x4+0x4d862]
|
Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel]...               
Using DTB from loaded file.
Kernel entry at 0x12000100...
Kernel args: (null)
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2014 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 11.0-CURRENT #0 r262310+5331843(master): Sat Feb 22 00:04:22 CET 2014
    root@freebsd-src.zdv.Uni-Mainz.DE:/usr/obj/arm.armv6/s/export/freebsd-git/freebsd/sys/WANDBOARD-DUAL arm



I finally downloaded ubldr and used go to start the image. Now the FreeBSD
kernel fails to boot!

=> dhcp 0x10100000
BOOTP broadcast 1
*** Unhandled DHCP Option in OFFER/ACK: 42
*** Unhandled DHCP Option in OFFER/ACK: 42
DHCP client bound to address 192.168.11.2
Using FEC device
TFTP from server 192.168.11.254; our IP address is 192.168.11.2
Filename 'uImage'.
Load address: 0x10100000
Loading: #################
         7.7 MiB/s
done
Bytes transferred = 241128 (3ade8 hex)
=> go 0x10100054
## Starting application at 0x10100054 ...
Consoles: U-Boot console  
Compatible API signature found @4f55f708
MMC: no card present
MMC: no card present
Number of U-Boot devices: 1

FreeBSD/armv6 U-Boot loader, Revision 1.2
(root@freebsd-src.zdv.Uni-Mainz.DE, Mon Feb 17 23:42:21 CET 2014)
DRAM:    1024MB

Device: net
-
/boot/kernel/kernel data=0x4cca48+0x2f5b8 syms=[0x4+0x7d7f0+0x4+0x4d862]
Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel]...               
Using DTB compiled into kernel.
Kernel entry at 0x12000100...
Kernel args: (null)

Regards

Juergen

Juergen Weiss      |Universitaet Mainz, Zentrum fuer Datenverarbeitung,
weiss@uni-mainz.de |55099 Mainz, Tel: +49(6131)39-26361, FAX: +49(6131)39-26407



help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4c23a9bb88a6471c87fe9b0d0eba84df>