Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Oct 2013 22:04:53 +0800
From:      John Elder <johnsstephenelder@gmail.com>
To:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Cant boot FreeBSD from CB
Message-ID:  <CA%2B2R0XN_qSmd56nx_S5rdi3456du1wLHG3BfA3MsbY9Fssp6zQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

This is my steps:
make TARGET_ARCH=armv6 WITH_FDT=yes kernel-toolchain
make TARGET_ARCH=armv6 KERNCONF=CUBIEBOARD WITH_FDT=yes
make TARGET_ARCH=armv6 buildworld
make TARGET_ARCH=armv6 WITH_FDT=yes DESTDIR=/mnt installworld distribution

then copy the kernel to the SD card;
All is done then I power on it shows:

=========================================================
Copyright (c) 1992-2013 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 r257378M: Wed Oct 30 14:35:23 CST 2013
    root@arm:/usr/obj/arm.armv6/usr/src/sys/CUBIEBOARD arm
FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
WARNING: WITNESS option enabled, expect reduced performance.
CPU: Cortex A8-r3 rev 2 (Cortex-A core)
 Supported features: ARM_ISA THUMB2 JAZELLE THUMBEE ARMv4 Security_Ext
 WB disabled EABT branch prediction enabled
LoUU:2 LoC:2 LoUIS:1
Cache level 1:
 32KB/64B 4-way data cache WT WB Read-Alloc
 32KB/64B 4-way instruction cache Read-Alloc
Cache level 2:
 256KB/64B 8-way unified cache WT WB Read-Alloc Write-Alloc
real memory  = 536870912 (512 MB)
avail memory = 517554176 (493 MB)
random device not loaded; using insecure entropy
random: <Software, Yarrow> initialized
fdtbus0: <Flattened Device Tree>
simplebus0: <Flattened device tree simple bus> on fdtbus0
aintc0: <A10 AINTC Interrupt Controller> mem 0x1c20400-0x1c207ff on
simplebus0
a10_ccm0: <Allwinner Clock Control Module> mem 0x1c20000-0x1c203ff on
simplebus0
a10_timer0: <Allwinner A10/A20 timer> mem 0x1c20c00-0x1c20c8f irq 22 on
simplebus0
Event timer "a10_timer Eventtimer" frequency 24000000 Hz quality 1000
Timecounter "a10_timer timer0" frequency 24000000 Hz quality 1000
a10wd0: <Allwinner A10 Watchdog> mem 0x1c20c90-0x1c20c97 on simplebus0
gpio0: <Allwinner GPIO controller> mem 0x1c20800-0x1c20bff irq 28 on
simplebus0
gpioc0: <GPIO controller> on gpio0
gpiobus0: <GPIO bus> on gpio0
ehci0: <Allwinner Integrated USB 2.0 controller> mem 0x1c14000-0x1c14fff
irq 39 on simplebus0
usbus0: EHCI version 1.0
usbus0 on ehci0
ehci1: <Allwinner Integrated USB 2.0 controller> mem 0x1c1c000-0x1c1cfff
irq 40 on simplebus0
usbus1: EHCI version 1.0
usbus1 on ehci1
uart0: <16750 or compatible> mem 0x1c28000-0x1c283ff irq 1 on simplebus0
uart0: console (115200,n,8,1)
Timecounters tick every 10.000 msec
usbus0: 480Mbps High Speed USB v2.0
usbus1: 480Mbps High Speed USB v2.0
ugen1.1: <Allwinner> at usbus1
uhub0: <Allwinner EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
ugen0.1: <Allwinner> at usbus0
uhub1: <Allwinner EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0
random: unblocking device.
WARNING: WITNESS option enabled, expect reduced performance.
Root mount waiting for: usbus1 usbus0
uhub1: 1 port with 1 removable, self powered
uhub0: 1 port with 1 removable, self powered
Root mount waiting for: usbus1
Root mount waiting for: usbus1
ugen1.2: <USB2.0> at usbus1
umass0: <USB2.0 SAMSUNG, class 0/0, rev 2.00/1.00, addr 2> on usbus1
umass0:  SCSI over Bulk-Only; quirks = 0x4100
umass0:0:0:-1: Attached to scbus0
da0 at umass-sim0 bus 0 scbus0 target 0 lun 0
da0: <USB2.0 SAMSUNG 5.00> Removable Direct Access SCSI-2 device
da0: Serial Number 301833018A85CD05
da0: 40.000MB/s transfers
da0: 2011MB (4119552 512 byte sectors: 255H 63S/T 256C)
da0: quirks=0x2<NO_6_BYTE>
Trying to mount root from ufs:/dev/da0 []...
warning: no time-of-day clock registered, system time will not be set
accurately
exec /sbin/init: error 8
exec /rescue/init: error 8
init: not found in path /sbin/init:/sbin/oinit:/sbin/init.bak:/rescue/init
panic: no init
KDB: enter: panic
[ thread pid 1 tid 100001 ]
Stopped at      kdb_enter+0x4c: ldrb    r15, [r15, r15, ror r15]!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B2R0XN_qSmd56nx_S5rdi3456du1wLHG3BfA3MsbY9Fssp6zQ>