From owner-freebsd-arm@FreeBSD.ORG Thu Oct 31 14:04:54 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 700CA8CA for ; Thu, 31 Oct 2013 14:04:54 +0000 (UTC) (envelope-from johnsstephenelder@gmail.com) Received: from mail-vc0-x233.google.com (mail-vc0-x233.google.com [IPv6:2607:f8b0:400c:c03::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 30DE520B4 for ; Thu, 31 Oct 2013 14:04:54 +0000 (UTC) Received: by mail-vc0-f179.google.com with SMTP id hz11so1994054vcb.10 for ; Thu, 31 Oct 2013 07:04:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=GBpTc3ALHINTC106rdAEMJOTT6ML77Q8fP5TzQr0TMI=; b=APFnSp/qgCmzuM25Vtch8qcUDvgQpiiyiNxn14e8IqCUIR2rJjzB7r+9s/nYUg8laa dLFDGilfmPYbJJE7pOsbetPDHiTSWSaKJZGTkLTp6RVIqZ91RHPHepjYZgSCPhvd6xKe Or4411YiYi8SHiPLzyzbZkP0WdPiW7zYkNhWJGLY0Y8zjzIoFhHbIBIpcY63CiZuNDli INmABymMv0lwWirbaJqabPl8fRBUfUz2p5rWb+5dMnZWOfheqrTqDQWpLhXFmVopGdI+ d+h87trajRNDcUQZxYb/dLPz8hfl3bgSRxOb06gpkoBsPQru9WA1fkFiBAI+enHf10bJ 9gZw== MIME-Version: 1.0 X-Received: by 10.52.187.138 with SMTP id fs10mr1791865vdc.10.1383228293273; Thu, 31 Oct 2013 07:04:53 -0700 (PDT) Received: by 10.58.214.201 with HTTP; Thu, 31 Oct 2013 07:04:53 -0700 (PDT) Date: Thu, 31 Oct 2013 22:04:53 +0800 Message-ID: Subject: Cant boot FreeBSD from CB From: John Elder To: freebsd-arm Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Oct 2013 14:04:54 -0000 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: initialized fdtbus0: simplebus0: on fdtbus0 aintc0: mem 0x1c20400-0x1c207ff on simplebus0 a10_ccm0: mem 0x1c20000-0x1c203ff on simplebus0 a10_timer0: 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: mem 0x1c20c90-0x1c20c97 on simplebus0 gpio0: mem 0x1c20800-0x1c20bff irq 28 on simplebus0 gpioc0: on gpio0 gpiobus0: on gpio0 ehci0: mem 0x1c14000-0x1c14fff irq 39 on simplebus0 usbus0: EHCI version 1.0 usbus0 on ehci0 ehci1: 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: at usbus1 uhub0: on usbus1 ugen0.1: at usbus0 uhub1: 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: at usbus1 umass0: 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: 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 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]!