From owner-freebsd-arm@FreeBSD.ORG Sun Mar 10 02:45:09 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 26F90AFC for ; Sun, 10 Mar 2013 02:45:09 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) by mx1.freebsd.org (Postfix) with ESMTP id F16A67D5 for ; Sun, 10 Mar 2013 02:45:08 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id r2A2j2rF012043; Sun, 10 Mar 2013 02:45:02 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.143] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id q7zhvunq5csdtsj5fawtj47ebe; Sun, 10 Mar 2013 02:45:01 +0000 (UTC) (envelope-from tim@kientzle.com) Subject: Re: RPi booting problem Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=windows-1252 From: Tim Kientzle In-Reply-To: Date: Sat, 9 Mar 2013 18:45:01 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Mats Mellstrand X-Mailer: Apple Mail (2.1283) Cc: "freebsd-arm@freebsd.org" 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: Sun, 10 Mar 2013 02:45:09 -0000 On Mar 9, 2013, at 6:29 AM, Mats Mellstrand wrote: > Hi >=20 > I have checked out the latest from head and built world and kernel = (conf/RPI-B) and finally created and image that I written to a flash. > I have used freebsd-uboot-20130201.tar.gz=20 >=20 > When I try to boot, the uboot goes in to a cyclic restart... >=20 > U-Boot 2013.01-rc1-g6709570-dirty (Nov 30 2012 - 19:09:28) >=20 > DRAM: 448 MiB > WARNING: Caches not enabled > MMC: bcm2835_sdhci: 0 > Using default environment >=20 > In: serial > Out: lcd > Err: lcd > bcm2835: USB power in ON > Net: Net Initialization Skipped > No ethernet found. > Hit any key to stop autoboot: 0=20 > reading uEnv.txt > reading boot.scr > 137 bytes read in 9023 ms (0 Bytes/s) > Running bootscript from mmc0 ... > ## Executing script at 00200000 > reading ubldr > 238023 bytes read in 60497 ms (2.9 KiB/s) > ## Starting application at 0x02000054 ... >=20 >=20 > U-Boot 2013.01-rc1-g6709570-dirty (Nov 30 2012 - 19:09:28) >=20 > over and over =85. Seems like your ubldr is broken. Try copying ubldr from another image somewhere and see if that fixes it. Here's a description of the RPi boot process for FreeBSD: = https://github.com/kientzle/freebsd-beaglebone/tree/master/board/Raspberry= Pi/boot The directory above that has a higher-level description of how FreeBSD works on RaspberryPi: = https://github.com/kientzle/freebsd-beaglebone/tree/master/board/Raspberry= Pi Tim From owner-freebsd-arm@FreeBSD.ORG Sun Mar 10 03:58:12 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 7527CFBD for ; Sun, 10 Mar 2013 03:58:12 +0000 (UTC) (envelope-from alie@affle.com) Received: from mail-qa0-f43.google.com (mail-qa0-f43.google.com [209.85.216.43]) by mx1.freebsd.org (Postfix) with ESMTP id A3DB8A45 for ; Sun, 10 Mar 2013 03:58:11 +0000 (UTC) Received: by mail-qa0-f43.google.com with SMTP id dx4so460116qab.16 for ; Sat, 09 Mar 2013 19:58:05 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=/TtooWmNfiNzoufHzGcF+2XWKM42qxQoI/PP6mCmNpU=; b=RPvXNamYmSKy/xcv1vbngdR44f7Vk4HsEI4W13fdd8thl7Fr3HhLX6WypNYQhFtM6L QzxV2YB9WxFG7znijMWRDpp0WGVohMu/O7VGoCMVSDFnoPUxm9t4qZ7Nhq2XRsfbUbuO hDCSRfGQMW6VTwiaFWkGQiPI5v4kTWgzNyhlukkMKgUFBUcYb8oZagMW/cqCWdoWPJl9 rR8Ab3s0WV1tNqIddEyCleKByQZG0SyQAJaE3d/vZ4cVIU3UONqhrK7MMB+hoObUvbYl MthhG6JFjLnGAlNHDanSvAeEkG+NA8eDoiS+2RbWi4QxRasywZNUemq/9UjpsyIGScbO VGOQ== MIME-Version: 1.0 X-Received: by 10.224.78.196 with SMTP id m4mr11221033qak.67.1362887488553; Sat, 09 Mar 2013 19:51:28 -0800 (PST) Received: by 10.49.87.193 with HTTP; Sat, 9 Mar 2013 19:51:28 -0800 (PST) Date: Sun, 10 Mar 2013 11:51:28 +0800 Message-ID: Subject: cmake build stops at -- Install configuration: "" From: Alie Tan To: "freebsd-arm@freebsd.org" X-Gm-Message-State: ALoCoQmCu4OjbfmFLXb3WUrcNBzSDzbAVk1srmAiU5afJsTtshDVGWXj7NoicaAJ6942K+e9qsWP Content-Type: text/plain; charset=ISO-8859-1 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: Sun, 10 Mar 2013 03:58:12 -0000 Its already 12 hours cmake build stops at "-- Install configuration: """ ===> Generating temporary packing list ===> Checking if devel/cmake already installed [ 1%] Built target cmIML_test [ 4%] Built target cmsys [ 4%] Built target cmsysTestDynload [ 5%] Built target cmsys_c [ 6%] Built target cmsysTestProcess [ 6%] Built target cmsysTestSharedForward [ 7%] Built target cmsysTestsC [ 9%] Built target cmsysTestsCxx [ 12%] Built target cmzlib [ 26%] Built target cmcurl [ 26%] Built target LIBCURL [ 26%] Built target cmcompress [ 27%] Built target cmbzip2 [ 46%] Built target cmlibarchive [ 47%] Built target cmexpat [ 56%] Built target cmForm [ 79%] Built target CMakeLib [ 83%] Built target CPackLib [ 93%] Built target CTestLib [ 96%] Built target ccmake [ 97%] Built target cmake [ 97%] Built target cpack [ 97%] Built target ctest [ 98%] Built target documentation [ 99%] Built target CMakeLibTests [100%] Built target runcompilecommands Install the project... -- Install configuration: "" CTRL+T: load: 1.16 cmd: cmake 869 [runnable] 395.98r 71.55u 318.95s 100% 6056k load: 1.22 cmd: cmake 869 [runnable] 826.72r 150.03u 665.48s 100% 6056k load: 1.04 cmd: cmake 869 [runnable] 975.15r 177.25u 784.71s 98% 6056k load: 1.22 cmd: cmake 869 [runnable] 1432.30r 259.68u 1153.35s 100% 6056k load: 1.46 cmd: cmake 869 [runnable] 1589.16r 287.41u 1280.39s 98% 6056k load: 1.04 cmd: cmake 869 [runnable] 10487.07r 1891.04u 8453.49s 100% 6056k load: 1.21 cmd: cmake 869 [runnable] 53571.07r 9636.29u 43044.19s 100% 6056k root@fbsd-pi:~ # uname -a FreeBSD fbsd-pi 10.0-CURRENT FreeBSD 10.0-CURRENT #2 r248028M: Fri Mar 8 15:27:38 SGT 2013 root@fbsd10:/usr/obj/arm.armv6/usr/src/sys/RPI-B arm Anyone got any idea with this issue? From owner-freebsd-arm@FreeBSD.ORG Sun Mar 10 08:40:34 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B08C9871 for ; Sun, 10 Mar 2013 08:40:34 +0000 (UTC) (envelope-from mats@exmandato.se) Received: from ext.mellstrand.net (ext.mellstrand.net [IPv6:2001:2040:4:2::51]) by mx1.freebsd.org (Postfix) with ESMTP id 1435C264 for ; Sun, 10 Mar 2013 08:40:33 +0000 (UTC) Received: by ext.mellstrand.net Sun, 10 Mar 2013 08:40:28 GMT Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 Subject: Re: RPi booting problem From: Mats Mellstrand In-Reply-To: Date: Sun, 10 Mar 2013 09:40:34 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <0C96F8AF-4876-4FA2-8473-8A0A36422883@exmandato.se> References: To: Tim Kientzle Cc: "freebsd-arm@freebsd.org" 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: Sun, 10 Mar 2013 08:40:34 -0000 On 10 mar 2013, at 03:45, Tim Kientzle wrote: >=20 > On Mar 9, 2013, at 6:29 AM, Mats Mellstrand wrote: >=20 >> Hi >>=20 >> I have checked out the latest from head and built world and kernel = (conf/RPI-B) and finally created and image that I written to a flash. >> I have used freebsd-uboot-20130201.tar.gz=20 >>=20 >> When I try to boot, the uboot goes in to a cyclic restart... >>=20 >> U-Boot 2013.01-rc1-g6709570-dirty (Nov 30 2012 - 19:09:28) >>=20 >> DRAM: 448 MiB >> WARNING: Caches not enabled >> MMC: bcm2835_sdhci: 0 >> Using default environment >>=20 >> In: serial >> Out: lcd >> Err: lcd >> bcm2835: USB power in ON >> Net: Net Initialization Skipped >> No ethernet found. >> Hit any key to stop autoboot: 0=20 >> reading uEnv.txt >> reading boot.scr >> 137 bytes read in 9023 ms (0 Bytes/s) >> Running bootscript from mmc0 ... >> ## Executing script at 00200000 >> reading ubldr >> 238023 bytes read in 60497 ms (2.9 KiB/s) >> ## Starting application at 0x02000054 ... >>=20 >>=20 >> U-Boot 2013.01-rc1-g6709570-dirty (Nov 30 2012 - 19:09:28) >>=20 >> over and over =85. >=20 > Seems like your ubldr is broken. Yes, that was the problem. Thank's! Now, what compiler flags should I use to build the ubldr? I have rebuilt ubldr many times. >=20 > Try copying ubldr from another image somewhere and > see if that fixes it. >=20 > Here's a description of the RPi boot process for FreeBSD: >=20 > = https://github.com/kientzle/freebsd-beaglebone/tree/master/board/Raspberry= Pi/boot >=20 > The directory above that has a higher-level description of > how FreeBSD works on RaspberryPi: >=20 > = https://github.com/kientzle/freebsd-beaglebone/tree/master/board/Raspberry= Pi >=20 > Tim >=20 >=20 /mm From owner-freebsd-arm@FreeBSD.ORG Sun Mar 10 12:56:37 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id DA9E4445 for ; Sun, 10 Mar 2013 12:56:37 +0000 (UTC) (envelope-from cochard@gmail.com) Received: from mail-ve0-f170.google.com (mail-ve0-f170.google.com [209.85.128.170]) by mx1.freebsd.org (Postfix) with ESMTP id 82745B54 for ; Sun, 10 Mar 2013 12:56:37 +0000 (UTC) Received: by mail-ve0-f170.google.com with SMTP id 14so2166958vea.1 for ; Sun, 10 Mar 2013 05:56:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:sender:from:date:x-google-sender-auth :message-id:subject:to:content-type; bh=FymGh/AV/Dppqr003HJh1T9DHOe3xe4llk9OV2k6inM=; b=U+smTfRjuZnZi/bX4xVkmPEBbhnVliZdDS3JR3mk+IIlkFuTrz6JuAgT/OhYNHFvnP HNJLoudpuk2SMR8XAo8Ohm8zVc8G1X1cQIsAMRgp8yb03tlGE3PqtsL0Sz+Wx5o/a5H4 SjipUxJ+jaPOcgxTyNBieZSzaEPuDOK4RkR54rR0VpQbjREb8XIYf8ouBzBbMLGsAZCm HfMPsB8Y6HHNIbz9jbn4lpI34EYJuwdKf4AVcyRbqguT78rgJiseIkM4gSUUp3A1j6og Y0qbCncfNnR1/G+2wL1+Po4GXHkRYmPVflrasIeLlKN9Lgej/fmnbXynFDwAADLMMc9v 7TLQ== X-Received: by 10.58.143.116 with SMTP id sd20mr2862595veb.39.1362920190974; Sun, 10 Mar 2013 05:56:30 -0700 (PDT) MIME-Version: 1.0 Sender: cochard@gmail.com Received: by 10.58.11.229 with HTTP; Sun, 10 Mar 2013 05:56:10 -0700 (PDT) From: =?ISO-8859-1?Q?Olivier_Cochard=2DLabb=E9?= Date: Sun, 10 Mar 2013 13:56:10 +0100 X-Google-Sender-Auth: ZBUWDENpSbA9EmyZqrzOpJ0Uhjg Message-ID: Subject: Need help for building security/libgcrypt on ARM with clang To: freebsd-arm@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 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: Sun, 10 Mar 2013 12:56:37 -0000 Hi, I would to build security/libgcrypt on ARM with clang but I've got problem with longlong.h On first run, clang complain about: error: invalid use of a cast in a inline asm context requiring an l-value: remove the cast or build with -fheinous-gnu-extension ./longlong.h:230:25: note: expanded from macro 'umul_ppmm' : "=&r" ((USItype)(xh)), => For fixing this problem, I've use the same method as in files/patch-mpi-longlong.h for I386 arch on the ARM section. But there is a new problem: error: invalid % escape in inline assembly string ./longlong.h:228:14: note: expanded from macro 'umul_ppmm' __asm__ ("%@ Inlined umul_ppmm\n" => For fixing this problem, I've completely remove the "%@ Inlined umul_ppmm\n" string. But...there is a new problem and I don't know how to fix it: error: invalid operand in inline asm: 'umull ${1:r}, ${0:r}, ${2:r}, ${3:r}' ./longlong.h:229:5: note: expanded from macro 'umul_ppmm' "umull %r1, %r0, %r2, %r3" Where is the problem ? My current nonworking longlong.h patch is here: http://gugus69.free.fr/freebsd/patch-mpi-longlong.h Thanks, From owner-freebsd-arm@FreeBSD.ORG Sun Mar 10 14:53:41 2013 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 3A29563A for ; Sun, 10 Mar 2013 14:53:41 +0000 (UTC) (envelope-from ian@FreeBSD.org) Received: from mho-01-ewr.mailhop.org (mho-03-ewr.mailhop.org [204.13.248.66]) by mx1.freebsd.org (Postfix) with ESMTP id 10FA2F70 for ; Sun, 10 Mar 2013 14:53:40 +0000 (UTC) Received: from c-24-8-230-52.hsd1.co.comcast.net ([24.8.230.52] helo=damnhippie.dyndns.org) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1UEhd6-000KYO-30; Sun, 10 Mar 2013 14:53:40 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id r2AErbUs008808; Sun, 10 Mar 2013 08:53:37 -0600 (MDT) (envelope-from ian@FreeBSD.org) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 24.8.230.52 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX19H3kwcTLu4Cw8DgBKkXisk Subject: Re: RPi booting problem From: Ian Lepore To: Mats Mellstrand In-Reply-To: <0C96F8AF-4876-4FA2-8473-8A0A36422883@exmandato.se> References: <0C96F8AF-4876-4FA2-8473-8A0A36422883@exmandato.se> Content-Type: text/plain; charset="windows-1251" Date: Sun, 10 Mar 2013 08:53:37 -0600 Message-ID: <1362927217.1291.257.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by damnhippie.dyndns.org id r2AErbUs008808 Cc: Tim Kientzle , "freebsd-arm@freebsd.org" 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: Sun, 10 Mar 2013 14:53:41 -0000 On Sun, 2013-03-10 at 09:40 +0100, Mats Mellstrand wrote: > On 10 mar 2013, at 03:45, Tim Kientzle wrote: >=20 > >=20 > > On Mar 9, 2013, at 6:29 AM, Mats Mellstrand wrote: > >=20 > >> Hi > >>=20 > >> I have checked out the latest from head and built world and kernel (= conf/RPI-B) and finally created and image that I written to a flash. > >> I have used freebsd-uboot-20130201.tar.gz=20 > >>=20 > >> When I try to boot, the uboot goes in to a cyclic restart... > >>=20 > >> U-Boot 2013.01-rc1-g6709570-dirty (Nov 30 2012 - 19:09:28) > >>=20 > >> DRAM: 448 MiB > >> WARNING: Caches not enabled > >> MMC: bcm2835_sdhci: 0 > >> Using default environment > >>=20 > >> In: serial > >> Out: lcd > >> Err: lcd > >> bcm2835: USB power in ON > >> Net: Net Initialization Skipped > >> No ethernet found. > >> Hit any key to stop autoboot: 0=20 > >> reading uEnv.txt > >> reading boot.scr > >> 137 bytes read in 9023 ms (0 Bytes/s) > >> Running bootscript from mmc0 ... > >> ## Executing script at 00200000 > >> reading ubldr > >> 238023 bytes read in 60497 ms (2.9 KiB/s) > >> ## Starting application at 0x02000054 ... > >>=20 > >>=20 > >> U-Boot 2013.01-rc1-g6709570-dirty (Nov 30 2012 - 19:09:28) > >>=20 > >> over and over =85. > >=20 > > Seems like your ubldr is broken. >=20 >=20 > Yes, that was the problem. Thank's! >=20 > Now, what compiler flags should I use to build the ubldr? > I have rebuilt ubldr many times. >=20 >=20 The only flag I use that's specifically related to ubldr is UBLDR_LOADADDR=3D which has to be set differently for each SoC. It's the physical address at which ubldr is loaded and runs, and it has to avoid overlapping the addresses used by the kernel it's going to load. A value of UBLDR_LOADADDR=3D0x81000000 works for both BeagleBone and RPi due to an RPi quirk where 1 GB of address space is mapped to all four 1 GB windows, with different caching attributes in each mapping. The caching differences are not significant in terms of the bootloader, so ubldr built for BB "just works" on RPi even though the normal ram mapping for RPi starts at 0x0 rather than 0x80000000. -- Ian From owner-freebsd-arm@FreeBSD.ORG Sun Mar 10 16:53:09 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 0EB57F33 for ; Sun, 10 Mar 2013 16:53:09 +0000 (UTC) (envelope-from wynkoop@wynn.com) Received: from mail.wynn.com (wa3yre.wynn.com [199.89.147.3]) by mx1.freebsd.org (Postfix) with ESMTP id AEBA972C for ; Sun, 10 Mar 2013 16:53:07 +0000 (UTC) Received: from ivory.wynn.com (mail.wynn.com [199.89.147.3]) (authenticated bits=0) by mail.wynn.com (8.14.3/8.12.6) with ESMTP id r2AGqxLb068588 for ; Sun, 10 Mar 2013 12:53:00 -0400 (EDT) (envelope-from wynkoop@wynn.com) Date: Sun, 10 Mar 2013 12:52:59 -0400 From: Brett Wynkoop To: "freebsd-arm@freebsd.org" Subject: beaglebone kernel broken in head Message-ID: <20130310125259.5a7cb592@ivory.wynn.com> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.15; x86_64-apple-darwin10.8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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: Sun, 10 Mar 2013 16:53:09 -0000 Greeting- Just did an svn up with the intent of rebuilding my kernel and this is what I have now: root@beaglebone:/usr/src/sys/arm/conf # !con config BEAGLEBONE-BEW config: BEAGLEBONE-BEW:24: cannot open included file root@beaglebone:/usr/src/sys/arm/conf # Line 24 is below: include "../ti/am335x/std.beaglebone" Besides dropping back to my previous /usr/src backup does anyone have any ideas? -Brett -- wynkoop@wynn.com http://prd4.wynn.com/wynkoop/pgp-keys.txt 917-642-6925 718-717-5435 Gun Control: The theory that a woman found dead in an alley, raped and strangled with her own pantyhose, is somehow morally superior to a woman explaining to police how her attacker got that fatal bullet wound From owner-freebsd-arm@FreeBSD.ORG Sun Mar 10 17:50:13 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 32747F4 for ; Sun, 10 Mar 2013 17:50:13 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: from smtprelay-b21.telenor.se (smtprelay-b21.telenor.se [195.54.99.212]) by mx1.freebsd.org (Postfix) with ESMTP id E5E94908 for ; Sun, 10 Mar 2013 17:50:12 +0000 (UTC) Received: from ipb5.telenor.se (ipb5.telenor.se [195.54.127.168]) by smtprelay-b21.telenor.se (Postfix) with ESMTP id BECA6EBD0D for ; Sun, 10 Mar 2013 18:28:39 +0100 (CET) X-SENDER-IP: [85.229.94.62] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArDLAD7CPFFV5V4+PGdsb2JhbABDhEmIBrB/hBKCXQOBShcDAQEBATg1gl8BI4ExDAqIRJsLoDOODYEegyoDjiSXWoRXOw X-IronPort-AV: E=Sophos;i="4.84,819,1355094000"; d="scan'208";a="289434759" Received: from c-3e5ee555.06-11-73746f31.cust.bredbandsbolaget.se (HELO sigyn.alvermark.net) ([85.229.94.62]) by ipb5.telenor.se with ESMTP; 10 Mar 2013 18:28:39 +0100 Received: from localhost ([127.0.0.1] helo=alvermark.net) by sigyn.alvermark.net with esmtp (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1UEk34-000IwA-LF for freebsd-arm@freebsd.org; Sun, 10 Mar 2013 18:28:38 +0100 Received: from 85.229.92.114 (SquirrelMail authenticated user alvis) by alvermark.net with HTTP; Sun, 10 Mar 2013 18:28:38 +0100 (CET) Message-ID: <60213.85.229.92.114.1362936518.squirrel@alvermark.net> Date: Sun, 10 Mar 2013 18:28:38 +0100 (CET) Subject: man hangs on RPi/EABI From: "Jakob Alvermark" To: freebsd-arm@freebsd.org User-Agent: SquirrelMail/1.5.1 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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: Sun, 10 Mar 2013 17:50:13 -0000 Hi, Running % man man On Raspberri Pi compiled with WITH_ARM_EABI (r248129) hangs forever. I can stop it with Ctrl-C, but I never get the man page to display (I've waited a couple of minutes) last pid: 687; load averages: 0.84, 0.68, 0.52 up 0+00:14:26 17:12:07 28 processes: 3 running, 25 sleeping CPU: 12.1% user, 0.0% nice, 85.6% system, 2.3% interrupt, 0.0% idle Mem: 13M Active, 57M Inact, 72M Wired, 59M Buf, 337M Free Swap: PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 687 jakob 1 60 0 11388K 2468K RUN 0:10 47.09% grotty 686 jakob 1 58 0 11676K 2568K RUN 0:10 45.77% troff 667 jakob 1 40 0 11388K 2320K RUN 0:02 0.00% top Doing the same with the system compiled without WITH_ARM_EABI works as expected. Any ideas? Thank you Jakob From owner-freebsd-arm@FreeBSD.ORG Sun Mar 10 17:55:48 2013 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 4A0FC2D1 for ; Sun, 10 Mar 2013 17:55:48 +0000 (UTC) (envelope-from ian@FreeBSD.org) Received: from mho-01-ewr.mailhop.org (mho-03-ewr.mailhop.org [204.13.248.66]) by mx1.freebsd.org (Postfix) with ESMTP id 02E75935 for ; Sun, 10 Mar 2013 17:55:47 +0000 (UTC) Received: from c-24-8-230-52.hsd1.co.comcast.net ([24.8.230.52] helo=damnhippie.dyndns.org) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1UEkTK-000JBN-Oh; Sun, 10 Mar 2013 17:55:46 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id r2AHtgoX008927; Sun, 10 Mar 2013 11:55:44 -0600 (MDT) (envelope-from ian@FreeBSD.org) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 24.8.230.52 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX19aq5PaIZmJBil1G17pHf/o Subject: Re: beaglebone kernel broken in head From: Ian Lepore To: Brett Wynkoop In-Reply-To: <20130310125259.5a7cb592@ivory.wynn.com> References: <20130310125259.5a7cb592@ivory.wynn.com> Content-Type: text/plain; charset="us-ascii" Date: Sun, 10 Mar 2013 11:55:42 -0600 Message-ID: <1362938142.1291.265.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: "freebsd-arm@freebsd.org" 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: Sun, 10 Mar 2013 17:55:48 -0000 On Sun, 2013-03-10 at 12:52 -0400, Brett Wynkoop wrote: > Greeting- > > Just did an svn up with the intent of rebuilding my kernel and this is > what I have now: > > root@beaglebone:/usr/src/sys/arm/conf # !con > config BEAGLEBONE-BEW > config: BEAGLEBONE-BEW:24: cannot open included file > root@beaglebone:/usr/src/sys/arm/conf # > > > > Line 24 is below: > > include "../ti/am335x/std.beaglebone" > > Besides dropping back to my previous /usr/src backup does anyone have > any ideas? > > -Brett > I think something has gone wrong in your filesystem. I just updated to the latest and did a clean build of the kernel and had no problems, and that file is there on my system. -- Ian From owner-freebsd-arm@FreeBSD.ORG Sun Mar 10 22:25:35 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 524B4AAC for ; Sun, 10 Mar 2013 22:25:35 +0000 (UTC) (envelope-from cochard@gmail.com) Received: from mail-vb0-x22e.google.com (mail-vb0-x22e.google.com [IPv6:2607:f8b0:400c:c02::22e]) by mx1.freebsd.org (Postfix) with ESMTP id 09CD8357 for ; Sun, 10 Mar 2013 22:25:34 +0000 (UTC) Received: by mail-vb0-f46.google.com with SMTP id b13so1336778vby.19 for ; Sun, 10 Mar 2013 15:25:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:sender:from:date:x-google-sender-auth :message-id:subject:to:content-type; bh=5Hz2tMHE1ZUptjpp+Arxgif83fHArZTSTiyIcMv1vjE=; b=whhI986Dm0SaznunmrFbMU0/yfbzmy3hmjF7gPgSyH9R5aCgZS23On71gZcOvr/UkG Gub9VM84i/piQxTbfPjVrqg6tF3DJwSiRRqwa3t9LkpxiS715RPvbUzXtUGgs3aGbJD6 b8iWQRjIGVHdoAu7owhEG4hDjTKk66YhaA8hGFPRwfpUOOKuOehtMHf2DKyQpzhhZPcj meDwZ99+sTiHMuZv9r/fsP9eAILs21NDTjybzNsYTAdMRPuM8WKeTedUXCHXlNKAzFn5 ADw4JXyjysCCnvLO7ujnb7Tr55v2SPG4+nAVAuTe6lHPBpxHU6Pocw8bc8aVeDUoIo9X gNVg== X-Received: by 10.58.205.179 with SMTP id lh19mr4037993vec.7.1362954334507; Sun, 10 Mar 2013 15:25:34 -0700 (PDT) MIME-Version: 1.0 Sender: cochard@gmail.com Received: by 10.58.11.229 with HTTP; Sun, 10 Mar 2013 15:25:14 -0700 (PDT) From: =?ISO-8859-1?Q?Olivier_Cochard=2DLabb=E9?= Date: Sun, 10 Mar 2013 23:25:14 +0100 X-Google-Sender-Auth: eASQy__2TBd1R1KIi8Y8gTYf6OY Message-ID: Subject: sys/arm/include/endian.h and signal.h bug with clang ? To: freebsd-arm@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 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: Sun, 10 Mar 2013 22:25:35 -0000 Hi, during the build of devel/gobject-introspection with clang on my Raspberry Pi, I've seen this error (but they didn't prevent gobject-introspection to compile): /usr/include/machine/signal.h:45: syntax error, unexpected '}' in '};' at '}' /usr/include/machine/endian.h:90: syntax error, unexpected identifier, expecting ',' or ';' in ' __asm volatile("eor %1, % 0, %0, ror #16\n"' at 'o' /usr/include/machine/endian.h:104: syntax error, unexpected identifier, expecting ',' or ';' in ' __asm volatile(' at 'o' g-ir-scanner: GLib: warning: 674 warnings suppressed (use --warn-all to see them) GISCAN GObject-2.0.gir /usr/include/machine/signal.h:45: syntax error, unexpected '}' in '};' at '}' /usr/include/machine/endian.h:90: syntax error, unexpected identifier, expecting ',' or ';' in ' __asm volatile("eor %1, % 0, %0, ror #16\n"' at 'o' /usr/include/machine/endian.h:104: syntax error, unexpected identifier, expecting ',' or ';' in ' __asm volatile(' at 'o' /usr/ports/devel/gobject-introspection/work/gobject-introspection-1.34.2/tmp-introspectj39xYS/GObject-2.0.c:606:3: warning : 'g_value_array_get_type' is deprecated [-Wdeprecated-declarations] etc... Is there a problem in endian.h and signal.h ? Regards, Olivier From owner-freebsd-arm@FreeBSD.ORG Mon Mar 11 00:22:01 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9AC75177 for ; Mon, 11 Mar 2013 00:22:01 +0000 (UTC) (envelope-from alie@affle.com) Received: from mail-qa0-f50.google.com (mail-qa0-f50.google.com [209.85.216.50]) by mx1.freebsd.org (Postfix) with ESMTP id 627F88F8 for ; Mon, 11 Mar 2013 00:22:00 +0000 (UTC) Received: by mail-qa0-f50.google.com with SMTP id dx4so705407qab.16 for ; Sun, 10 Mar 2013 17:21:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:x-gm-message-state; bh=3o3KNLHnUpNkYBuQfkLtMAIsY0LMrmpqGVKYs7+RCqQ=; b=XXq3adOjyGdE1qP2KQS6SmglB9HNBWyB7/2wR/FcPcXGvWlvU2G10R9i19ufWQdh1P JzOhyismkC2jltbTN7sIhe2pIiJoIFwV7cSNplGu8rlpP85RYRNyajmAFh9dk8D9fBk0 iAfPz1LdoUCpqgsl84stfxZZBsJRE0jmuOi8twqanqPHliFifPx5L5slooiqTANALFbh rjvgaQWeYXkIKK1cH9HUZUanbd15gXgvsTqXt4CxUF0sX1f7sQfTeB6oBkyqeyYd4vj2 ucfxO0ij19tl5VNhYgDyGctDneXXmhbgiXSUVFe5olzsw7vo/i2b2v64jFWmb6MwXPiM 2i2Q== MIME-Version: 1.0 X-Received: by 10.224.117.66 with SMTP id p2mr8884427qaq.45.1362961313794; Sun, 10 Mar 2013 17:21:53 -0700 (PDT) Received: by 10.49.87.193 with HTTP; Sun, 10 Mar 2013 17:21:53 -0700 (PDT) In-Reply-To: <60213.85.229.92.114.1362936518.squirrel@alvermark.net> References: <60213.85.229.92.114.1362936518.squirrel@alvermark.net> Date: Mon, 11 Mar 2013 08:21:53 +0800 Message-ID: Subject: Re: man hangs on RPi/EABI From: Alie Tan To: Jakob Alvermark X-Gm-Message-State: ALoCoQnHcWiHMyWjVaDgOua9nVDcGvASuHV2e9YrDU11MA/DuEnJ6BeMNeuOwarL0dsQ5bQ+I5QE Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-arm@freebsd.org" 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: Mon, 11 Mar 2013 00:22:01 -0000 Got same issue but while building cmake. no issue without ARM EABI. On Monday, March 11, 2013, Jakob Alvermark wrote: > Hi, > > Running > % man man > On Raspberri Pi compiled with WITH_ARM_EABI (r248129) hangs forever. > I can stop it with Ctrl-C, but I never get the man page to display (I've > waited a couple of minutes) > > last pid: 687; load averages: 0.84, 0.68, 0.52 up 0+00:14:26 > 17:12:07 > 28 processes: 3 running, 25 sleeping > CPU: 12.1% user, 0.0% nice, 85.6% system, 2.3% interrupt, 0.0% idle > Mem: 13M Active, 57M Inact, 72M Wired, 59M Buf, 337M Free > Swap: > > PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND > 687 jakob 1 60 0 11388K 2468K RUN 0:10 47.09% grotty > 686 jakob 1 58 0 11676K 2568K RUN 0:10 45.77% troff > 667 jakob 1 40 0 11388K 2320K RUN 0:02 0.00% top > > Doing the same with the system compiled without WITH_ARM_EABI works as > expected. > > Any ideas? > > Thank you > Jakob > > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > From owner-freebsd-arm@FreeBSD.ORG Mon Mar 11 10:44:21 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 1D573CFF for ; Mon, 11 Mar 2013 10:44:21 +0000 (UTC) (envelope-from alie@affle.com) Received: from mail-qc0-x236.google.com (mail-qc0-x236.google.com [IPv6:2607:f8b0:400d:c01::236]) by mx1.freebsd.org (Postfix) with ESMTP id D1605654 for ; Mon, 11 Mar 2013 10:44:20 +0000 (UTC) Received: by mail-qc0-f182.google.com with SMTP id k19so1404252qcs.41 for ; Mon, 11 Mar 2013 03:44:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:x-gm-message-state; bh=qb8G4GGvhGN7hngBfmsOAPLW3xv8yTlCxm621aOQczU=; b=eGVnf3IyKwraYJywDHgdQQujoiwItd/IZ7SUzd9WviuVYP5ygTMOsa7VZAuBMV8wER GljNG1xIkj1lQDfrKMZqi8kqfwuaQJhnTilammlX/cc9OAmOJ7bdbtNq06lwuwbySb/r +SBYfRccNO2tDXIFcnpgF0FhhZrHQIjM7jYd6qjF5esOEu97YIEbUDQH0K0P3eKRgOyG +0tGeGYI2V/G9tJcmL1QBJ4ojE6R66+XkTfoSkcGfcVj8oE6JZVdAz+ym2PI4T4r3fr7 sUt2TIx6mZ5HYJfFAcfjdcPPZwYIypfl5dtWA5DRoVfPx2jFb5A56OLZ9oY3yFn6OyJp Jkyg== MIME-Version: 1.0 X-Received: by 10.49.95.138 with SMTP id dk10mr18262571qeb.43.1362998242112; Mon, 11 Mar 2013 03:37:22 -0700 (PDT) Received: by 10.49.87.193 with HTTP; Mon, 11 Mar 2013 03:37:21 -0700 (PDT) In-Reply-To: <5B57B232-3DEE-42A4-9623-58E7D75291B9@bsdimp.com> References: <5125A73F.10802@ceetonetechnology.com> <20130221011346.3c376117@ivory.wynn.com> <48679DB0-7A2B-4617-BAA3-30C21F3CD61B@bsdimp.com> <1361458105.1185.19.camel@revolution.hippie.lan> <1361459858.1185.25.camel@revolution.hippie.lan> <5B57B232-3DEE-42A4-9623-58E7D75291B9@bsdimp.com> Date: Mon, 11 Mar 2013 18:37:21 +0800 Message-ID: Subject: Re: The Next BeagleBone Better & Faster for Less! From: Alie Tan To: Warner Losh X-Gm-Message-State: ALoCoQnSdBmll8kkVw+aI+AJPearLkn+sINgwZoQzQ3r3ezAcBAvacTK6Hm7dZdz02Ue5il/2Tq5 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Tim Kientzle , "freebsd-arm@freebsd.org" , Ian Lepore , Brett Wynkoop , "george@ceetonetechnology.com" 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: Mon, 11 Mar 2013 10:44:21 -0000 Sneek peek: https://plus.google.com/102344295024422039483/posts/6Z4mixQGRcH On Fri, Feb 22, 2013 at 1:01 AM, Warner Losh wrote: > > On Feb 21, 2013, at 9:58 AM, Tim Kientzle wrote: > > > > > On Feb 21, 2013, at 7:17 AM, Ian Lepore wrote: > > > >> On Thu, 2013-02-21 at 07:58 -0700, Warner Losh wrote: > >>> On Feb 21, 2013, at 7:48 AM, Ian Lepore wrote: > >>> > >>>> On Wed, 2013-02-20 at 23:49 -0700, Warner Losh wrote: > >>>>> On Feb 20, 2013, at 11:13 PM, Brett Wynkoop wrote: > >>>>> > >>>>>> On Wed, 20 Feb 2013 23:49:03 -0500 > >>>>>> George Rosamond wrote: > >>>>>> > >>>>>>> On 02/20/13 23:27, Alie Tan wrote: > >>>>>>>> Just got a news about new Beaglebone: > >>>>>>>> > >>>>>>>> http://beagleboard.org/unzipped/ > >>>>>>> > >>>>>>> Wow. Although personally, I could do without the HDMI. > >>>>>>> > >>>>>>> It would be ideal there was a stock FBSD image for them to provid= e > for > >>>>>>> purchasers... as in official on their www site as an alternative = to > >>>>>>> Linux. > >>>>>>> > >>>>>>> g > >>>>>> > >>>>>> Greeting- > >>>>>> > >>>>>> We need working USB support to contribute that to their site. > >>>>>> > >>>>>> Is this new bone going to be the same as the old bone, but with > video, > >>>>>> in other words will current kernels run or will the hard core kern= el > >>>>>> folks have to rework things? > >>>>> > >>>>> We'll likely have to rework thing, at least if we want to run out o= f > flash on the card. it has a new flash chip that has micron markings on it= . > Sure would be nice to know what, exactly, that chip is=85 > > > > I haven't found what SoC the new BeagleBone is > > using, but the AM3359 used on the original BeagleBone > > does support hardware ECC in the memory controller. > > > > "Section 7.1.1.1 GPMC (General Purpose Memory Controller) Features > > =85 > > =95 Up to 16-bit ECC support for NAND flash using BCH code (t=3D4, 8 > > or 16) or Hamming code for 8-bit or 16-bit NAND-flash, organized > > with page size of 512 bytes, 1K bytes, or more." > > > > There is also an "Error Location Module" documented in Section 7.4 > > of the TRM which seems to be the component that actually > > implements the ECC coding and works with the GPMC. > > > > Definitely a chunk of work to integrate, but it doesn't appear > > to require that we implement software ECC. > > Software BCH is very slow in comparison to hardware.. > > Warner > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > From owner-freebsd-arm@FreeBSD.ORG Mon Mar 11 11:06:39 2013 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 2E70AA82 for ; Mon, 11 Mar 2013 11:06:39 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 200C47BA for ; Mon, 11 Mar 2013 11:06:39 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2BB6cvS088899 for ; Mon, 11 Mar 2013 11:06:38 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2BB6cMM088897 for freebsd-arm@FreeBSD.org; Mon, 11 Mar 2013 11:06:38 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 11 Mar 2013 11:06:38 GMT Message-Id: <201303111106.r2BB6cMM088897@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-arm@FreeBSD.org Subject: Current problem reports assigned to freebsd-arm@FreeBSD.org 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: Mon, 11 Mar 2013 11:06:39 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o arm/176424 arm Compiler warning, TARGET_ARCH=armv6, make MALLOC_PRODU o arm/175803 arm building xdev for arm failing o arm/175605 arm please fix build binutils-2.23.1 in raspberry pi o arm/174461 arm [patch] Fix off-by-one in arm9/arm10 cache maintenance o arm/173617 arm Dreamplug exhibits eSATA file corruption using network o kern/171096 arm [arm][xscale][ixp]Allow 16bit access on PCI bus o arm/166256 arm build fail in pmap.c o arm/162159 arm [panic] USB errors leading to panic on DockStar 9.0-RC o arm/161110 arm /usr/src/sys/arm/include/signal.h is bad o arm/161044 arm devel/icu does not build on arm o arm/158950 arm arm/sheevaplug fails fsx when mmap operations are enab o arm/155894 arm [patch] Enable at91 booting from SDHC (high capacity) p arm/155214 arm [patch] MMC/SD IO slow on Atmel ARM with modern large o arm/154227 arm [geli] using GELI leads to panic on ARM o arm/153380 arm Panic / translation fault with wlan on ARM o arm/150581 arm [irq] Unknown error generates IRQ address decoding err o arm/149288 arm mail/dovecot causes panic during configure on Sheevapl o arm/134368 arm [new driver] [patch] nslu2_led driver for the LEDs on p arm/134338 arm [patch] Lock GPIO accesses on ixp425 19 problems total. From owner-freebsd-arm@FreeBSD.ORG Mon Mar 11 13:50:50 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 129FB9E6; Mon, 11 Mar 2013 13:50:50 +0000 (UTC) (envelope-from george@ceetonetechnology.com) Received: from feynman.konjz.org (feynman.konjz.org [64.147.119.39]) by mx1.freebsd.org (Postfix) with ESMTP id C714D321; Mon, 11 Mar 2013 13:50:49 +0000 (UTC) Received: from [192.168.1.104] (pool-173-77-66-223.nycmny.east.verizon.net [173.77.66.223]) (authenticated bits=0) by feynman.konjz.org (8.14.6/8.14.4) with ESMTP id r2BDo68H039005 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 11 Mar 2013 09:50:13 -0400 (EDT) (envelope-from george@ceetonetechnology.com) Message-ID: <513DE102.90405@ceetonetechnology.com> Date: Mon, 11 Mar 2013 09:49:54 -0400 From: George Rosamond User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/20130222 Thunderbird/17.0.3 MIME-Version: 1.0 To: Alie Tan Subject: Re: The Next BeagleBone Better & Faster for Less! References: <5125A73F.10802@ceetonetechnology.com> <20130221011346.3c376117@ivory.wynn.com> <48679DB0-7A2B-4617-BAA3-30C21F3CD61B@bsdimp.com> <1361458105.1185.19.camel@revolution.hippie.lan> <1361459858.1185.25.camel@revolution.hippie.lan> <5B57B232-3DEE-42A4-9623-58E7D75291B9@bsdimp.com> In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Spam-Score: 5.32 (*****) FH_HOST_EQ_VERIZON_P,RDNS_DYNAMIC X-Spam-Hits: 5320 X-Spam-Names: FH_HOST_EQ_VERIZON_P,RDNS_DYNAMIC X-Spam-Flag: YES X-Mail-Provider: KonjZ X-Scanned-By: MIMEDefang 2.73 on 64.147.119.39 Cc: Tim Kientzle , "freebsd-arm@freebsd.org" , Ian Lepore , Brett Wynkoop X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: george@ceetonetechnology.com List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Mar 2013 13:50:50 -0000 On 03/11/13 06:37, Alie Tan wrote: > Sneek peek: > https://plus.google.com/102344295024422039483/posts/6Z4mixQGRcH I tried via a contact at CircuitCo, but it would be nice if some devs could get a pre-release board or at least the specs so we had a jump-start on porting efforts. I'm a bit confused by the production process involved.. 1. TI makes the chip 2. The open design is implemented by a variety (?) of manufacturers 3. You have a bunch of distributors But with this board, I cant seem to identify who would be privy to the specs on the new board... Anyone? Some leads to ping for the specs would be nice for Tim, Gonzo, etc. g From owner-freebsd-arm@FreeBSD.ORG Mon Mar 11 19:11:30 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 9AD9DA61 for ; Mon, 11 Mar 2013 19:11:30 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from smtp4.clear.net.nz (smtp4.clear.net.nz [203.97.37.64]) by mx1.freebsd.org (Postfix) with ESMTP id 5F64F9D2 for ; Mon, 11 Mar 2013 19:11:30 +0000 (UTC) Received: from mxin2-orange.clear.net.nz (lb2-srcnat.clear.net.nz [203.97.32.237]) by smtp4.clear.net.nz (CLEAR Net Mail) with ESMTP id <0MJI00I76F9UO900@smtp4.clear.net.nz> for freebsd-arm@freebsd.org; Tue, 12 Mar 2013 07:56:23 +1300 (NZDT) Received: from 202-0-48-19.paradise.net.nz (HELO bender) ([202.0.48.19]) by smtpin2.paradise.net.nz with ESMTP; Tue, 12 Mar 2013 07:56:22 +1300 Date: Tue, 12 Mar 2013 07:55:56 +1300 From: Andrew Turner Subject: Re: sys/arm/include/endian.h and signal.h bug with clang ? In-reply-to: To: Olivier =?ISO-8859-1?Q?Cochard-Labb=E9?= Message-id: <20130312075556.5494747f@bender> MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: quoted-printable References: Cc: freebsd-arm@freebsd.org 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: Mon, 11 Mar 2013 19:11:30 -0000 On Sun, 10 Mar 2013 23:25:14 +0100 Olivier Cochard-Labb=C3=A9 wrote: > Hi, >=20 > during the build of devel/gobject-introspection with clang on my > Raspberry Pi, I've seen this error (but they didn't prevent > gobject-introspection to compile): Neither of these appear to be clang issues. > /usr/include/machine/signal.h:45: syntax error, unexpected '}' in > '};' at '}' This is because struct sigcontext is empty. Olivier Houchard fixed this in r248153. > /usr/include/machine/endian.h:90: syntax error, unexpected identifier, > expecting ',' or ';' in ' __asm volatile("eor %1, % > 0, %0, ror #16\n"' at 'o' > /usr/include/machine/endian.h:104: syntax error, unexpected > identifier, expecting ',' or ';' in ' __asm volatile(' at 'o' > g-ir-scanner: GLib: warning: 674 warnings suppressed (use --warn-all > to see them) This looks like the gobject introspection parser doesn't support asm volatile. You might have to talk to the port maintainer to see if there is any fix for this. Andrew From owner-freebsd-arm@FreeBSD.ORG Tue Mar 12 01:15:18 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 5F1BA1B6 for ; Tue, 12 Mar 2013 01:15:18 +0000 (UTC) (envelope-from alie@affle.com) Received: from mail-qc0-x230.google.com (mail-qc0-x230.google.com [IPv6:2607:f8b0:400d:c01::230]) by mx1.freebsd.org (Postfix) with ESMTP id 0196EDF0 for ; Tue, 12 Mar 2013 01:15:17 +0000 (UTC) Received: by mail-qc0-f176.google.com with SMTP id n41so1808076qco.35 for ; Mon, 11 Mar 2013 18:15:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=xKkEqkpZt4LfAUL7Qbb6HT1gzc0Ls7owd/Ery+BzMH8=; b=i46s5VyLaF5eoNlGEQvm/rGoyrmd9dAo7G+4y32Jd8S/NT3tiqzU0VAbEmiQ9dkSTe jO49yWM4ThtJxCMxHCbbWO0iQFRdBcjdLV03Z8fKWo1P9uGYWuM0aJXba1xaIcOlrtYc a4iaWCo7AVS0tPehQzbK8BANEauzj7QeuqkrIg650Ii141eqH3QLSAepeDZnHcWUIP2H gOel163EvdsH7IialtT+A4/69RUfjY1aTxVajVc7jzUXtojIpE5XMfZkz/wUHcwi7kj9 5NuAdoZw0CN5YV2jrRCb2GR9Dn5hPZeUpdSSAeXjV7E/Q8274dssVww8xErQqi7v1XVF NUuA== MIME-Version: 1.0 X-Received: by 10.224.78.196 with SMTP id m4mr19850320qak.67.1363050917226; Mon, 11 Mar 2013 18:15:17 -0700 (PDT) Received: by 10.49.87.193 with HTTP; Mon, 11 Mar 2013 18:15:17 -0700 (PDT) Date: Tue, 12 Mar 2013 09:15:17 +0800 Message-ID: Subject: Unable to compile VCHIQ From: Alie Tan To: "freebsd-arm@freebsd.org" X-Gm-Message-State: ALoCoQksDLLQoKFjNGIFOM0bXiVfpwH5+ih8nff0+oFjQpP/LTItD+7GQ+uvh6AtrW+wQkmNFicM Content-Type: text/plain; charset=ISO-8859-1 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: Tue, 12 Mar 2013 01:15:18 -0000 Cloning into '/usr/src/vc/vchiq-freebsd'... remote: Counting objects: 324, done. remote: Compressing objects: 100% (167/167), done. remote: Total 324 (delta 170), reused 306 (delta 152) Receiving objects: 100% (324/324), 276.83 KiB | 103 KiB/s, done. Resolving deltas: 100% (170/170), done. Cloning into '/usr/src/vc/userland'... remote: Counting objects: 890, done. remote: Compressing objects: 100% (510/510), done. remote: Total 890 (delta 383), reused 837 (delta 337) Receiving objects: 100% (890/890), 31.00 MiB | 214 KiB/s, done. Resolving deltas: 100% (383/383), done. Checking out files: 100% (468/468), done. rm -f export_syms vchiq.ko vchiq.kld vchiq_core.o vchiq_shim.o vchiq_util.o vchiq_kern_lib.o vchiq_2835_arm.o vchiq_arm.o vchiq_connected.o vchi_bsd.o vchiq_kmod.o ofw_bus_if.h bus_if.h device_if.h Warning: Object directory not changed from original /usr/src/vc/vchiq-freebsd @ -> /usr/src/sys machine -> /usr/src/sys/arm/include awk -f @/tools/makeobjops.awk @/kern/device_if.m -h awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h awk -f @/tools/makeobjops.awk @/dev/ofw/ofw_bus_if.m -h cc -O3 -pipe -DVCOS_VERIFY_BKPTS=1 -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -O3 -fno-strict-aliasing -funroll-loops -pipe -ftree-vectorize -D_KERNEL -DKLD_MODULE -nostdinc -I/usr/src/vc/vchiq-freebsd/interface -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -ffreestanding -std=iso9899:1999 -c /usr/src/vc/vchiq-freebsd/interface/vchiq_arm/vchiq_core.c cc -O3 -pipe -DVCOS_VERIFY_BKPTS=1 -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -O3 -fno-strict-aliasing -funroll-loops -pipe -ftree-vectorize -D_KERNEL -DKLD_MODULE -nostdinc -I/usr/src/vc/vchiq-freebsd/interface -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -ffreestanding -std=iso9899:1999 -c /usr/src/vc/vchiq-freebsd/interface/vchiq_arm/vchiq_shim.c cc -O3 -pipe -DVCOS_VERIFY_BKPTS=1 -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -O3 -fno-strict-aliasing -funroll-loops -pipe -ftree-vectorize -D_KERNEL -DKLD_MODULE -nostdinc -I/usr/src/vc/vchiq-freebsd/interface -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -ffreestanding -std=iso9899:1999 -c /usr/src/vc/vchiq-freebsd/interface/vchiq_arm/vchiq_util.c cc -O3 -pipe -DVCOS_VERIFY_BKPTS=1 -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -O3 -fno-strict-aliasing -funroll-loops -pipe -ftree-vectorize -D_KERNEL -DKLD_MODULE -nostdinc -I/usr/src/vc/vchiq-freebsd/interface -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -ffreestanding -std=iso9899:1999 -c /usr/src/vc/vchiq-freebsd/interface/vchiq_arm/vchiq_kern_lib.c cc -O3 -pipe -DVCOS_VERIFY_BKPTS=1 -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -O3 -fno-strict-aliasing -funroll-loops -pipe -ftree-vectorize -D_KERNEL -DKLD_MODULE -nostdinc -I/usr/src/vc/vchiq-freebsd/interface -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -ffreestanding -std=iso9899:1999 -c /usr/src/vc/vchiq-freebsd/interface/vchiq_arm/vchiq_2835_arm.c In file included from /usr/src/vc/vchiq-freebsd/interface/vchiq_arm/vchiq_2835_arm.c:65: @/vm/vm_pager.h: In function 'vm_pager_get_pages': @/vm/vm_pager.h:127: warning: implicit declaration of function 'rw_assert' @/vm/vm_pager.h:127: error: 'RA_WLOCKED' undeclared (first use in this function) @/vm/vm_pager.h:127: error: (Each undeclared identifier is reported only once @/vm/vm_pager.h:127: error: for each function it appears in.) @/vm/vm_pager.h: In function 'vm_pager_put_pages': @/vm/vm_pager.h:144: error: 'RA_WLOCKED' undeclared (first use in this function) @/vm/vm_pager.h: In function 'vm_pager_has_page': @/vm/vm_pager.h:168: error: 'RA_WLOCKED' undeclared (first use in this function) @/vm/vm_pager.h: In function 'vm_pager_page_unswapped': @/vm/vm_pager.h:191: error: 'RA_WLOCKED' undeclared (first use in this function) *** [vchiq_2835_arm.o] Error code 1 Stop in /usr/src/vc/vchiq-freebsd. Anyone got idea how to solve the issue? From owner-freebsd-arm@FreeBSD.ORG Tue Mar 12 07:05:51 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id AA52A61D for ; Tue, 12 Mar 2013 07:05:51 +0000 (UTC) (envelope-from johannes@brilliantservice.co.jp) Received: from mail-ie0-x22c.google.com (mail-ie0-x22c.google.com [IPv6:2607:f8b0:4001:c03::22c]) by mx1.freebsd.org (Postfix) with ESMTP id 809BACB4 for ; Tue, 12 Mar 2013 07:05:51 +0000 (UTC) Received: by mail-ie0-f172.google.com with SMTP id c10so5994294ieb.3 for ; Tue, 12 Mar 2013 00:05:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:from:date:message-id:subject:to :content-type:x-gm-message-state; bh=XY/uO6+vb1TVD1c5QUh35qrYHEsWEwQg7fr6cpBPIJE=; b=MsdvVloGLGiXdhuke6YSql6UR0sdoUfQVeJGEWbaLswOUpCUWb/a2soBrzJ9orMVN8 jEEXPOA0v42nIqau7cHmoQJdrF+H7vMgHHp3yGzzZAibgjDpRtWrtmAXhPQupxOgRWHR OE3iFtpF0Vqun43+ZOAc0f0RV14gltsi2v6wnLo7n1QHuAtg/oba+c7YkHiqRFD1WWwU 4hBx+B6olwAOJWJFt9dK70tHeeG02l2m/niZBqzg3BTWUKDwTvwXn4FMvzziw7Jj3wwX dB6W/jJJ5nnMJEcM0IwnmBrkLZUGWfvifRaiDGTVBKZfnYhTIlh5k2VPyLO+XSyHJ29/ ZYHA== X-Received: by 10.50.88.199 with SMTP id bi7mr10625502igb.70.1363071950662; Tue, 12 Mar 2013 00:05:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.42.25.71 with HTTP; Tue, 12 Mar 2013 00:05:10 -0700 (PDT) From: "Lundberg, Johannes" Date: Tue, 12 Mar 2013 16:05:10 +0900 Message-ID: Subject: GUMSTIX OVERO To: "freebsd-arm@freebsd.org" X-Gm-Message-State: ALoCoQlCRlE8Vqn3ECagCSV7QxwHGVcQ1E2e/YtVh6QFpzV1JQQkQ5LvPMxf/mA56kHm3jR+Dc6x Content-Type: text/plain; charset=ISO-8859-1 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: Tue, 12 Mar 2013 07:05:51 -0000 Hi Have anyone got a magic recipe for getting FreeBSD to boot on gumstix overo? I've tried compiling a kernel from svn with config GUMSTIX and booting it using u-boot but without success... Johannes Lundberg BRILLIANTSERVICE CO., LTD. From owner-freebsd-arm@FreeBSD.ORG Wed Mar 13 01:12:27 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id DA201C34 for ; Wed, 13 Mar 2013 01:12:27 +0000 (UTC) (envelope-from johannes@brilliantservice.co.jp) Received: from mail-ie0-x234.google.com (mail-ie0-x234.google.com [IPv6:2607:f8b0:4001:c03::234]) by mx1.freebsd.org (Postfix) with ESMTP id A798F6F6 for ; Wed, 13 Mar 2013 01:12:27 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id bn7so711960ieb.11 for ; Tue, 12 Mar 2013 18:12:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type:x-gm-message-state; bh=RgwFW8TNTIbmAS3oRs/Qc7zRiQIUQKRQaeoEJ7Wd30o=; b=bQseZoVzRp8LVlbvp92mdf7Cv//0RWmY1jNf6d4V52bQ8MCjIgi0c2S/vgRQ3GPxfs o7l4NJPEchSqIlUQ+aZ5SZaCtVIiM/EypzDQk5sMzrYRw9rh8ZWXW58bkmKD2Uiar5Qp SuzaHTuY/lC8mICNhMqQrquhopuDTwvr6ADywx3M517cS3TIaPGWWmfOZD0xevN6QRhj Gs8Gx601JpSTCtLaBEk2+6Km6SrbqEdMZqoY57P+6QZxd3+0BoQEnOJZ8nTfhGyf0SeL S4i7vnMIpFZlsvSQ/ENIebBxerIqpBYsijIHtdF2mvDfeYVX3LPpOthWWGCV/8dwGuHf bJFQ== X-Received: by 10.50.237.71 with SMTP id va7mr14023700igc.88.1363137147136; Tue, 12 Mar 2013 18:12:27 -0700 (PDT) MIME-Version: 1.0 Received: by 10.42.25.71 with HTTP; Tue, 12 Mar 2013 18:11:45 -0700 (PDT) In-Reply-To: References: From: "Lundberg, Johannes" Date: Wed, 13 Mar 2013 10:11:45 +0900 Message-ID: Subject: Re: GUMSTIX OVERO To: "freebsd-arm@freebsd.org" X-Gm-Message-State: ALoCoQlUyN6YIYUQjhvVBhV+IIEG6CPBQaKVNvmogd3PzpwcZ4Qaqk6okIsfdRlYSGluwmGfmCPt Content-Type: text/plain; charset=ISO-8859-1 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: Wed, 13 Mar 2013 01:12:27 -0000 Oh. I see now that the GUMSTIX config in HEAD is for the Xscale processor. I tried re-config it for omap3530 but without success... My knowledge in this area is too limited. Johannes Lundberg BRILLIANTSERVICE CO., LTD. On Tue, Mar 12, 2013 at 4:05 PM, Lundberg, Johannes < johannes@brilliantservice.co.jp> wrote: > Hi > > Have anyone got a magic recipe for getting FreeBSD to boot on gumstix > overo? > > I've tried compiling a kernel from svn with config GUMSTIX and booting it > using u-boot but without success... > > > Johannes Lundberg > BRILLIANTSERVICE CO., LTD. > From owner-freebsd-arm@FreeBSD.ORG Fri Mar 15 17:37:43 2013 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 3D5C969C; Fri, 15 Mar 2013 17:37:43 +0000 (UTC) (envelope-from ian@FreeBSD.org) Received: from mho-01-ewr.mailhop.org (mho-03-ewr.mailhop.org [204.13.248.66]) by mx1.freebsd.org (Postfix) with ESMTP id 175D6FD5; Fri, 15 Mar 2013 17:37:42 +0000 (UTC) Received: from c-24-8-230-52.hsd1.co.comcast.net ([24.8.230.52] helo=damnhippie.dyndns.org) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1UGYZU-000997-53; Fri, 15 Mar 2013 17:37:36 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id r2FHbYOE015334; Fri, 15 Mar 2013 11:37:34 -0600 (MDT) (envelope-from ian@FreeBSD.org) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 24.8.230.52 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1/+/e3PyFu4ms+Jkx7I6wXg Subject: Re: Custom kernel under RPI From: Ian Lepore To: loic.blot@unix-experience.fr In-Reply-To: <1363368112.22589.3.camel@Nerz-PC.home> References: <1363368112.22589.3.camel@Nerz-PC.home> Content-Type: text/plain; charset="ISO-8859-1" Date: Fri, 15 Mar 2013 11:37:34 -0600 Message-ID: <1363369054.1157.46.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by damnhippie.dyndns.org id r2FHbYOE015334 Cc: FreeBSD Hackers , freebsd-arm 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: Fri, 15 Mar 2013 17:37:43 -0000 On Fri, 2013-03-15 at 18:21 +0100, Lo=EFc BLOT wrote: > Hi all, > I don't know if it's the good list, but hackers for RPI, i think it's a > good thing :D >=20 > I have a little problem with custom kernel with RPI. I have modified > RPI-B config file to include run/runfw driver, compiled the kernel and > install it (make buildkernel KERNCONF=3DRPI-B && make installkernel > KERNCONF=3DRPI-B, from the RPI). The problem is at reboot. I can't boot= on > the RPI, because the kernel is frozen after those lines: >=20 > Kernel entry at 0x100100 .. > Kernel args: (null) >=20 > Nothing after. > Can someone tell me if i do something wrong ? > Thanks for advance For arm-specific questions, the freebsd-arm list might be better (I've added it to the CC). The problem may be that it has no device-tree info. You can add "fdt addr 0x100" to the /boot/loader.rc file to fix that. You can also enter it by hand at the loader prompt first to see if that helps... just hit a character (other than return) while it's loading the kernel, enter that command, then enter 'boot'. -- Ian From owner-freebsd-arm@FreeBSD.ORG Fri Mar 15 20:53:12 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9D9EBF6E for ; Fri, 15 Mar 2013 20:53:12 +0000 (UTC) (envelope-from gonzo@id.bluezbox.com) Received: from id.bluezbox.com (id.bluezbox.com [88.198.91.248]) by mx1.freebsd.org (Postfix) with ESMTP id 4582C29F for ; Fri, 15 Mar 2013 20:53:12 +0000 (UTC) Received: from [88.198.91.248] (helo=[IPv6:::1]) by id.bluezbox.com with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1UGbJG-000J0m-E1 for freebsd-arm@freebsd.org; Fri, 15 Mar 2013 13:33:04 -0700 Message-ID: <51438529.4080604@bluezbox.com> Date: Fri, 15 Mar 2013 13:31:37 -0700 From: Oleksandr Tymoshenko User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 MIME-Version: 1.0 To: freebsd-arm@freebsd.org Subject: Re: Unable to compile VCHIQ References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: gonzo@id.bluezbox.com X-Spam-Level: -- X-Spam-Report: Spam detection software, running on the system "id.bluezbox.com", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see The administrator of that system for details. Content preview: On 3/11/2013 6:15 PM, Alie Tan wrote: > Cloning into '/usr/src/vc/vchiq-freebsd'... > remote: Counting objects: 324, done. > remote: Compressing objects: 100% (167/167), done. > remote: Total 324 (delta 170), reused 306 (delta 152) > Receiving objects: 100% (324/324), 276.83 KiB | 103 KiB/s, done. > Resolving deltas: 100% (170/170), done. > Cloning into '/usr/src/vc/userland'... > remote: Counting objects: 890, done. > remote: Compressing objects: 100% (510/510), done. > remote: Total 890 (delta 383), reused 837 (delta 337) > Receiving objects: 100% (890/890), 31.00 MiB | 214 KiB/s, done. > Resolving deltas: 100% (383/383), done. > Checking out files: 100% (468/468), done. > rm -f export_syms vchiq.ko vchiq.kld vchiq_core.o vchiq_shim.o vchiq_util.o > vchiq_kern_lib.o vchiq_2835_arm.o vchiq_arm.o vchiq_connected.o vchi_bsd.o > vchiq_kmod.o ofw_bus_if.h bus_if.h device_if.h > Warning: Object directory not changed from original > /usr/src/vc/vchiq-freebsd > @ -> /usr/src/sys > machine -> /usr/src/sys/arm/include > awk -f @/tools/makeobjops.awk @/kern/device_if.m -h > awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h > awk -f @/tools/makeobjops.awk @/dev/ofw/ofw_bus_if.m -h > cc -O3 -pipe -DVCOS_VERIFY_BKPTS=1 -DUSE_VCHIQ_ARM > -D__VCCOREVER__=0x04000000 -O3 -fno-strict-aliasing -funroll-loops -pipe > -ftree-vectorize -D_KERNEL -DKLD_MODULE -nostdinc > -I/usr/src/vc/vchiq-freebsd/interface -I. -I@ -I@/contrib/altq > -finline-limit=8000 --param inline-unit-growth=100 --param > large-function-growth=1000 -fno-common -ffreestanding -std=iso9899:1999 > -c /usr/src/vc/vchiq-freebsd/interface/vchiq_arm/vchiq_core.c > cc -O3 -pipe -DVCOS_VERIFY_BKPTS=1 -DUSE_VCHIQ_ARM > -D__VCCOREVER__=0x04000000 -O3 -fno-strict-aliasing -funroll-loops -pipe > -ftree-vectorize -D_KERNEL -DKLD_MODULE -nostdinc > -I/usr/src/vc/vchiq-freebsd/interface -I. -I@ -I@/contrib/altq > -finline-limit=8000 --param inline-unit-growth=100 --param > large-function-growth=1000 -fno-common -ffreestanding -std=iso9899:1999 > -c [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 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: Fri, 15 Mar 2013 20:53:12 -0000 On 3/11/2013 6:15 PM, Alie Tan wrote: > Cloning into '/usr/src/vc/vchiq-freebsd'... > remote: Counting objects: 324, done. > remote: Compressing objects: 100% (167/167), done. > remote: Total 324 (delta 170), reused 306 (delta 152) > Receiving objects: 100% (324/324), 276.83 KiB | 103 KiB/s, done. > Resolving deltas: 100% (170/170), done. > Cloning into '/usr/src/vc/userland'... > remote: Counting objects: 890, done. > remote: Compressing objects: 100% (510/510), done. > remote: Total 890 (delta 383), reused 837 (delta 337) > Receiving objects: 100% (890/890), 31.00 MiB | 214 KiB/s, done. > Resolving deltas: 100% (383/383), done. > Checking out files: 100% (468/468), done. > rm -f export_syms vchiq.ko vchiq.kld vchiq_core.o vchiq_shim.o vchiq_util.o > vchiq_kern_lib.o vchiq_2835_arm.o vchiq_arm.o vchiq_connected.o vchi_bsd.o > vchiq_kmod.o ofw_bus_if.h bus_if.h device_if.h > Warning: Object directory not changed from original > /usr/src/vc/vchiq-freebsd > @ -> /usr/src/sys > machine -> /usr/src/sys/arm/include > awk -f @/tools/makeobjops.awk @/kern/device_if.m -h > awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h > awk -f @/tools/makeobjops.awk @/dev/ofw/ofw_bus_if.m -h > cc -O3 -pipe -DVCOS_VERIFY_BKPTS=1 -DUSE_VCHIQ_ARM > -D__VCCOREVER__=0x04000000 -O3 -fno-strict-aliasing -funroll-loops -pipe > -ftree-vectorize -D_KERNEL -DKLD_MODULE -nostdinc > -I/usr/src/vc/vchiq-freebsd/interface -I. -I@ -I@/contrib/altq > -finline-limit=8000 --param inline-unit-growth=100 --param > large-function-growth=1000 -fno-common -ffreestanding -std=iso9899:1999 > -c /usr/src/vc/vchiq-freebsd/interface/vchiq_arm/vchiq_core.c > cc -O3 -pipe -DVCOS_VERIFY_BKPTS=1 -DUSE_VCHIQ_ARM > -D__VCCOREVER__=0x04000000 -O3 -fno-strict-aliasing -funroll-loops -pipe > -ftree-vectorize -D_KERNEL -DKLD_MODULE -nostdinc > -I/usr/src/vc/vchiq-freebsd/interface -I. -I@ -I@/contrib/altq > -finline-limit=8000 --param inline-unit-growth=100 --param > large-function-growth=1000 -fno-common -ffreestanding -std=iso9899:1999 > -c /usr/src/vc/vchiq-freebsd/interface/vchiq_arm/vchiq_shim.c > cc -O3 -pipe -DVCOS_VERIFY_BKPTS=1 -DUSE_VCHIQ_ARM > -D__VCCOREVER__=0x04000000 -O3 -fno-strict-aliasing -funroll-loops -pipe > -ftree-vectorize -D_KERNEL -DKLD_MODULE -nostdinc > -I/usr/src/vc/vchiq-freebsd/interface -I. -I@ -I@/contrib/altq > -finline-limit=8000 --param inline-unit-growth=100 --param > large-function-growth=1000 -fno-common -ffreestanding -std=iso9899:1999 > -c /usr/src/vc/vchiq-freebsd/interface/vchiq_arm/vchiq_util.c > cc -O3 -pipe -DVCOS_VERIFY_BKPTS=1 -DUSE_VCHIQ_ARM > -D__VCCOREVER__=0x04000000 -O3 -fno-strict-aliasing -funroll-loops -pipe > -ftree-vectorize -D_KERNEL -DKLD_MODULE -nostdinc > -I/usr/src/vc/vchiq-freebsd/interface -I. -I@ -I@/contrib/altq > -finline-limit=8000 --param inline-unit-growth=100 --param > large-function-growth=1000 -fno-common -ffreestanding -std=iso9899:1999 > -c /usr/src/vc/vchiq-freebsd/interface/vchiq_arm/vchiq_kern_lib.c > cc -O3 -pipe -DVCOS_VERIFY_BKPTS=1 -DUSE_VCHIQ_ARM > -D__VCCOREVER__=0x04000000 -O3 -fno-strict-aliasing -funroll-loops -pipe > -ftree-vectorize -D_KERNEL -DKLD_MODULE -nostdinc > -I/usr/src/vc/vchiq-freebsd/interface -I. -I@ -I@/contrib/altq > -finline-limit=8000 --param inline-unit-growth=100 --param > large-function-growth=1000 -fno-common -ffreestanding -std=iso9899:1999 > -c /usr/src/vc/vchiq-freebsd/interface/vchiq_arm/vchiq_2835_arm.c > In file included from > /usr/src/vc/vchiq-freebsd/interface/vchiq_arm/vchiq_2835_arm.c:65: > @/vm/vm_pager.h: In function 'vm_pager_get_pages': > @/vm/vm_pager.h:127: warning: implicit declaration of function 'rw_assert' > @/vm/vm_pager.h:127: error: 'RA_WLOCKED' undeclared (first use in this > function) > @/vm/vm_pager.h:127: error: (Each undeclared identifier is reported only > once > @/vm/vm_pager.h:127: error: for each function it appears in.) > @/vm/vm_pager.h: In function 'vm_pager_put_pages': > @/vm/vm_pager.h:144: error: 'RA_WLOCKED' undeclared (first use in this > function) > @/vm/vm_pager.h: In function 'vm_pager_has_page': > @/vm/vm_pager.h:168: error: 'RA_WLOCKED' undeclared (first use in this > function) > @/vm/vm_pager.h: In function 'vm_pager_page_unswapped': > @/vm/vm_pager.h:191: error: 'RA_WLOCKED' undeclared (first use in this > function) > *** [vchiq_2835_arm.o] Error code 1 > > Stop in /usr/src/vc/vchiq-freebsd. > > > Anyone got idea how to solve the issue? > It seems you're trying to build vchiq against your host sources which is wrong. You need to use cross-compilation environment for this. From owner-freebsd-arm@FreeBSD.ORG Sat Mar 16 11:30:13 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B656AE7A for ; Sat, 16 Mar 2013 11:30:13 +0000 (UTC) (envelope-from loic.blot@unix-experience.fr) Received: from smtp.smtpout.orange.fr (smtp02.smtpout.orange.fr [80.12.242.124]) by mx1.freebsd.org (Postfix) with ESMTP id 56A4CAE2 for ; Sat, 16 Mar 2013 11:30:12 +0000 (UTC) Received: from [10.42.69.150] ([82.124.160.236]) by mwinf5d25 with ME id CBWA1l00J56KMG203BWBxd; Sat, 16 Mar 2013 12:30:11 +0100 Message-ID: <1363433673.5871.2.camel@Nerz-PC.home> Subject: Re: Custom kernel under RPI From: =?ISO-8859-1?Q?Lo=EFc?= BLOT To: freebsd-arm@freebsd.org Date: Sat, 16 Mar 2013 12:34:33 +0100 Organization: UNIX Experience Fr Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-4VylaXK/D1OrLwpqOYEs" X-Mailer: Evolution 3.6.4 Mime-Version: 1.0 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: loic.blot@unix-experience.fr List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Mar 2013 11:30:13 -0000 --=-4VylaXK/D1OrLwpqOYEs Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Ian, i'm sorry but fdt addr is already on my loader.rc loader.rc: fdt addr 0x100 set console=3Dcomconsole,vidconsole Is there any specific options when i do "make buildkernel KERNCONF=3DRPI-B" (from the raspberry) ? (in src.conf for example) Best regards, Lo=C3=AFc BLOT,=20 UNIX systems, security and network expert http://www.unix-experience.fr --=-4VylaXK/D1OrLwpqOYEs Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iF4EABEIAAYFAlFEWM8ACgkQh290DZyz8uZMngD9GLbhJ5mozqYZt8byv4gp60S+ FIimQTqVzw91Fgh0p/4BALgpH76eOSjvxhFOtMbtXazYcO0RnoZVlDeCdGWECueI =5Ro4 -----END PGP SIGNATURE----- --=-4VylaXK/D1OrLwpqOYEs-- From owner-freebsd-arm@FreeBSD.ORG Sat Mar 16 15:38:59 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 9C9CDF89 for ; Sat, 16 Mar 2013 15:38:59 +0000 (UTC) (envelope-from ray@freebsd.org) Received: from smtp.dlink.ua (smtp.dlink.ua [193.138.187.146]) by mx1.freebsd.org (Postfix) with ESMTP id 5096A274 for ; Sat, 16 Mar 2013 15:38:59 +0000 (UTC) Received: from rnote.ddteam.net (163-130-135-95.pool.ukrtel.net [95.135.130.163]) (Authenticated sender: ray) by smtp.dlink.ua (Postfix) with ESMTPSA id 6E4ECC492D; Sat, 16 Mar 2013 17:38:51 +0200 (EET) Date: Sat, 16 Mar 2013 17:38:50 +0200 From: Aleksandr Rybalko To: loic.blot@unix-experience.fr Subject: Re: Custom kernel under RPI Message-Id: <20130316173850.68e8cc1e.ray@freebsd.org> In-Reply-To: <1363433673.5871.2.camel@Nerz-PC.home> References: <1363433673.5871.2.camel@Nerz-PC.home> Organization: FreeBSD.ORG X-Mailer: Sylpheed 3.1.2 (GTK+ 2.24.5; amd64-portbld-freebsd9.0) X-Operating-System: FreeBSD Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: freebsd-arm@freebsd.org 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: Sat, 16 Mar 2013 15:38:59 -0000 On Sat, 16 Mar 2013 12:34:33 +0100 Loïc BLOT wrote: > Hi Ian, > i'm sorry but fdt addr is already on my loader.rc > loader.rc: > > fdt addr 0x100 > set console=comconsole,vidconsole > > Is there any specific options when i do "make buildkernel > KERNCONF=RPI-B" (from the raspberry) ? (in src.conf for example) > > Best regards, > Loïc BLOT, > UNIX systems, security and network expert > http://www.unix-experience.fr > > > Hello, I'm don't know why it won't boot, but I can hint you to use if_run and runfw as modules. Not resolved why, but I see it's won't work if it built in kernel. As module, even loaded automatically by devd, it's works fine. WBW -- Aleksandr Rybalko From owner-freebsd-arm@FreeBSD.ORG Sat Mar 16 15:44:24 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id DBFD213F for ; Sat, 16 Mar 2013 15:44:24 +0000 (UTC) (envelope-from loic.blot@unix-experience.fr) Received: from smtp.smtpout.orange.fr (smtp02.smtpout.orange.fr [80.12.242.124]) by mx1.freebsd.org (Postfix) with ESMTP id 4F85C2A3 for ; Sat, 16 Mar 2013 15:44:24 +0000 (UTC) Received: from [10.42.69.150] ([82.124.160.236]) by mwinf5d56 with ME id CFkN1l00N56KMG203FkNn9; Sat, 16 Mar 2013 16:44:23 +0100 Message-ID: <1363448928.2403.4.camel@Nerz-PC.home> Subject: Re: Custom kernel under RPI From: =?ISO-8859-1?Q?Lo=EFc?= BLOT To: Aleksandr Rybalko Date: Sat, 16 Mar 2013 16:48:48 +0100 In-Reply-To: <20130316173850.68e8cc1e.ray@freebsd.org> References: <1363433673.5871.2.camel@Nerz-PC.home> <20130316173850.68e8cc1e.ray@freebsd.org> Organization: UNIX Experience Fr Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-PSpxIcMl7c9/d1pP+8n7" X-Mailer: Evolution 3.6.4 Mime-Version: 1.0 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: loic.blot@unix-experience.fr List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Mar 2013 15:44:24 -0000 --=-PSpxIcMl7c9/d1pP+8n7 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable HI Aleksandr, Thanks for your reply. HAs i saw, kernel build with RPI-B make a monolitic kernel, whereas in x86 archs it's a modular kernel. How can i do for making those drivers as modules ? And how can i make a cross compile for my RPI-B ? (because i can't boot in ARM and i have lost my backup...) (make buildkernel KERNCONF=3DRPI-B WITH_FDT=3Dyes TARGET_ARCH=3Darm is good ?) --=20 Best regards, Lo=C3=AFc BLOT,=20 UNIX systems, security and network expert http://www.unix-experience.fr Le samedi 16 mars 2013 =C3=A0 17:38 +0200, Aleksandr Rybalko a =C3=A9crit : > On Sat, 16 Mar 2013 12:34:33 +0100 > Lo=C3=AFc BLOT wrote: >=20 > > Hi Ian, > > i'm sorry but fdt addr is already on my loader.rc > > loader.rc: > >=20 > > fdt addr 0x100 > > set console=3Dcomconsole,vidconsole > >=20 > > Is there any specific options when i do "make buildkernel > > KERNCONF=3DRPI-B" (from the raspberry) ? (in src.conf for example) > >=20 > > Best regards, > > Lo=C3=AFc BLOT,=20 > > UNIX systems, security and network expert > > http://www.unix-experience.fr > >=20 > >=20 > >=20 >=20 > Hello, >=20 > I'm don't know why it won't boot, but I can hint you to use if_run and > runfw as modules. Not resolved why, but I see it's won't work if it > built in kernel. As module, even loaded automatically by devd, it's > works fine.=20 >=20 > WBW --=-PSpxIcMl7c9/d1pP+8n7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iF4EABEIAAYFAlFElGYACgkQh290DZyz8ubiywD/ZQpnOnz26JrvN+c0eoCdNgIF WUSfccgNg+8sBYb+2C4A/28DQ2qYBVMytnaWTAMwxI7KmHf/jd1x84dRdXur8Bq7 =0Wo6 -----END PGP SIGNATURE----- --=-PSpxIcMl7c9/d1pP+8n7-- From owner-freebsd-arm@FreeBSD.ORG Sat Mar 16 16:05:58 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id BC1F462A for ; Sat, 16 Mar 2013 16:05:58 +0000 (UTC) (envelope-from ray@freebsd.org) Received: from smtp.dlink.ua (smtp.dlink.ua [193.138.187.146]) by mx1.freebsd.org (Postfix) with ESMTP id 7A669351 for ; Sat, 16 Mar 2013 16:05:58 +0000 (UTC) Received: from rnote.ddteam.net (163-130-135-95.pool.ukrtel.net [95.135.130.163]) (Authenticated sender: ray) by smtp.dlink.ua (Postfix) with ESMTPSA id 7C942C492D; Sat, 16 Mar 2013 18:05:57 +0200 (EET) Date: Sat, 16 Mar 2013 18:05:56 +0200 From: Aleksandr Rybalko To: loic.blot@unix-experience.fr Subject: Re: Custom kernel under RPI Message-Id: <20130316180556.a12c6927.ray@freebsd.org> In-Reply-To: <1363448928.2403.4.camel@Nerz-PC.home> References: <1363433673.5871.2.camel@Nerz-PC.home> <20130316173850.68e8cc1e.ray@freebsd.org> <1363448928.2403.4.camel@Nerz-PC.home> Organization: FreeBSD.ORG X-Mailer: Sylpheed 3.1.2 (GTK+ 2.24.5; amd64-portbld-freebsd9.0) X-Operating-System: FreeBSD Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: freebsd-arm@freebsd.org 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: Sat, 16 Mar 2013 16:05:58 -0000 On Sat, 16 Mar 2013 16:48:48 +0100 Loïc BLOT wrote: > HI Aleksandr, > Thanks for your reply. HAs i saw, kernel build with RPI-B make a > monolitic kernel, whereas in x86 archs it's a modular kernel. > How can i do for making those drivers as modules ? > And how can i make a cross compile for my RPI-B ? (because i can't > boot in ARM and i have lost my backup...) (make buildkernel > KERNCONF=RPI-B WITH_FDT=yes TARGET_ARCH=arm is good ?) > > -- > Best regards, > Loïc BLOT, > UNIX systems, security and network expert > http://www.unix-experience.fr > > > > > Le samedi 16 mars 2013 à 17:38 +0200, Aleksandr Rybalko a écrit : > > > On Sat, 16 Mar 2013 12:34:33 +0100 > > Loïc BLOT wrote: > > > > > Hi Ian, > > > i'm sorry but fdt addr is already on my loader.rc > > > loader.rc: > > > > > > fdt addr 0x100 > > > set console=comconsole,vidconsole > > > > > > Is there any specific options when i do "make buildkernel > > > KERNCONF=RPI-B" (from the raspberry) ? (in src.conf for example) > > > > > > Best regards, > > > Loïc BLOT, > > > UNIX systems, security and network expert > > > http://www.unix-experience.fr > > > > > > > > > > > > > Hello, > > > > I'm don't know why it won't boot, but I can hint you to use if_run > > and runfw as modules. Not resolved why, but I see it's won't work > > if it built in kernel. As module, even loaded automatically by > > devd, it's works fine. > > > > WBW Hi Loïc, same way, but remove: makeoptions MODULES_OVERRIDE="" from kernel config. it will enable modules building with kernel. If some modules will fail to build, you can disable it with: makeoptions WITHOUT_MODULES="modules to disable" Good luck! WBW -- Aleksandr Rybalko From owner-freebsd-arm@FreeBSD.ORG Sat Mar 16 16:12:47 2013 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 17FE27D4 for ; Sat, 16 Mar 2013 16:12:47 +0000 (UTC) (envelope-from ian@FreeBSD.org) Received: from mho-01-ewr.mailhop.org (mho-03-ewr.mailhop.org [204.13.248.66]) by mx1.freebsd.org (Postfix) with ESMTP id E59FE3D9 for ; Sat, 16 Mar 2013 16:12:46 +0000 (UTC) Received: from c-24-8-230-52.hsd1.co.comcast.net ([24.8.230.52] helo=damnhippie.dyndns.org) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1UGtiw-000IlF-14; Sat, 16 Mar 2013 16:12:46 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id r2GGChNr016617; Sat, 16 Mar 2013 10:12:43 -0600 (MDT) (envelope-from ian@FreeBSD.org) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 24.8.230.52 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1/we5VPDxY0fVjLlNc7Qide Subject: Re: Custom kernel under RPI From: Ian Lepore To: loic.blot@unix-experience.fr In-Reply-To: <1363448928.2403.4.camel@Nerz-PC.home> References: <1363433673.5871.2.camel@Nerz-PC.home> <20130316173850.68e8cc1e.ray@freebsd.org> <1363448928.2403.4.camel@Nerz-PC.home> Content-Type: text/plain; charset="ISO-8859-1" Date: Sat, 16 Mar 2013 10:12:43 -0600 Message-ID: <1363450363.1157.60.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by damnhippie.dyndns.org id r2GGChNr016617 Cc: freebsd-arm@FreeBSD.org 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: Sat, 16 Mar 2013 16:12:47 -0000 On Sat, 2013-03-16 at 16:48 +0100, Lo=EFc BLOT wrote: > HI Aleksandr, > Thanks for your reply. HAs i saw, kernel build with RPI-B make a > monolitic kernel, whereas in x86 archs it's a modular kernel. > How can i do for making those drivers as modules ? > And how can i make a cross compile for my RPI-B ? (because i can't boot > in ARM and i have lost my backup...) (make buildkernel KERNCONF=3DRPI-B > WITH_FDT=3Dyes TARGET_ARCH=3Darm is good ?) >=20 Use armv6 for the arch, and first do=20 make kernel-toolchain TARGET_ARCH=3Darmv6 To make specific modules, change the MODULES_OVERRIDE option to be a space-delimited list of the modules to build. Or just remove it to build all of them. -- Ian From owner-freebsd-arm@FreeBSD.ORG Sat Mar 16 17:06:30 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 7447A55E for ; Sat, 16 Mar 2013 17:06:30 +0000 (UTC) (envelope-from loic.blot@unix-experience.fr) Received: from smtp.smtpout.orange.fr (smtp11.smtpout.orange.fr [80.12.242.133]) by mx1.freebsd.org (Postfix) with ESMTP id C9511902 for ; Sat, 16 Mar 2013 17:06:29 +0000 (UTC) Received: from [10.42.69.150] ([82.124.160.236]) by mwinf5d21 with ME id CH6M1l00U56KMG203H6MZL; Sat, 16 Mar 2013 18:06:22 +0100 Message-ID: <1363453851.2403.5.camel@Nerz-PC.home> Subject: Re: Custom kernel under RPI From: =?ISO-8859-1?Q?Lo=EFc?= BLOT To: Aleksandr Rybalko Date: Sat, 16 Mar 2013 18:10:51 +0100 In-Reply-To: <20130316180556.a12c6927.ray@freebsd.org> References: <1363433673.5871.2.camel@Nerz-PC.home> <20130316173850.68e8cc1e.ray@freebsd.org> <1363448928.2403.4.camel@Nerz-PC.home> <20130316180556.a12c6927.ray@freebsd.org> Organization: UNIX Experience Fr Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-EtzCgkd6zGUCoi7WqiIh" X-Mailer: Evolution 3.6.4 Mime-Version: 1.0 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: loic.blot@unix-experience.fr List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Mar 2013 17:06:30 -0000 --=-EtzCgkd6zGUCoi7WqiIh Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hmm now when i run make buildkernel TARGET_ARCH=3Darmv6 KERNCONF=3DRPI-B WITH_FDT=3Dyes i got this error: warning: no previous prototype for 'yyparse' --=20 Best regards, Lo=C3=AFc BLOT,=20 UNIX systems, security and network expert http://www.unix-experience.fr Le samedi 16 mars 2013 =C3=A0 18:05 +0200, Aleksandr Rybalko a =C3=A9crit : > On Sat, 16 Mar 2013 16:48:48 +0100 > Lo=C3=AFc BLOT wrote: >=20 > > HI Aleksandr, > > Thanks for your reply. HAs i saw, kernel build with RPI-B make a > > monolitic kernel, whereas in x86 archs it's a modular kernel. > > How can i do for making those drivers as modules ? > > And how can i make a cross compile for my RPI-B ? (because i can't > > boot in ARM and i have lost my backup...) (make buildkernel > > KERNCONF=3DRPI-B WITH_FDT=3Dyes TARGET_ARCH=3Darm is good ?) > >=20 > > --=20 > > Best regards, > > Lo=C3=AFc BLOT,=20 > > UNIX systems, security and network expert > > http://www.unix-experience.fr > >=20 > >=20 > >=20 > >=20 > > Le samedi 16 mars 2013 =C3=A0 17:38 +0200, Aleksandr Rybalko a =C3=A9cr= it : > >=20 > > > On Sat, 16 Mar 2013 12:34:33 +0100 > > > Lo=C3=AFc BLOT wrote: > > >=20 > > > > Hi Ian, > > > > i'm sorry but fdt addr is already on my loader.rc > > > > loader.rc: > > > >=20 > > > > fdt addr 0x100 > > > > set console=3Dcomconsole,vidconsole > > > >=20 > > > > Is there any specific options when i do "make buildkernel > > > > KERNCONF=3DRPI-B" (from the raspberry) ? (in src.conf for example) > > > >=20 > > > > Best regards, > > > > Lo=C3=AFc BLOT,=20 > > > > UNIX systems, security and network expert > > > > http://www.unix-experience.fr > > > >=20 > > > >=20 > > > >=20 > > >=20 > > > Hello, > > >=20 > > > I'm don't know why it won't boot, but I can hint you to use if_run > > > and runfw as modules. Not resolved why, but I see it's won't work > > > if it built in kernel. As module, even loaded automatically by > > > devd, it's works fine.=20 > > >=20 > > > WBW >=20 > Hi Lo=C3=AFc, >=20 > same way, but remove: > makeoptions MODULES_OVERRIDE=3D"" >=20 > from kernel config. it will enable modules building with kernel. > If some modules will fail to build, you can disable it with: > makeoptions WITHOUT_MODULES=3D"modules to disable" >=20 > Good luck! >=20 > WBW --=-EtzCgkd6zGUCoi7WqiIh Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iF4EABEIAAYFAlFEp5sACgkQh290DZyz8uYMQgD7BdP6MpK5vN6RJuquH/Nweswz tzuZ3MnmFTOV5s7O1GMBAKxmb+QZmqJtu7LgiwEDULB+7BKp4p4a3l9s60oLDZDp =5DeY -----END PGP SIGNATURE----- --=-EtzCgkd6zGUCoi7WqiIh-- From owner-freebsd-arm@FreeBSD.ORG Sat Mar 16 17:20:37 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 47A7894C; Sat, 16 Mar 2013 17:20:37 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) by mx1.freebsd.org (Postfix) with ESMTP id 0B2FC9B1; Sat, 16 Mar 2013 17:20:36 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id r2GHKTmt055050; Sat, 16 Mar 2013 17:20:29 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.143] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id xhkeiucfuisjt73uc8393a7hus; Sat, 16 Mar 2013 17:20:29 +0000 (UTC) (envelope-from tim@kientzle.com) Subject: Re: Custom kernel under RPI Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: multipart/signed; boundary="Apple-Mail=_19F323C9-831B-41DF-AFB7-81773DDB5A33"; protocol="application/pgp-signature"; micalg=pgp-sha1 From: Tim Kientzle In-Reply-To: <1363453851.2403.5.camel@Nerz-PC.home> Date: Sat, 16 Mar 2013 10:20:27 -0700 Message-Id: References: <1363433673.5871.2.camel@Nerz-PC.home> <20130316173850.68e8cc1e.ray@freebsd.org> <1363448928.2403.4.camel@Nerz-PC.home> <20130316180556.a12c6927.ray@freebsd.org> <1363453851.2403.5.camel@Nerz-PC.home> To: loic.blot@unix-experience.fr X-Mailer: Apple Mail (2.1283) Cc: Aleksandr Rybalko , freebsd-arm@freebsd.org 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: Sat, 16 Mar 2013 17:20:37 -0000 --Apple-Mail=_19F323C9-831B-41DF-AFB7-81773DDB5A33 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 On Mar 16, 2013, at 10:10 AM, Lo=EFc BLOT wrote: > Hmm > now when i run make buildkernel TARGET_ARCH=3Darmv6 KERNCONF=3DRPI-B > WITH_FDT=3Dyes i got this error: Without seeing more information, the error you shared is not helpful. Are you doing this on the RPi or are you cross-building? To build a kernel on the RPi, you just need to cd /usr/src make KERNCONF=3DRPI-B buildkernel (The TARGET_ARCH options are only used when cross-compiling.) If you are cross-compiling, you should make sure you have an up-to-date = cross-build tools as well: cd /usr/src make TARGET_ARCH=3Darmv6 kernel-toolchain make TARGET_ARCH=3Darmv6 KERNCONF=3DRPI-B buildkernel If you just want one extra module, you don't have to recompile the = kernel at all. All FreeBSD kernels are modular; but not all = configurations build extra modules. You can just build and load the = single module you need directly on the RPi: cd /usr/src/sys/modules/runfw make make load Cheers, Tim --Apple-Mail=_19F323C9-831B-41DF-AFB7-81773DDB5A33 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.18 (Darwin) iQEcBAEBAgAGBQJRRKnbAAoJEGMNyGo0rfFBu50IAKCE+GdYe7mX6w0DqJXoOsZz 2Ah7pMs7VyWFtCBAcuI+TMnUZ2f3Y6xwDFY/2NCZHllEWpTJoGsjf79pfVr/fn64 ski/i0HoT/zRFtyl7s2a1RcQBypRCVo1/LFoASwUmc0Nt0rBZES8IuhrhimDcFU5 7EfE2l05l66k++XhzAgriblnwIshhuy9j6odijo15O7aftclcCl/jBn62dXVR7W4 V5ocyhkWIZS5qVGDBwFGJ0oQ+TSl2DB6q1mXYwyWGTEySAu6jrzw+6HpHtbZf/kJ +T0MihIN8V2esHY3tORGWnQ7S+Fzt8lylZkgv4xpbOwHwbsCx/ukIYxZaIVv5LI= =hg3F -----END PGP SIGNATURE----- --Apple-Mail=_19F323C9-831B-41DF-AFB7-81773DDB5A33-- From owner-freebsd-arm@FreeBSD.ORG Sat Mar 16 17:26:27 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 2CF06A55 for ; Sat, 16 Mar 2013 17:26:27 +0000 (UTC) (envelope-from loic.blot@unix-experience.fr) Received: from smtp.smtpout.orange.fr (smtp11.smtpout.orange.fr [80.12.242.133]) by mx1.freebsd.org (Postfix) with ESMTP id 99BDEA00 for ; Sat, 16 Mar 2013 17:26:25 +0000 (UTC) Received: from [10.42.69.150] ([82.124.160.236]) by mwinf5d21 with ME id CHSQ1l00656KMG203HSQyV; Sat, 16 Mar 2013 18:26:24 +0100 Message-ID: <1363455053.2403.9.camel@Nerz-PC.home> Subject: Re: Custom kernel under RPI From: =?ISO-8859-1?Q?Lo=EFc?= BLOT To: Tim Kientzle Date: Sat, 16 Mar 2013 18:30:53 +0100 In-Reply-To: References: <1363433673.5871.2.camel@Nerz-PC.home> <20130316173850.68e8cc1e.ray@freebsd.org> <1363448928.2403.4.camel@Nerz-PC.home> <20130316180556.a12c6927.ray@freebsd.org> <1363453851.2403.5.camel@Nerz-PC.home> Organization: UNIX Experience Fr Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-jTAzvOYaWte2G+6l/kD4" X-Mailer: Evolution 3.6.4 Mime-Version: 1.0 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Aleksandr Rybalko , freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: loic.blot@unix-experience.fr List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Mar 2013 17:26:27 -0000 --=-jTAzvOYaWte2G+6l/kD4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Tim, thanks for your reply. For the error, i have found an excellent tutorial which explain how to build a FreeBSD from scratch for RPI. (http://ogris.de/howtos/freebsd-raspberry.html) As i said before, my custom kernel doesn't boot, somes said i must use modules instead of monolitic, then i am building the kernel by cross compile it into a FreeBSD VM. Thanks for your help with module building. I didn't know, i will gain many time :D --=20 Best regards, Lo=C3=AFc BLOT,=20 UNIX systems, security and network expert http://www.unix-experience.fr Le samedi 16 mars 2013 =C3=A0 10:20 -0700, Tim Kientzle a =C3=A9crit : > On Mar 16, 2013, at 10:10 AM, Lo=C3=AFc BLOT wrote: >=20 > > Hmm > > now when i run make buildkernel TARGET_ARCH=3Darmv6 KERNCONF=3DRPI-B > > WITH_FDT=3Dyes i got this error: >=20 > Without seeing more information, the error you shared is not helpful. >=20 > Are you doing this on the RPi or are you cross-building? >=20 > To build a kernel on the RPi, you just need to >=20 > cd /usr/src > make KERNCONF=3DRPI-B buildkernel >=20 > (The TARGET_ARCH options are only used when cross-compiling.) > If you are cross-compiling, you should make sure you have an up-to-date c= ross-build tools as well: >=20 > cd /usr/src > make TARGET_ARCH=3Darmv6 kernel-toolchain > make TARGET_ARCH=3Darmv6 KERNCONF=3DRPI-B buildkernel >=20 > If you just want one extra module, you don't have to recompile the kernel= at all. All FreeBSD kernels are modular; but not all configurations build= extra modules. You can just build and load the single module you need dir= ectly on the RPi: >=20 > cd /usr/src/sys/modules/runfw > make > make load >=20 >=20 > Cheers, >=20 > Tim >=20 --=-jTAzvOYaWte2G+6l/kD4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iF4EABEIAAYFAlFErE0ACgkQh290DZyz8ub99AD/RvTWFaEcy3WANh8uh1AulL0f ArlVE6x4vXBWopwT/H8BAME0a9zjFFlFflSnWaT/De2gs4bOJhnl/B7OF7trwp+Y =5+wa -----END PGP SIGNATURE----- --=-jTAzvOYaWte2G+6l/kD4-- From owner-freebsd-arm@FreeBSD.ORG Sat Mar 16 17:35:31 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 30657D9E for ; Sat, 16 Mar 2013 17:35:31 +0000 (UTC) (envelope-from loic.blot@unix-experience.fr) Received: from smtp.smtpout.orange.fr (smtp11.smtpout.orange.fr [80.12.242.133]) by mx1.freebsd.org (Postfix) with ESMTP id 9A244A8D for ; Sat, 16 Mar 2013 17:35:30 +0000 (UTC) Received: from [10.42.69.150] ([82.124.160.236]) by mwinf5d21 with ME id CHbV1l00456KMG203HbVz3; Sat, 16 Mar 2013 18:35:29 +0100 Message-ID: <1363455598.2403.11.camel@Nerz-PC.home> Subject: Re: Custom kernel under RPI From: =?ISO-8859-1?Q?Lo=EFc?= BLOT To: freebsd-arm@freebsd.org Date: Sat, 16 Mar 2013 18:39:58 +0100 In-Reply-To: References: <1363433673.5871.2.camel@Nerz-PC.home> <20130316173850.68e8cc1e.ray@freebsd.org> <1363448928.2403.4.camel@Nerz-PC.home> <20130316180556.a12c6927.ray@freebsd.org> <1363453851.2403.5.camel@Nerz-PC.home> Organization: UNIX Experience Fr Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-0ITCM80ZqqCZzsfShuFC" X-Mailer: Evolution 3.6.4 Mime-Version: 1.0 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: loic.blot@unix-experience.fr List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Mar 2013 17:35:31 -0000 --=-0ITCM80ZqqCZzsfShuFC Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Ok, cross compile is done, i have a modular kernel, but same error appears when i boot. Kernel is blocked at those lines: Kernel entry at 0x100100 .. Kernel args: (null) --=20 Best regards, Lo=C3=AFc BLOT,=20 UNIX systems, security and network expert http://www.unix-experience.fr Le samedi 16 mars 2013 =C3=A0 10:20 -0700, Tim Kientzle a =C3=A9crit : > On Mar 16, 2013, at 10:10 AM, Lo=C3=AFc BLOT wrote: >=20 > > Hmm > > now when i run make buildkernel TARGET_ARCH=3Darmv6 KERNCONF=3DRPI-B > > WITH_FDT=3Dyes i got this error: >=20 > Without seeing more information, the error you shared is not helpful. >=20 > Are you doing this on the RPi or are you cross-building? >=20 > To build a kernel on the RPi, you just need to >=20 > cd /usr/src > make KERNCONF=3DRPI-B buildkernel >=20 > (The TARGET_ARCH options are only used when cross-compiling.) > If you are cross-compiling, you should make sure you have an up-to-date c= ross-build tools as well: >=20 > cd /usr/src > make TARGET_ARCH=3Darmv6 kernel-toolchain > make TARGET_ARCH=3Darmv6 KERNCONF=3DRPI-B buildkernel >=20 > If you just want one extra module, you don't have to recompile the kernel= at all. All FreeBSD kernels are modular; but not all configurations build= extra modules. You can just build and load the single module you need dir= ectly on the RPi: >=20 > cd /usr/src/sys/modules/runfw > make > make load >=20 >=20 > Cheers, >=20 > Tim >=20 --=-0ITCM80ZqqCZzsfShuFC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iF4EABEIAAYFAlFErm4ACgkQh290DZyz8ubmAgD/Y8S2ShnVzDqvcv/7Oa0I9F/S mYb8UbLKX2BIcAAaGQwBAJmW1iowBm08qFeqqypunviLDUJ2GqP07iZeYgUhi4pE =EENr -----END PGP SIGNATURE----- --=-0ITCM80ZqqCZzsfShuFC-- From owner-freebsd-arm@FreeBSD.ORG Sat Mar 16 17:38:38 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E3970F39 for ; Sat, 16 Mar 2013 17:38:38 +0000 (UTC) (envelope-from ganbold@gmail.com) Received: from mail-ie0-x229.google.com (mail-ie0-x229.google.com [IPv6:2607:f8b0:4001:c03::229]) by mx1.freebsd.org (Postfix) with ESMTP id A36E5ACB for ; Sat, 16 Mar 2013 17:38:38 +0000 (UTC) Received: by mail-ie0-f169.google.com with SMTP id 13so5611520iea.14 for ; Sat, 16 Mar 2013 10:38:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; bh=Z6Q8kWbnja9lnX2xEvHNs9ak0HyhFlCVaM2LZoRjhtI=; b=wYEOa1kqsyMqzsHo7l+H6/2EJ9A8vjsvF88K+fylmVdetA2emW4OTHWdTx/3WsKw// /WDsdkPHzbBYHs/UGkdgytNDWq4A29J3qJPWAB76WyFDfnXAG5XnkGztX+IA4cJ44PES RHHBUhift3RfHgQzXDME5QFl5hE5x1RIp9kIfCmEW/NH+j+uyom08a81zU0yCNoZA18U 5DkFHVU7+T5G9tL8ycv5Alg7ZrqrpYCEKhaH6ZUHkl0Df7DIElJhMhm7lzs8COawG7de wLpWYUtr30mfqI1+6Mw+KBR4u79KhdrTq8pQt4ADnmDMfOVoWg74T0ipZa89nHiOq9f3 468g== MIME-Version: 1.0 X-Received: by 10.43.103.195 with SMTP id dj3mr6821056icc.3.1363455517779; Sat, 16 Mar 2013 10:38:37 -0700 (PDT) Received: by 10.64.6.230 with HTTP; Sat, 16 Mar 2013 10:38:37 -0700 (PDT) In-Reply-To: <1363455598.2403.11.camel@Nerz-PC.home> References: <1363433673.5871.2.camel@Nerz-PC.home> <20130316173850.68e8cc1e.ray@freebsd.org> <1363448928.2403.4.camel@Nerz-PC.home> <20130316180556.a12c6927.ray@freebsd.org> <1363453851.2403.5.camel@Nerz-PC.home> <1363455598.2403.11.camel@Nerz-PC.home> Date: Sun, 17 Mar 2013 01:38:37 +0800 Message-ID: Subject: Re: Custom kernel under RPI From: Ganbold Tsagaankhuu To: loic.blot@unix-experience.fr Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-arm@freebsd.org 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: Sat, 16 Mar 2013 17:38:39 -0000 On Sun, Mar 17, 2013 at 1:39 AM, Lo=EFc BLOT = wrote: > Ok, cross compile is done, i have a modular kernel, but same error > appears when i boot. Kernel is blocked at those lines: > > Kernel entry at 0x100100 .. > Kernel args: (null) > Maybe you can try to set console at loader prompt like: set console=3D"comconsole" and try to see where it stops. Ganbold > > -- > Best regards, > Lo=EFc BLOT, > UNIX systems, security and network expert > http://www.unix-experience.fr > > > > > Le samedi 16 mars 2013 =E0 10:20 -0700, Tim Kientzle a =E9crit : > >> On Mar 16, 2013, at 10:10 AM, Lo=EFc BLOT wrote: >> >> > Hmm >> > now when i run make buildkernel TARGET_ARCH=3Darmv6 KERNCONF=3DRPI-B >> > WITH_FDT=3Dyes i got this error: >> >> Without seeing more information, the error you shared is not helpful. >> >> Are you doing this on the RPi or are you cross-building? >> >> To build a kernel on the RPi, you just need to >> >> cd /usr/src >> make KERNCONF=3DRPI-B buildkernel >> >> (The TARGET_ARCH options are only used when cross-compiling.) >> If you are cross-compiling, you should make sure you have an up-to-date = cross-build tools as well: >> >> cd /usr/src >> make TARGET_ARCH=3Darmv6 kernel-toolchain >> make TARGET_ARCH=3Darmv6 KERNCONF=3DRPI-B buildkernel >> >> If you just want one extra module, you don't have to recompile the kerne= l at all. All FreeBSD kernels are modular; but not all configurations buil= d extra modules. You can just build and load the single module you need di= rectly on the RPi: >> >> cd /usr/src/sys/modules/runfw >> make >> make load >> >> >> Cheers, >> >> Tim >> From owner-freebsd-arm@FreeBSD.ORG Sat Mar 16 17:55:02 2013 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 70433683 for ; Sat, 16 Mar 2013 17:55:02 +0000 (UTC) (envelope-from ian@FreeBSD.org) Received: from mho-02-ewr.mailhop.org (mho-04-ewr.mailhop.org [204.13.248.74]) by mx1.freebsd.org (Postfix) with ESMTP id 47DB3CB1 for ; Sat, 16 Mar 2013 17:55:01 +0000 (UTC) Received: from c-24-8-230-52.hsd1.co.comcast.net ([24.8.230.52] helo=damnhippie.dyndns.org) by mho-02-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1UGvJn-000Kws-Lm; Sat, 16 Mar 2013 17:54:55 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id r2GHsrKF016699; Sat, 16 Mar 2013 11:54:53 -0600 (MDT) (envelope-from ian@FreeBSD.org) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 24.8.230.52 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX19Nc2D8raG4Lj7gWmQFuXIO Subject: Re: Custom kernel under RPI From: Ian Lepore To: loic.blot@unix-experience.fr In-Reply-To: <1363455598.2403.11.camel@Nerz-PC.home> References: <1363433673.5871.2.camel@Nerz-PC.home> <20130316173850.68e8cc1e.ray@freebsd.org> <1363448928.2403.4.camel@Nerz-PC.home> <20130316180556.a12c6927.ray@freebsd.org> <1363453851.2403.5.camel@Nerz-PC.home> <1363455598.2403.11.camel@Nerz-PC.home> Content-Type: text/plain; charset="ISO-8859-1" Date: Sat, 16 Mar 2013 11:54:53 -0600 Message-ID: <1363456493.1157.67.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by damnhippie.dyndns.org id r2GHsrKF016699 Cc: freebsd-arm@FreeBSD.org 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: Sat, 16 Mar 2013 17:55:02 -0000 On Sat, 2013-03-16 at 18:39 +0100, Lo=EFc BLOT wrote: > Ok, cross compile is done, i have a modular kernel, but same error > appears when i boot. Kernel is blocked at those lines: >=20 > Kernel entry at 0x100100 .. > Kernel args: (null) >=20 >=20 If it doesn't say anything about what FDT it is using before it says Kernel Entry, then you aren't using the latest ubldr code. =20 If it doesn't have the device tree data, it will lock up exactly as you're experiencing (without the device data the kernel doesn't have enough info to even print an error message). A quick way to see if that's the problem is to add to the kernel config: options FDT_DTB_STATIC makeoptions FDT_DTS_FILE=3Dbcm2835-rpi-b.dts -- Ian From owner-freebsd-arm@FreeBSD.ORG Sat Mar 16 19:21:29 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A086F415 for ; Sat, 16 Mar 2013 19:21:29 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) by mx1.freebsd.org (Postfix) with ESMTP id 71191F01 for ; Sat, 16 Mar 2013 19:21:28 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id r2GJLRRN055581; Sat, 16 Mar 2013 19:21:27 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.143] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id t3yzfbrwrwpvbk4hpy5e6s4a36; Sat, 16 Mar 2013 19:21:27 +0000 (UTC) (envelope-from tim@kientzle.com) Subject: Re: Custom kernel under RPI Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=iso-8859-1 From: Tim Kientzle In-Reply-To: <1363456493.1157.67.camel@revolution.hippie.lan> Date: Sat, 16 Mar 2013 12:21:26 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <1363433673.5871.2.camel@Nerz-PC.home> <20130316173850.68e8cc1e.ray@freebsd.org> <1363448928.2403.4.camel@Nerz-PC.home> <20130316180556.a12c6927.ray@freebsd.org> <1363453851.2403.5.camel@Nerz-PC.home> <1363455598.2403.11.camel@Nerz-PC.home> <1363456493.1157.67.camel@revolution.hippie.lan> To: loic.blot@unix-experience.fr X-Mailer: Apple Mail (2.1283) Cc: freebsd-arm@freebsd.org 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: Sat, 16 Mar 2013 19:21:29 -0000 On Mar 16, 2013, at 10:54 AM, Ian Lepore wrote: > On Sat, 2013-03-16 at 18:39 +0100, Lo=EFc BLOT wrote: >> Ok, cross compile is done, i have a modular kernel, but same error >> appears when i boot. Kernel is blocked at those lines: >>=20 >> Kernel entry at 0x100100 .. >> Kernel args: (null) >>=20 >>=20 >=20 > If it doesn't say anything about what FDT it is using before it says > Kernel Entry, then you aren't using the latest ubldr code. =20 Lo=EFc: How did you set up the MSDOS partition? The details of how we boot FreeBSD have changed some over the last couple of months; if you used some old instructions to set that up, you may not have the right boot loader configuration to correctly boot the current kernel. > If it doesn't have the device tree data, it will lock up exactly as > you're experiencing (without the device data the kernel doesn't have > enough info to even print an error message). >=20 > A quick way to see if that's the problem is to add to the kernel = config: >=20 > options FDT_DTB_STATIC > makeoptions FDT_DTS_FILE=3Dbcm2835-rpi-b.dts Keep in mind that Ian's advice here (to compile the FDT into the kernel) should only be used for debugging. On RPi, the boot loaders edit the FDT before handing it to the kernel. A compiled-in FDT won't properly reflect a few details that the boot loaders know about. If the boot chain is all working properly, a compiled-in FDT is not needed and not recommended. Tim From owner-freebsd-arm@FreeBSD.ORG Sat Mar 16 19:25:22 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id DEF91485 for ; Sat, 16 Mar 2013 19:25:22 +0000 (UTC) (envelope-from loic.blot@unix-experience.fr) Received: from smtp.smtpout.orange.fr (smtp09.smtpout.orange.fr [80.12.242.131]) by mx1.freebsd.org (Postfix) with ESMTP id 4537AF21 for ; Sat, 16 Mar 2013 19:25:21 +0000 (UTC) Received: from [10.42.69.150] ([82.124.160.236]) by mwinf5d44 with ME id CKRJ1l00N56KMG203KRKBV; Sat, 16 Mar 2013 20:25:20 +0100 Message-ID: <1363462184.15561.26.camel@Nerz-PC.home> Subject: Re: Custom kernel under RPI From: =?ISO-8859-1?Q?Lo=EFc?= BLOT To: Tim Kientzle Date: Sat, 16 Mar 2013 20:29:44 +0100 In-Reply-To: References: <1363433673.5871.2.camel@Nerz-PC.home> <20130316173850.68e8cc1e.ray@freebsd.org> <1363448928.2403.4.camel@Nerz-PC.home> <20130316180556.a12c6927.ray@freebsd.org> <1363453851.2403.5.camel@Nerz-PC.home> <1363455598.2403.11.camel@Nerz-PC.home> <1363456493.1157.67.camel@revolution.hippie.lan> Organization: UNIX Experience Fr Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-xjT6naND+Sef+KUL5V6R" X-Mailer: Evolution 3.6.4 Mime-Version: 1.0 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: loic.blot@unix-experience.fr List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Mar 2013 19:25:22 -0000 --=-xjT6naND+Sef+KUL5V6R Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi tim, it's a freebsd image from raspberrypi.org website (last month), but i would have some custom kernel drivers, then i get freebsd -current and compile all kernel sources. I have three partitions 1 MSDOS and two bsdlabels with two slices. --=20 Best regards, Lo=C3=AFc BLOT,=20 UNIX systems, security and network expert http://www.unix-experience.fr Le samedi 16 mars 2013 =C3=A0 12:21 -0700, Tim Kientzle a =C3=A9crit : > On Mar 16, 2013, at 10:54 AM, Ian Lepore wrote: >=20 > > On Sat, 2013-03-16 at 18:39 +0100, Lo=C3=AFc BLOT wrote: > >> Ok, cross compile is done, i have a modular kernel, but same error > >> appears when i boot. Kernel is blocked at those lines: > >>=20 > >> Kernel entry at 0x100100 .. > >> Kernel args: (null) > >>=20 > >>=20 > >=20 > > If it doesn't say anything about what FDT it is using before it says > > Kernel Entry, then you aren't using the latest ubldr code. =20 >=20 > Lo=C3=AFc: How did you set up the MSDOS partition? >=20 > The details of how we boot FreeBSD have changed some > over the last couple of months; if you used some old > instructions to set that up, you may not have the right > boot loader configuration to correctly boot the current kernel. >=20 >=20 > > If it doesn't have the device tree data, it will lock up exactly as > > you're experiencing (without the device data the kernel doesn't have > > enough info to even print an error message). > >=20 > > A quick way to see if that's the problem is to add to the kernel config= : > >=20 > > options FDT_DTB_STATIC > > makeoptions FDT_DTS_FILE=3Dbcm2835-rpi-b.dts >=20 >=20 > Keep in mind that Ian's advice here (to compile the FDT > into the kernel) should only be used for debugging. >=20 > On RPi, the boot loaders edit the FDT before > handing it to the kernel. A compiled-in FDT won't > properly reflect a few details that the boot loaders > know about. >=20 > If the boot chain is all working properly, a compiled-in > FDT is not needed and not recommended. >=20 > Tim >=20 --=-xjT6naND+Sef+KUL5V6R Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iF4EABEIAAYFAlFEyCgACgkQh290DZyz8ub3bAEAtaymhcOWS1z+i5+4iGGk2JnB rGvnplLQ5UB/t8RbmZABAKMCywU1ZoVpkXKqMWO7ZHyswXQyJQmFELwbLpg252Mp =QEoL -----END PGP SIGNATURE----- --=-xjT6naND+Sef+KUL5V6R--