From owner-freebsd-arm@FreeBSD.ORG Sun Oct 28 14:39:23 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D3DFF64E for ; Sun, 28 Oct 2012 14:39:23 +0000 (UTC) (envelope-from taguchi@ff.iij4u.or.jp) Received: from mfo.iij4u.or.jp (mfo10.iij4u.or.jp [210.138.174.80]) by mx1.freebsd.org (Postfix) with ESMTP id 7E75D8FC12 for ; Sun, 28 Oct 2012 14:39:22 +0000 (UTC) Received: by mfo.iij4u.or.jp (mfo10) id q9SE9DmG010259; Sun, 28 Oct 2012 23:09:13 +0900 DKIM-Signature: v=1;a=rsa-sha256;c=relaxed/simple;d=ff.iij4u.or.jp;h= Message-ID:Date:From:MIME-Version:To:Content-Type:Content-Transfer-Encoding; i=taguchi@ff.iij4u.or.jp; s=20120530.iij4u; t=1351433347; x=1352642947; bh=KHpTl5 eexNlq0WFK6hNDBzUUyDdB6eZCY2GOW0u2g6I=; b=C8kbamUR/F51JLZWC+qy0P2zzUqAMigHunVT 17E8avcdeOjISVFHEsUhDGxMFp0EKoGz+vR8aVhKVHohrDB2LTAykYQXOU+pUM/4qtox97i1R4ufh uAfELyii8c8/xMANOnW0ARGKLLUgi40F9ay9shG3fGScURa3/gQU7dCYMM=; Received: by mo.iij4u.or.jp (mo10) id q9SE97b0026309; Sun, 28 Oct 2012 23:09:07 +0900 Received: from [10.0.1.129] (12.178.30.125.dy.iij4u.or.jp [125.30.178.12]) by mbox.iij4u.or.jp (mbox11) id q9SE96T3005343 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 28 Oct 2012 23:09:06 +0900 Message-ID: <508D3C83.6020101@ff.iij4u.or.jp> Date: Sun, 28 Oct 2012 23:09:07 +0900 From: Takeshi Taguchi User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 MIME-Version: 1.0 To: freebsd-arm@freebsd.org Subject: Re: Towards an ARM system-building script Content-Type: text/plain; charset=ISO-2022-JP 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, 28 Oct 2012 14:39:23 -0000 Hi, all. On Thu, 2012-10-11 at 00:16 -0700, Tim Kientzle wrote: >/ On Oct 10, 2012, at 3:08 PM, Giovanni Trematerra wrote: />/ />/ > On Wed, Oct 10, 2012 at 3:42 PM, Ian Lepore />/ > > wrote: />/ >> On Tue, 2012-10-09 at 23:42 +0200, Giovanni Trematerra wrote: />/ >>> I booted a kernel with your suggestion but I get a panic during />/ >>> initialization of ue0 I think />/ >> />/ >> It looks like bootpc_init() is getting called before USB has found the />/ >> ethernet adapter. It might be fixable with a simple patch such as the />/ >> following, but I really don't know whether this will work, and even if />/ >> it does, whether it's a good idea (hopefully someone more knowledgable />/ >> will offer an opinion). But if nothing else it's an interesting />/ >> experiment to try. />/ > />/ > I think the patch is wrong at least in my case. />/ > I had to run the "usb start" command from U-boot to have />/ > ethernet card of PandaBoard working. />/ />/ What happens if you disable BOOTP in the kernel? / My Pandaboard ES (Rev.B1) said: panic: bootpc_init: Could not find interface specified by BOOTP_WIRED_TO: ue0 so I'd commented out following lines: #options BOOTP_NFSROOT #options BOOTP_COMPAT #options BOOTP #options BOOTP_NFSV3 #options BOOTP_WIRED_TO=ue0 login prompt was displaied. But the ethernet isn't working at all. >/ />/ That might help clarify whether the Ethernet isn't />/ working at all or whether the Ethernet isn't getting />/ started early enough for BOOTP. />/ />/ Tim / following is a dmesg. what should i do? Thanks. --- processing avail regions: 80000000-c0000000 -> 80000000-80200000 = 200000 8073b000-c0000000 -> 8073b000-c0000000 = 3f8c5000 fill in phys_avail: region: 0x80000000 - 0x80200000 (0x00200000) region: 0x8073b000 - 0xc0000000 (0x3f8c5000) KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2012 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 10.0-CURRENT #2: Sun Oct 28 17:23:10 JST 2012 root@FreeBSD-10.0:/usr/obj/arm.armv6/usr/src/sys/PANDABOARD-MMCSD arm CPU: Cortex A9-r2 rev 10 (Cortex-A core) Supported features: ARM_ISA THUMB2 JAZELLE THUMBEE ARMv4 Security_Ext WB disabled EABT branch prediction enabled LoUU:2 LoC:1 LoUIS:2 Cache level 1: 32KB/32B 4-way data cache WB Read-Alloc Write-Alloc 32KB/32B 4-way instruction cache Read-Alloc real memory = 1073741824 (1024 MB) avail memory = 1045352448 (996 MB) Texas Instruments OMAP4430 Processor, Revision ES2.3 simplebus0: on fdtbus0 gic0: mem 0xe8241000-0xe8241fff,0xe8240100-0xe82401ff on simplebus0 gic0: pn 0x390, arch 0x1, rev 0x2, implementer 0x43b nirqs 160 l2cache0: mem 0xe8242000-0xe8242fff on simplebus0 L2 Cache: 1024KB/32B 16 ways mp_tmr0: mem 0xe8240200-0xe82402ff,0xe8240600-0xe82406ff irq 27,29 on simplebus0 Timecounter "ARM MPCore Timecouter" frequency 504000000 Hz quality 1000 Event timer "ARM MPCore Eventtimer" frequency 504000000 Hz quality 1000 uart0: <16750 or compatible> mem 0xe8020000-0xe8020fff irq 106 on simplebus0 uart0: console (115384,n,8,1) ti_scm0: mem 0xd4f67000-0xd4f67fff on simplebus0 setting internal 4 for usbb1_ulpiphy_stp setting internal 10c for usbb1_ulpiphy_clk setting internal 10c for usbb1_ulpiphy_dir setting internal 10c for usbb1_ulpiphy_nxt setting internal 10c for usbb1_ulpiphy_dat0 setting internal 10c for usbb1_ulpiphy_dat1 setting internal 10c for usbb1_ulpiphy_dat2 setting internal 10c for usbb1_ulpiphy_dat3 setting internal 10c for usbb1_ulpiphy_dat4 setting internal 10c for usbb1_ulpiphy_dat5 setting internal 10c for usbb1_ulpiphy_dat6 setting internal 10c for usbb1_ulpiphy_dat7 omap4_prcm0: mem 0xd4f68000-0xd4f69fff,0xd4f6a000-0xd4f6afff,0xd4f6b000-0xd4f72fff on simplebus0 gpio0: mem 0xd4f73000-0xd4f73fff,0xe8055000-0xe8055fff,0xe8057000-0xe8057fff,0xe8059000-0xe8059fff,0xe805b000-0xe805bfff,0xe805d000-0xe805dfff irq 61,62,63,64,65,66 on simplebus0 gpioc0: on gpio0 gpiobus0: on gpio0 ehci0: mem 0xd4f74c00-0xd4f74cff,0xd4f75000-0xd4f756ff,0xd4f76000-0xd4f76fff irq 109 on simplebus0 ehci0: Starting TI EHCI USB Controller ehci0: UHH revision 0x50700100 ehci0: OMAP_UHH_SYSCONFIG: 0x00000014 ehci0: UHH setup done, uhh_hostconfig=0x8000001c ehci0: PHY reset operation timed out usbus0: EHCI version 1.0 usbus0 on ehci0 iichb0: mem 0xe8070000-0xe80700ff irq 88 on simplebus0 iichb0: I2C revision 4.0 iicbus0: on iichb0 iic0: on iicbus0 ti_sdma0: mem 0xd4f77000-0xd4f77fff irq 44,45,46,47 on simplebus0 ti_sdma0: sDMA revision 00010900 ti_mmchs0: mem 0xe809c000-0xe809cfff irq 115 on simplebus0 mmc0: on ti_mmchs0 Timecounters tick every 10.000 msec usbus0: 480Mbps High Speed USB v2.0 ugen0.1: at usbus0 uhub0: on usbus0 mmcsd0: 7496MB at mmc0 25.0MHz/4bit/1-block Root mount waiting for: usbus0 Root mount waiting for: usbus0 uhub0: 3 ports with 3 removable, self powered Trying to mount root from ufs:/dev/mmcsd0s2a [rw,noatime]... warning: no time-of-day clock registered, system time will not be set accurately From owner-freebsd-arm@FreeBSD.ORG Sun Oct 28 19:05:48 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2F9C72D6 for ; Sun, 28 Oct 2012 19:05:48 +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 05AE38FC1B for ; Sun, 28 Oct 2012 19:05:47 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id q9SJ5ceq056228; Sun, 28 Oct 2012 19:05:38 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.143] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id uddnui5jjk5hijsp225ysfwkxe; Sun, 28 Oct 2012 19:05:38 +0000 (UTC) (envelope-from tim@kientzle.com) Subject: Re: Towards an ARM system-building script Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=us-ascii From: Tim Kientzle In-Reply-To: <508D3C83.6020101@ff.iij4u.or.jp> Date: Sun, 28 Oct 2012 12:05:37 -0700 Content-Transfer-Encoding: 7bit Message-Id: <25C276C7-EC77-4EF1-A4B0-DE4606E1133D@kientzle.com> References: <508D3C83.6020101@ff.iij4u.or.jp> To: Takeshi Taguchi 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, 28 Oct 2012 19:05:48 -0000 On Oct 28, 2012, at 7:09 AM, Takeshi Taguchi wrote: > My Pandaboard ES (Rev.B1) said: > panic: bootpc_init: Could not find interface specified by > BOOTP_WIRED_TO: ue0 > > so I'd commented out following lines: > #options BOOTP_NFSROOT > #options BOOTP_COMPAT > #options BOOTP > #options BOOTP_NFSV3 > #options BOOTP_WIRED_TO=ue0 I just commented these out of the PANDABOARD config in -CURRENT. So this should no longer be needed. > login prompt was displaied. That's good news! Is the system usable overall? (You can login as root, run basic commands, etc?) > But the ethernet isn't working at all. Do any other USB devices work? Someone else mentioned that it worked if they asked U-Boot to initialize the USB hardware via "usb start" at the U-Boot prompt. This suggests that the FreeBSD USB driver is missing something in its initialization code. > following is a dmesg. what should i do? I don't see ue0 listed. Is the ue driver in the kernel? If not, try adding it. Tim From owner-freebsd-arm@FreeBSD.ORG Mon Oct 29 01:43:15 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 516826C6 for ; Mon, 29 Oct 2012 01:43:15 +0000 (UTC) (envelope-from alie@affle.com) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 077488FC0A for ; Mon, 29 Oct 2012 01:43:14 +0000 (UTC) Received: by mail-vb0-f54.google.com with SMTP id l1so1001683vba.13 for ; Sun, 28 Oct 2012 18:43:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :x-gm-message-state; bh=EDi2dis5w/t+9wl6/y1+84MizJ9nvuoxCk89/iqIbbI=; b=QDyAUtd3p6KO6F9kjcotCV8pAX31HKtxIPNOTBgXxnt2MVqUc05k8dviSq7FkX503T BiMiJc9j8s6xPdXAYtnO0W0UO8hynR8E1MvOcOWdzS4g2GuBE/EuwpIJAoQhGAyMOxoQ MAvcFzXtG9k79ohhQblT8zRJk0djn/vY+KwiAHkWyeREWfRufZUs9guBVB1JW1lqEZ3a +6nuFhD+5sDSU9+H14DNbGY0iOvVEBgDlWcFmmMZTq8pfGpT/pTQGoCRy6iWcpGnwfbd gtuuT/Mts2CLw7xVtw0n73hMdSiqzSjeyUN4Tv3PWvcPASHko2XjykgZDTR3UH2PCs9h enRA== MIME-Version: 1.0 Received: by 10.220.153.15 with SMTP id i15mr6746071vcw.6.1351474994166; Sun, 28 Oct 2012 18:43:14 -0700 (PDT) Received: by 10.58.233.80 with HTTP; Sun, 28 Oct 2012 18:43:14 -0700 (PDT) Date: Mon, 29 Oct 2012 09:43:14 +0800 Message-ID: Subject: Re: Towards an ARM system-building script From: Alie Tan To: freebsd-arm@freebsd.org X-Gm-Message-State: ALoCoQlTYw9gjga0pc2Sqxl5r41PCepusy66DvwR0spvLxTvUmAKfu0L81XBIzR4LybIySkz4T54 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: Mon, 29 Oct 2012 01:43:15 -0000 Hi, I've found that the "hostname" on rc.conf file is not appears on my Router, its empty. And i couldn't connect to my BeagleBone thru SSH even though i have this lines on my rc.conf hostname="beaglebone" ifconfig_cpsw0="DHCP" sshd_enable="YES" I am using r242068 for /usr/src From owner-freebsd-arm@FreeBSD.ORG Mon Oct 29 02:52:38 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 06E1C219 for ; Mon, 29 Oct 2012 02:52:38 +0000 (UTC) (envelope-from chinalightsourcea@aliyun.com) Received: from smtpcm9-312.freemail.mail.aliyun.com (smtpcm9-312.freemail.mail.aliyun.com [110.75.46.12]) by mx1.freebsd.org (Postfix) with ESMTP id 6BA418FC15 for ; Mon, 29 Oct 2012 02:52:37 +0000 (UTC) Received: from WS-web by localhost(127.0.0.1) at Mon, 29 Oct 2012 10:36:05 +0800 Date: Mon, 29 Oct 2012 10:36:03 +0800 From: To: Message-ID: <59ec4a69-d13f-44f2-b8ac-590ae0c1c3a8@aliyun.com> Subject: =?UTF-8?B?TEVEIHJvcGUgbGlnaHRzIA==?= X-Priority: 3 X-Mailer: Alimail-Mailagent MIME-Version: 1.0 X-Priority: 3 X-Mailer: Alimail-Mailagent revision 494994 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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: Mon, 29 Oct 2012 02:52:38 -0000 =0aHello,=0a=c2=a0=0aWe are glad you are on the market for led lightings.=0a=c2= =a0=0aLight Source Industrial Limited =c2=a0here,main products are LED spots L= amp, and Bulbs,Tube Light, LED panel light, LED tree light, LED Christmas ligh= ts, and LED down light,LED acrylic motif lights, =c2=a0Please visit our compan= y website: www.cn-lightsource.com; if any item you are interested in, please c= ontact us at any time. =0a=c2=a0=0aI look forward to hearing from you! =0aBest= regards, =0aAlison zhang=0aLight Source Industrial Limited=c2=a0=0aTel: 0086 = 7525536816=0a=c2=a0=c2=a0=c2=a0=c2=a0=c2=a0 0086 75533696626=0aMobile: 0086153= 47451788=0aEmail: alisonzhangcn@163.com=0aHotmail: chinalightsource@hotmail.co= m=0awww.cn-lightsource.com=0askype: alisonzhangcn1=0a=c2=a0=0a=c2=a0=0a=c2=a0=0a= =c2=a0=0a=c2=a0=0a=c2=a0=0a=c2=a0=0a=c2=a0=0a=c2=a0=0a=0a=c2=a0 From owner-freebsd-arm@FreeBSD.ORG Mon Oct 29 03:50:55 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 601A05AF for ; Mon, 29 Oct 2012 03:50:55 +0000 (UTC) (envelope-from kientzle@freebsd.org) 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 33E988FC08 for ; Mon, 29 Oct 2012 03:50:54 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id q9T3oqak058550; Mon, 29 Oct 2012 03:50:52 GMT (envelope-from kientzle@freebsd.org) Received: from [192.168.2.143] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id mnytnz68dsyhz8gjebzgh2rmqs; Mon, 29 Oct 2012 03:50:52 +0000 (UTC) (envelope-from kientzle@freebsd.org) Subject: BeagleBone questions (was Re: Towards an ARM system-building script) Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=us-ascii From: Tim Kientzle In-Reply-To: Date: Sun, 28 Oct 2012 20:50:51 -0700 Content-Transfer-Encoding: 7bit Message-Id: <2E208EEB-B2CF-4AC6-B420-03FB4CF08041@freebsd.org> References: To: Alie Tan 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: Mon, 29 Oct 2012 03:50:55 -0000 On Oct 28, 2012, at 6:43 PM, Alie Tan wrote: > > I've found that the "hostname" on rc.conf file is not appears on my Router, > its empty. I could be wrong, but I think you need to explicitly configure FreeBSD dhclient to advertise a hostname. > And i couldn't connect to my BeagleBone thru SSH even though i have this > lines on my rc.conf > > hostname="beaglebone" > ifconfig_cpsw0="DHCP" > sshd_enable="YES" > > I am using r242068 for /usr/src Can you clarify "couldn't connect"? Is sshd running? Can you ping the BeagleBone? Can you ping from the beaglebone to your router? On the beagle bone, can you "ssh 127.0.0.1"? Tim P.S. Please edit the subject of your emails. From owner-freebsd-arm@FreeBSD.ORG Mon Oct 29 07:29:07 2012 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D70E81A7; Mon, 29 Oct 2012 07:29:07 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-legacy2.sentex.ca (freebsd-legacy2.sentex.ca [IPv6:2607:f3e0:0:3::6502:9c]) by mx1.freebsd.org (Postfix) with ESMTP id 5BDF08FC0A; Mon, 29 Oct 2012 07:29:07 +0000 (UTC) Received: from freebsd-legacy2.sentex.ca (localhost [127.0.0.1]) by freebsd-legacy2.sentex.ca (8.14.5/8.14.5) with ESMTP id q9T7T6l9008660; Mon, 29 Oct 2012 07:29:06 GMT (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-legacy2.sentex.ca (8.14.5/8.14.5/Submit) id q9T7T67c008651; Mon, 29 Oct 2012 07:29:06 GMT (envelope-from tinderbox@freebsd.org) Date: Mon, 29 Oct 2012 07:29:06 GMT Message-Id: <201210290729.q9T7T67c008651@freebsd-legacy2.sentex.ca> X-Authentication-Warning: freebsd-legacy2.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Subject: [releng_8 tinderbox] failure on arm/arm Precedence: bulk X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2012 07:29:08 -0000 TB --- 2012-10-29 06:36:49 - tinderbox 2.9 running on freebsd-legacy2.sentex.ca TB --- 2012-10-29 06:36:49 - FreeBSD freebsd-legacy2.sentex.ca 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2012-10-29 06:36:49 - starting RELENG_8 tinderbox run for arm/arm TB --- 2012-10-29 06:36:49 - cleaning the object tree TB --- 2012-10-29 06:36:49 - checking out /src from svn://svn.freebsd.org/base/stable/8 TB --- 2012-10-29 06:36:49 - cd /tinderbox/RELENG_8/arm/arm TB --- 2012-10-29 06:36:49 - /usr/local/bin/svn cleanup /src TB --- 2012-10-29 06:36:59 - /usr/local/bin/svn update /src TB --- 2012-10-29 06:37:05 - At svn revision 242301 TB --- 2012-10-29 06:37:06 - building world TB --- 2012-10-29 06:37:06 - CROSS_BUILD_TESTING=YES TB --- 2012-10-29 06:37:06 - MAKEOBJDIRPREFIX=/obj TB --- 2012-10-29 06:37:06 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-10-29 06:37:06 - SRCCONF=/dev/null TB --- 2012-10-29 06:37:06 - TARGET=arm TB --- 2012-10-29 06:37:06 - TARGET_ARCH=arm TB --- 2012-10-29 06:37:06 - TZ=UTC TB --- 2012-10-29 06:37:06 - __MAKE_CONF=/dev/null TB --- 2012-10-29 06:37:06 - cd /src TB --- 2012-10-29 06:37:06 - /usr/bin/make -B buildworld >>> World build started on Mon Oct 29 06:37:07 UTC 2012 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Mon Oct 29 07:12:18 UTC 2012 TB --- 2012-10-29 07:12:18 - cd /src/sys/arm/conf TB --- 2012-10-29 07:12:18 - /usr/sbin/config -m AVILA TB --- 2012-10-29 07:12:18 - building AVILA kernel TB --- 2012-10-29 07:12:18 - CROSS_BUILD_TESTING=YES TB --- 2012-10-29 07:12:18 - MAKEOBJDIRPREFIX=/obj TB --- 2012-10-29 07:12:18 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-10-29 07:12:18 - SRCCONF=/dev/null TB --- 2012-10-29 07:12:18 - TARGET=arm TB --- 2012-10-29 07:12:18 - TARGET_ARCH=arm TB --- 2012-10-29 07:12:18 - TZ=UTC TB --- 2012-10-29 07:12:18 - __MAKE_CONF=/dev/null TB --- 2012-10-29 07:12:18 - cd /src TB --- 2012-10-29 07:12:18 - /usr/bin/make -B buildkernel KERNCONF=AVILA >>> Kernel build for AVILA started on Mon Oct 29 07:12:18 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for AVILA completed on Mon Oct 29 07:14:16 UTC 2012 TB --- 2012-10-29 07:14:16 - cd /src/sys/arm/conf TB --- 2012-10-29 07:14:16 - /usr/sbin/config -m BWCT TB --- 2012-10-29 07:14:16 - building BWCT kernel TB --- 2012-10-29 07:14:16 - CROSS_BUILD_TESTING=YES TB --- 2012-10-29 07:14:16 - MAKEOBJDIRPREFIX=/obj TB --- 2012-10-29 07:14:16 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-10-29 07:14:16 - SRCCONF=/dev/null TB --- 2012-10-29 07:14:16 - TARGET=arm TB --- 2012-10-29 07:14:16 - TARGET_ARCH=arm TB --- 2012-10-29 07:14:16 - TZ=UTC TB --- 2012-10-29 07:14:16 - __MAKE_CONF=/dev/null TB --- 2012-10-29 07:14:16 - cd /src TB --- 2012-10-29 07:14:16 - /usr/bin/make -B buildkernel KERNCONF=BWCT >>> Kernel build for BWCT started on Mon Oct 29 07:14:16 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for BWCT completed on Mon Oct 29 07:15:42 UTC 2012 TB --- 2012-10-29 07:15:42 - cd /src/sys/arm/conf TB --- 2012-10-29 07:15:42 - /usr/sbin/config -m CAMBRIA TB --- 2012-10-29 07:15:42 - building CAMBRIA kernel TB --- 2012-10-29 07:15:42 - CROSS_BUILD_TESTING=YES TB --- 2012-10-29 07:15:42 - MAKEOBJDIRPREFIX=/obj TB --- 2012-10-29 07:15:42 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-10-29 07:15:42 - SRCCONF=/dev/null TB --- 2012-10-29 07:15:42 - TARGET=arm TB --- 2012-10-29 07:15:42 - TARGET_ARCH=arm TB --- 2012-10-29 07:15:42 - TZ=UTC TB --- 2012-10-29 07:15:42 - __MAKE_CONF=/dev/null TB --- 2012-10-29 07:15:42 - cd /src TB --- 2012-10-29 07:15:42 - /usr/bin/make -B buildkernel KERNCONF=CAMBRIA >>> Kernel build for CAMBRIA started on Mon Oct 29 07:15:42 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for CAMBRIA completed on Mon Oct 29 07:17:35 UTC 2012 TB --- 2012-10-29 07:17:35 - cd /src/sys/arm/conf TB --- 2012-10-29 07:17:35 - /usr/sbin/config -m CRB TB --- 2012-10-29 07:17:35 - building CRB kernel TB --- 2012-10-29 07:17:35 - CROSS_BUILD_TESTING=YES TB --- 2012-10-29 07:17:35 - MAKEOBJDIRPREFIX=/obj TB --- 2012-10-29 07:17:35 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-10-29 07:17:35 - SRCCONF=/dev/null TB --- 2012-10-29 07:17:35 - TARGET=arm TB --- 2012-10-29 07:17:35 - TARGET_ARCH=arm TB --- 2012-10-29 07:17:35 - TZ=UTC TB --- 2012-10-29 07:17:35 - __MAKE_CONF=/dev/null TB --- 2012-10-29 07:17:35 - cd /src TB --- 2012-10-29 07:17:35 - /usr/bin/make -B buildkernel KERNCONF=CRB >>> Kernel build for CRB started on Mon Oct 29 07:17:35 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for CRB completed on Mon Oct 29 07:19:46 UTC 2012 TB --- 2012-10-29 07:19:46 - cd /src/sys/arm/conf TB --- 2012-10-29 07:19:46 - /usr/sbin/config -m DB-78XXX TB --- 2012-10-29 07:19:46 - building DB-78XXX kernel TB --- 2012-10-29 07:19:46 - CROSS_BUILD_TESTING=YES TB --- 2012-10-29 07:19:46 - MAKEOBJDIRPREFIX=/obj TB --- 2012-10-29 07:19:46 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-10-29 07:19:46 - SRCCONF=/dev/null TB --- 2012-10-29 07:19:46 - TARGET=arm TB --- 2012-10-29 07:19:46 - TARGET_ARCH=arm TB --- 2012-10-29 07:19:46 - TZ=UTC TB --- 2012-10-29 07:19:46 - __MAKE_CONF=/dev/null TB --- 2012-10-29 07:19:46 - cd /src TB --- 2012-10-29 07:19:46 - /usr/bin/make -B buildkernel KERNCONF=DB-78XXX >>> Kernel build for DB-78XXX started on Mon Oct 29 07:19:46 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for DB-78XXX completed on Mon Oct 29 07:21:36 UTC 2012 TB --- 2012-10-29 07:21:36 - cd /src/sys/arm/conf TB --- 2012-10-29 07:21:36 - /usr/sbin/config -m DB-88F5XXX TB --- 2012-10-29 07:21:36 - building DB-88F5XXX kernel TB --- 2012-10-29 07:21:36 - CROSS_BUILD_TESTING=YES TB --- 2012-10-29 07:21:36 - MAKEOBJDIRPREFIX=/obj TB --- 2012-10-29 07:21:36 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-10-29 07:21:36 - SRCCONF=/dev/null TB --- 2012-10-29 07:21:36 - TARGET=arm TB --- 2012-10-29 07:21:36 - TARGET_ARCH=arm TB --- 2012-10-29 07:21:36 - TZ=UTC TB --- 2012-10-29 07:21:36 - __MAKE_CONF=/dev/null TB --- 2012-10-29 07:21:36 - cd /src TB --- 2012-10-29 07:21:36 - /usr/bin/make -B buildkernel KERNCONF=DB-88F5XXX >>> Kernel build for DB-88F5XXX started on Mon Oct 29 07:21:36 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for DB-88F5XXX completed on Mon Oct 29 07:23:25 UTC 2012 TB --- 2012-10-29 07:23:25 - cd /src/sys/arm/conf TB --- 2012-10-29 07:23:25 - /usr/sbin/config -m DB-88F6XXX TB --- 2012-10-29 07:23:25 - building DB-88F6XXX kernel TB --- 2012-10-29 07:23:25 - CROSS_BUILD_TESTING=YES TB --- 2012-10-29 07:23:25 - MAKEOBJDIRPREFIX=/obj TB --- 2012-10-29 07:23:25 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-10-29 07:23:25 - SRCCONF=/dev/null TB --- 2012-10-29 07:23:25 - TARGET=arm TB --- 2012-10-29 07:23:25 - TARGET_ARCH=arm TB --- 2012-10-29 07:23:25 - TZ=UTC TB --- 2012-10-29 07:23:25 - __MAKE_CONF=/dev/null TB --- 2012-10-29 07:23:25 - cd /src TB --- 2012-10-29 07:23:25 - /usr/bin/make -B buildkernel KERNCONF=DB-88F6XXX >>> Kernel build for DB-88F6XXX started on Mon Oct 29 07:23:25 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for DB-88F6XXX completed on Mon Oct 29 07:25:13 UTC 2012 TB --- 2012-10-29 07:25:13 - cd /src/sys/arm/conf TB --- 2012-10-29 07:25:13 - /usr/sbin/config -m EP80219 TB --- 2012-10-29 07:25:13 - building EP80219 kernel TB --- 2012-10-29 07:25:13 - CROSS_BUILD_TESTING=YES TB --- 2012-10-29 07:25:13 - MAKEOBJDIRPREFIX=/obj TB --- 2012-10-29 07:25:13 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-10-29 07:25:13 - SRCCONF=/dev/null TB --- 2012-10-29 07:25:13 - TARGET=arm TB --- 2012-10-29 07:25:13 - TARGET_ARCH=arm TB --- 2012-10-29 07:25:13 - TZ=UTC TB --- 2012-10-29 07:25:13 - __MAKE_CONF=/dev/null TB --- 2012-10-29 07:25:13 - cd /src TB --- 2012-10-29 07:25:13 - /usr/bin/make -B buildkernel KERNCONF=EP80219 >>> Kernel build for EP80219 started on Mon Oct 29 07:25:13 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for EP80219 completed on Mon Oct 29 07:27:03 UTC 2012 TB --- 2012-10-29 07:27:03 - cd /src/sys/arm/conf TB --- 2012-10-29 07:27:03 - /usr/sbin/config -m GUMSTIX TB --- 2012-10-29 07:27:03 - building GUMSTIX kernel TB --- 2012-10-29 07:27:03 - CROSS_BUILD_TESTING=YES TB --- 2012-10-29 07:27:03 - MAKEOBJDIRPREFIX=/obj TB --- 2012-10-29 07:27:03 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-10-29 07:27:03 - SRCCONF=/dev/null TB --- 2012-10-29 07:27:03 - TARGET=arm TB --- 2012-10-29 07:27:03 - TARGET_ARCH=arm TB --- 2012-10-29 07:27:03 - TZ=UTC TB --- 2012-10-29 07:27:03 - __MAKE_CONF=/dev/null TB --- 2012-10-29 07:27:03 - cd /src TB --- 2012-10-29 07:27:03 - /usr/bin/make -B buildkernel KERNCONF=GUMSTIX >>> Kernel build for GUMSTIX started on Mon Oct 29 07:27:03 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for GUMSTIX completed on Mon Oct 29 07:28:32 UTC 2012 TB --- 2012-10-29 07:28:32 - cd /src/sys/arm/conf TB --- 2012-10-29 07:28:32 - /usr/sbin/config -m HL200 TB --- 2012-10-29 07:28:32 - building HL200 kernel TB --- 2012-10-29 07:28:32 - CROSS_BUILD_TESTING=YES TB --- 2012-10-29 07:28:32 - MAKEOBJDIRPREFIX=/obj TB --- 2012-10-29 07:28:32 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-10-29 07:28:32 - SRCCONF=/dev/null TB --- 2012-10-29 07:28:32 - TARGET=arm TB --- 2012-10-29 07:28:32 - TARGET_ARCH=arm TB --- 2012-10-29 07:28:32 - TZ=UTC TB --- 2012-10-29 07:28:32 - __MAKE_CONF=/dev/null TB --- 2012-10-29 07:28:32 - cd /src TB --- 2012-10-29 07:28:32 - /usr/bin/make -B buildkernel KERNCONF=HL200 >>> Kernel build for HL200 started on Mon Oct 29 07:28:32 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -mlittle-endian -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=arm9 -ffreestanding -Werror /src/sys/dev/usb/serial/uvisor.c cc -mlittle-endian -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=arm9 -ffreestanding -Werror /src/sys/dev/usb/serial/uvscom.c cc -mlittle-endian -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=arm9 -ffreestanding -Werror /src/sys/dev/usb/serial/usb_serial.c cc -mlittle-endian -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=arm9 -ffreestanding -Werror /src/sys/dev/usb/input/uhid.c /src/sys/dev/usb/input/uhid.c: In function 'uhid_probe': /src/sys/dev/usb/input/uhid.c:697: error: 'UQ_UMS_IGNORE' undeclared (first use in this function) /src/sys/dev/usb/input/uhid.c:697: error: (Each undeclared identifier is reported only once /src/sys/dev/usb/input/uhid.c:697: error: for each function it appears in.) *** Error code 1 Stop in /obj/arm/src/sys/HL200. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2012-10-29 07:29:06 - WARNING: /usr/bin/make returned exit code 1 TB --- 2012-10-29 07:29:06 - ERROR: failed to build HL200 kernel TB --- 2012-10-29 07:29:06 - 2493.19 user 533.52 system 3137.57 real http://tinderbox.freebsd.org/tinderbox-releng_8-RELENG_8-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Mon Oct 29 10:21:47 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1F829B09 for ; Mon, 29 Oct 2012 10:21:47 +0000 (UTC) (envelope-from mukunda@pointred.co) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id EFD628FC12 for ; Mon, 29 Oct 2012 10:21:46 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1TSmTa-0000j5-HY for freebsd-arm@freebsd.org; Mon, 29 Oct 2012 03:21:46 -0700 Date: Mon, 29 Oct 2012 03:21:46 -0700 (PDT) From: hsmpr To: freebsd-arm@freebsd.org Message-ID: <1351506106530-5756034.post@n5.nabble.com> Subject: NFS mount not working on AVILA 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: Mon, 29 Oct 2012 10:21:47 -0000 Hi, I have an AVILA board for which kernel is built with option to mount NFS. I have done some debugging to make sure, npe transmit routines are reached. as shown below. HSM : npe_txdone [Debug inserted] DHCP/BOOTP timeout for server 255.255.255.255 Sending DHCP Discover packet from interface npe0 (00:40:c7:fd:a5:86) HSM : npestart done [Debug inserted] HSM : npe_txdone [Debug inserted] DHCP/BOOTP timeout for server 255.255.255.255 This will continue forever But on a wireshark capture, I do not see any discover packet being sent from the board. While, RedBoot is able to get the kernel from the TFTP server hosted on the same route. Additionally, the mac address was set to all zeros. The behavior has not changed after I manually set the MAC address to a valid value in the kernel code. Can somebody help? hsmpr -- View this message in context: http://freebsd.1045724.n5.nabble.com/NFS-mount-not-working-on-AVILA-tp5756034.html Sent from the freebsd-arm mailing list archive at Nabble.com. From owner-freebsd-arm@FreeBSD.ORG Mon Oct 29 11:06:31 2012 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 10540B2E for ; Mon, 29 Oct 2012 11:06:31 +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 E98AB8FC18 for ; Mon, 29 Oct 2012 11:06:30 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q9TB6USa028412 for ; Mon, 29 Oct 2012 11:06:30 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q9TB6Ua5028410 for freebsd-arm@FreeBSD.org; Mon, 29 Oct 2012 11:06:30 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 29 Oct 2012 11:06:30 GMT Message-Id: <201210291106.q9TB6Ua5028410@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, 29 Oct 2012 11:06:31 -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 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 [patch] nslu2_led driver for the LEDs on the NSLU2 p arm/134338 arm [patch] Lock GPIO accesses on ixp425 14 problems total. From owner-freebsd-arm@FreeBSD.ORG Mon Oct 29 13:26:01 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2E90A366 for ; Mon, 29 Oct 2012 13:26:01 +0000 (UTC) (envelope-from alie@affle.com) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id CDFDA8FC14 for ; Mon, 29 Oct 2012 13:26:00 +0000 (UTC) Received: by mail-vc0-f182.google.com with SMTP id fw7so6583292vcb.13 for ; Mon, 29 Oct 2012 06:26:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :x-gm-message-state; bh=88XPVBC0zVGFvP+6fEL8sQFY7mNrU7P8V38TSqMLJys=; b=E898PbvDl9CZONPiht9GYFwySHk6rY/FP/x7OHayhzT2Zk1vqu1J7dvpou+zCfyYzf cQMuLv5ImXdIPtSRRS1E7OuhWdNl5bOiLAxeY7K1bERHdoCKbBcdYYMRk0gbWj+lC4al Z5VIJOHYOYq87TUasT0UhlXjj5Fjr3io5CG+rkwjwBNJKcaU7wUbHKXPpRXTLI3Y36O5 ZCrApqV+7EHEGAyAn/YYIINkIa48Y78fHn0sa63IOfKfnmqVieGQGwz0q5qu4g8T97Fs Ni478O/EzOncwRi7RJjNv7qd52Le8YkI97fmgipgML6LLASTSrW3EHGau8/VqQVA4Z40 Y6bQ== MIME-Version: 1.0 Received: by 10.58.198.135 with SMTP id jc7mr49567196vec.51.1351517160068; Mon, 29 Oct 2012 06:26:00 -0700 (PDT) Received: by 10.58.233.80 with HTTP; Mon, 29 Oct 2012 06:25:59 -0700 (PDT) Date: Mon, 29 Oct 2012 21:25:59 +0800 Message-ID: Subject: Re: BeagleBone questions From: Alie Tan To: freebsd-arm@freebsd.org X-Gm-Message-State: ALoCoQkmqKGNX8AAQZzEH/e3IUOtJTfs4VnReA9PH5clIOWf8eMIevA2HdyFEX4GvmeSki3rty19 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: Mon, 29 Oct 2012 13:26:01 -0000 Hi Tim, - On the beaglebone I can ssh 127.0.0.1 but it says permission denied after i key in correct password for the 3rd time - I can't ping to my beaglebone from router or otherwise - sshd is running Regards, Alie T From owner-freebsd-arm@FreeBSD.ORG Mon Oct 29 13:29:15 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D8AC550D; Mon, 29 Oct 2012 13:29:15 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe01.c2i.net [212.247.154.2]) by mx1.freebsd.org (Postfix) with ESMTP id 2608B8FC08; Mon, 29 Oct 2012 13:29:14 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [176.74.213.204] (account mc467741@c2i.net HELO laptop015.hselasky.homeunix.org) by mailfe01.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 340370802; Mon, 29 Oct 2012 14:24:05 +0100 From: Hans Petter Selasky To: freebsd-arm@freebsd.org Subject: Re: Raspberry PI gets USB support [FreeBSD 10 current] Date: Mon, 29 Oct 2012 14:25:45 +0100 User-Agent: KMail/1.13.7 (FreeBSD/9.1-PRERELEASE; KDE/4.8.4; amd64; ; ) References: <201209101654.00891.hselasky@c2i.net> <50890B5C.2080406@freebsd.org> <20121025201251.7F5E3B827@mail.bitblocks.com> In-Reply-To: <20121025201251.7F5E3B827@mail.bitblocks.com> X-Face: 'mmZ:T{)),Oru^0c+/}w'`gU1$ubmG?lp!=R4Wy\ELYo2)@'UZ24N@d2+AyewRX}mAm; Yp |U[@, _z/([?1bCfM{_"B<.J>mICJCHAzzGHI{y7{%JVz%R~yJHIji`y>Y}k1C4TfysrsUI -%GU9V5]iUZF&nRn9mJ'?&>O MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201210291425.45120.hselasky@c2i.net> Cc: Bakul Shah , Alexander Yerenkow 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, 29 Oct 2012 13:29:15 -0000 On Thursday 25 October 2012 22:12:51 Bakul Shah wrote: > On Thu, 25 Oct 2012 11:50:20 +0200 Stefan Esser wrote: > > There is the link to a message by Greg Kroah-Hartman, where he > > declares the Broadcom USB hardware "broken", at least in the sense > > that no information exists for free software writers to let them > > make USB work well. There also is mention of a Plan9 driver for > > the USB on RPI, we might want to check whether it offers any insight. > > Since all nearly all peripherals including Ethernet are connected to > > USB on the RPI, good USB support is very important to use the RPI > > as more than a toy. > > The Plan9 USB driver is far simpler than the Linux driver (but > not as functional. The only publicly available "documentation" > is the Linux driver). More work remains but I can already > connect usb keyboard, mouse, access ethernet etc. I haven't > tried accessing a usb disk since the emmc driver works so well > (example: the plan9 kernel compiles in a minute). Credit for > this work to Richard Miller. > > Raspi related code is here: > > http://plan9.bell-labs.com/sources/contrib/miller/9/rpi/ > > You will need files in other directories to make sense of this. > > The entire plan9 src tree (minus the dir above) is @ > http://plan9.bell-labs.com/sources/extra/plan9.src.bz2 > > You can browse @ > http://plan9.bell-labs.com/sources/plan9/sys/src/9/ > http://plan9.bell-labs.com/sources/plan9/sys/src/cmd/usb > etc. > > If you are looking at just the low level usb code, you won't > need much plan9 knowledge. Hi, The DWC OTG is used in multiple chipsets and documentation is available indirectly through various datasheets describing SOCs where this core is used. Also at the synopsys.com site it is possible to register to get more documentation. http://www.synopsys.com/dw/ipdir.php?ds=dwc_usb_2_0_digital_controllers If you register at Synopsys.com you can get more info: Google "synopsys programmers guide DWC OTG" The PIO HOST mode support which is supported by the FreeBSD's DWC OTG driver has been created without the help of the data sheet. I've used the register descriptions to figure out the workings. There are not so many valid combinations and most of the programming can be guessed for those familiar to low level USB signalling. --HPS From owner-freebsd-arm@FreeBSD.ORG Mon Oct 29 13:34:58 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4C7FF67F for ; Mon, 29 Oct 2012 13:34:58 +0000 (UTC) (envelope-from alie@affle.com) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id EAB658FC16 for ; Mon, 29 Oct 2012 13:34:57 +0000 (UTC) Received: by mail-vc0-f182.google.com with SMTP id fw7so6597762vcb.13 for ; Mon, 29 Oct 2012 06:34:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=ssiVwOQ/nFF62pnDoseVxHhobzTwpapd2Di32siQcM0=; b=Kl8t+r+guBfdrh1jCJbuJYhqChbGGAYypN7zjVm6juJNdeQD8ZqxMSrLY2gsMPFI3m x8reNG+J0tO7jRs6rLfqZenYDGnueoioPwEAUUo+UqGNZtk5uLFp9jpr2KnmbBVyolKc 3YHQu+OryR10Fs6X3z9zYUeJ17MuyY+4smhNyI9UteOJ5JUqQUgliBZ1omqt8IHx6ZLF fl79hD99KhsqOxU6RaK4vRkaWlVWtr/06BCLEm5+GrQlbzZs7a1lRmgEz0/jAyN6ZHM+ FUFzaaBTaFRxHL11PPhzjNmaVWhr8Jh7UXJSMzuOemUoVOh1itoUFYpeTnSvWrEq8lBW 1/6g== MIME-Version: 1.0 Received: by 10.221.1.81 with SMTP id np17mr8642795vcb.66.1351517697201; Mon, 29 Oct 2012 06:34:57 -0700 (PDT) Received: by 10.58.233.80 with HTTP; Mon, 29 Oct 2012 06:34:57 -0700 (PDT) In-Reply-To: References: Date: Mon, 29 Oct 2012 21:34:57 +0800 Message-ID: Subject: Re: BeagleBone questions From: Alie Tan To: freebsd-arm@freebsd.org X-Gm-Message-State: ALoCoQmdnum0MOAOIvE+zjb/GvIfrc6oC6q1MuTNzmkz4G6jooL3wXWvo2de7x6Tis27aHCw29ZD 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: Mon, 29 Oct 2012 13:34:58 -0000 Sorry my bad, root login is disabled in /etc/ssh/sshd_config On Mon, Oct 29, 2012 at 9:25 PM, Alie Tan wrote: > Hi Tim, > > - On the beaglebone I can ssh 127.0.0.1 but it says permission denied > after i key in correct password for the 3rd time > - I can't ping to my beaglebone from router or otherwise > - sshd is running > > Regards, > > Alie T > From owner-freebsd-arm@FreeBSD.ORG Mon Oct 29 15:02:14 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6BE8A417; Mon, 29 Oct 2012 15:02:14 +0000 (UTC) (envelope-from freebsd@damnhippie.dyndns.org) Received: from duck.symmetricom.us (duck.symmetricom.us [206.168.13.214]) by mx1.freebsd.org (Postfix) with ESMTP id 205D08FC08; Mon, 29 Oct 2012 15:02:13 +0000 (UTC) Received: from damnhippie.dyndns.org (daffy.symmetricom.us [206.168.13.218]) by duck.symmetricom.us (8.14.5/8.14.5) with ESMTP id q9TF2BtH020052; Mon, 29 Oct 2012 09:02:12 -0600 (MDT) (envelope-from freebsd@damnhippie.dyndns.org) 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 q9TF1m7E004645; Mon, 29 Oct 2012 09:01:48 -0600 (MDT) (envelope-from freebsd@damnhippie.dyndns.org) Subject: Re: BeagleBone questions (was Re: Towards an ARM system-building script) From: Ian Lepore To: Tim Kientzle In-Reply-To: <2E208EEB-B2CF-4AC6-B420-03FB4CF08041@freebsd.org> References: <2E208EEB-B2CF-4AC6-B420-03FB4CF08041@freebsd.org> Content-Type: text/plain; charset="us-ascii" Date: Mon, 29 Oct 2012 09:01:48 -0600 Message-ID: <1351522908.1123.356.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, Alie Tan 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, 29 Oct 2012 15:02:14 -0000 On Sun, 2012-10-28 at 20:50 -0700, Tim Kientzle wrote: > On Oct 28, 2012, at 6:43 PM, Alie Tan wrote: > > > > I've found that the "hostname" on rc.conf file is not appears on my Router, > > its empty. > > I could be wrong, but I think you need to explicitly > configure FreeBSD dhclient to advertise a hostname. I don't think so. The /etc/dhclient.conf is empty on all my machines, and they all register their hostnames with DNS via DHCP automatically. (I had to do something to the dhcpd config years ago to allow it, but I forget what.) -- Ian From owner-freebsd-arm@FreeBSD.ORG Mon Oct 29 15:08:13 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1370D5C5 for ; Mon, 29 Oct 2012 15:08:13 +0000 (UTC) (envelope-from freebsd@damnhippie.dyndns.org) Received: from duck.symmetricom.us (duck.symmetricom.us [206.168.13.214]) by mx1.freebsd.org (Postfix) with ESMTP id A85DC8FC14 for ; Mon, 29 Oct 2012 15:08:06 +0000 (UTC) Received: from damnhippie.dyndns.org (daffy.symmetricom.us [206.168.13.218]) by duck.symmetricom.us (8.14.5/8.14.5) with ESMTP id q9TF85tx020176 for ; Mon, 29 Oct 2012 09:08:06 -0600 (MDT) (envelope-from freebsd@damnhippie.dyndns.org) 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 q9TF7hKe004655; Mon, 29 Oct 2012 09:07:43 -0600 (MDT) (envelope-from freebsd@damnhippie.dyndns.org) Subject: Re: NFS mount not working on AVILA From: Ian Lepore To: hsmpr In-Reply-To: <1351506106530-5756034.post@n5.nabble.com> References: <1351506106530-5756034.post@n5.nabble.com> Content-Type: text/plain; charset="us-ascii" Date: Mon, 29 Oct 2012 09:07:43 -0600 Message-ID: <1351523263.1123.360.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: Mon, 29 Oct 2012 15:08:13 -0000 On Mon, 2012-10-29 at 03:21 -0700, hsmpr wrote: > Hi, > > I have an AVILA board for which kernel is built with option to mount NFS. I > have done some debugging to make sure, npe transmit routines are reached. as > shown below. > > HSM : npe_txdone [Debug inserted] > DHCP/BOOTP timeout for server 255.255.255.255 > Sending DHCP Discover packet from interface npe0 (00:40:c7:fd:a5:86) > HSM : npestart done [Debug inserted] > HSM : npe_txdone [Debug inserted] > DHCP/BOOTP timeout for server 255.255.255.255 > > This will continue forever > But on a wireshark capture, I do not see any discover packet being sent from > the board. While, RedBoot is able to get the kernel from the TFTP server > hosted on the same route. Additionally, the mac address was set to all > zeros. The behavior has not changed after I manually set the MAC address to > a valid value in the kernel code. Can somebody help? > > > hsmpr I had exactly the same symptoms when I first tried to bring up my DreamPlug. I eventually tracked it down to the pin assignments for connecting the on-chip ethernet mac to its phy. It thought it was sending packets, but the electrons never made it out of the SoC. In my case, the TFTP code in uBoot had assigned the pins correctly, but then some wrong values in the FDT source caused the kernel to re-assign them differently so that it stopped working after the kernel loaded. -- Ian From owner-freebsd-arm@FreeBSD.ORG Mon Oct 29 15:08:40 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 01B187DB for ; Mon, 29 Oct 2012 15:08:40 +0000 (UTC) (envelope-from alie@affle.com) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9FCBE8FC0A for ; Mon, 29 Oct 2012 15:08:39 +0000 (UTC) Received: by mail-vb0-f54.google.com with SMTP id l1so1752815vba.13 for ; Mon, 29 Oct 2012 08:08:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=GtkgOcpR8yiXW/g6x2uvA9CCoFDa09hcDEkdwa38YYU=; b=X7lAFOniXhp038EMa8RRmxuXZrlC+nPAP2WDTv27+ptDInWcGqw+UutMjknK30L66G b+5H51sMbKtVu9GW8XaaZwGVWd6Dn/yZHLJcxii/ZPweVNYcdy7ZTSC51Rkr32bgXny2 SwRKiD7xqcU0QS+ZNDgaqpIC8m7iZggoeXrf+2Vs707Y71sUwfSChZcJbXmRdZwUoOji eOTaCcxm4+xHUssZPbX6VDILXDZx3i9hzhkMdOklPXuV9dUUl3LbO3yTCUgJiE4rzEGA JtWJKC7jXQmnLFDFAIlP2Klspc/S67FUkUyqzxB/nvpfWwMS/5TygPkHLWvTKHaNl7cu 425Q== MIME-Version: 1.0 Received: by 10.52.65.51 with SMTP id u19mr39469410vds.3.1351523318566; Mon, 29 Oct 2012 08:08:38 -0700 (PDT) Received: by 10.58.233.80 with HTTP; Mon, 29 Oct 2012 08:08:38 -0700 (PDT) In-Reply-To: <1351522908.1123.356.camel@revolution.hippie.lan> References: <2E208EEB-B2CF-4AC6-B420-03FB4CF08041@freebsd.org> <1351522908.1123.356.camel@revolution.hippie.lan> Date: Mon, 29 Oct 2012 23:08:38 +0800 Message-ID: Subject: Re: BeagleBone questions (was Re: Towards an ARM system-building script) From: Alie Tan To: Ian Lepore X-Gm-Message-State: ALoCoQke0rYocYk1adB+ApCnV7ZBRc6dkuFdl1lwRYipcj6KURACOkMSwYd7JQqiVdxRUqzKdhhT 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, 29 Oct 2012 15:08:40 -0000 I have tried angstrom, ArchLinux and FreBSD. Only FreeBSD makes the chip/board quite hot. Anyone have same experiece? Regards, Alie T On Monday, October 29, 2012, Ian Lepore wrote: > On Sun, 2012-10-28 at 20:50 -0700, Tim Kientzle wrote: >> On Oct 28, 2012, at 6:43 PM, Alie Tan wrote: >> > >> > I've found that the "hostname" on rc.conf file is not appears on my Router, >> > its empty. >> >> I could be wrong, but I think you need to explicitly >> configure FreeBSD dhclient to advertise a hostname. > > I don't think so. The /etc/dhclient.conf is empty on all my machines, > and they all register their hostnames with DNS via DHCP automatically. > (I had to do something to the dhcpd config years ago to allow it, but I > forget what.) > > -- Ian > > From owner-freebsd-arm@FreeBSD.ORG Mon Oct 29 16:14:46 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0E828499 for ; Mon, 29 Oct 2012 16:14:46 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-oa0-f54.google.com (mail-oa0-f54.google.com [209.85.219.54]) by mx1.freebsd.org (Postfix) with ESMTP id BD91A8FC14 for ; Mon, 29 Oct 2012 16:14:45 +0000 (UTC) Received: by mail-oa0-f54.google.com with SMTP id n9so6268607oag.13 for ; Mon, 29 Oct 2012 09:14:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=ltjGDdMQnNt67MerSR0sXGbxrR/FZ8qToJ1y8wQJ2+8=; b=FzSwOkleiqbgpK5plrKYRUCBZzx3pD3BlBCKOvmhwdkKxRoC++kJGo6qnSKdHG+a30 ByCmqa1zYy8Z2GjShHa3TbNv9nPUJHl16iU7JWF5X2OFb/SpSGN0RdjnVAJql3Cm/W5a zZoW6SzDX0KAF4jlSX3tfe7eqrMuKNpmGvb1Ml29qyETBkTfXp4M8/TzHejiMsWmkhzx C8eWOGH3N89/cMUijzVSljmU5MUazOxhk52DnwEuQrtAzW4+tfBZZvkvLn3fuTuWRu/P Nts6AuHqxEkxVh6nYwogOkwNbkphxDNuiPA5/L3neXvYUjVwMwDnmfdgN1whRphfP29p 2IkA== MIME-Version: 1.0 Received: by 10.60.169.170 with SMTP id af10mr26571809oec.17.1351527285125; Mon, 29 Oct 2012 09:14:45 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.76.27.65 with HTTP; Mon, 29 Oct 2012 09:14:44 -0700 (PDT) In-Reply-To: References: <2E208EEB-B2CF-4AC6-B420-03FB4CF08041@freebsd.org> <1351522908.1123.356.camel@revolution.hippie.lan> Date: Mon, 29 Oct 2012 09:14:45 -0700 X-Google-Sender-Auth: 92qpaepYD-x36jnOTno0DmpfdY0 Message-ID: Subject: Re: BeagleBone questions (was Re: Towards an ARM system-building script) From: Adrian Chadd To: Alie Tan Content-Type: text/plain; charset=ISO-8859-1 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, 29 Oct 2012 16:14:46 -0000 On 29 October 2012 08:08, Alie Tan wrote: > I have tried angstrom, ArchLinux and FreBSD. Only FreeBSD makes the > chip/board quite hot. > > Anyone have same experiece? Are we not halting the CPU during idle ticks on ARM? Does Linux have some extra power management code for ARM that we don't? Adrian From owner-freebsd-arm@FreeBSD.ORG Mon Oct 29 22:40:30 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8161AE01; Mon, 29 Oct 2012 22:40:30 +0000 (UTC) (envelope-from freebsd@damnhippie.dyndns.org) Received: from duck.symmetricom.us (duck.symmetricom.us [206.168.13.214]) by mx1.freebsd.org (Postfix) with ESMTP id 25D5A8FC08; Mon, 29 Oct 2012 22:40:29 +0000 (UTC) Received: from damnhippie.dyndns.org (daffy.symmetricom.us [206.168.13.218]) by duck.symmetricom.us (8.14.5/8.14.5) with ESMTP id q9TMeMcd034052; Mon, 29 Oct 2012 16:40:23 -0600 (MDT) (envelope-from freebsd@damnhippie.dyndns.org) 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 q9TMe0tI004819; Mon, 29 Oct 2012 16:40:00 -0600 (MDT) (envelope-from freebsd@damnhippie.dyndns.org) Subject: Re: BeagleBone questions (was Re: Towards an ARM system-building script) From: Ian Lepore To: Adrian Chadd In-Reply-To: References: <2E208EEB-B2CF-4AC6-B420-03FB4CF08041@freebsd.org> <1351522908.1123.356.camel@revolution.hippie.lan> Content-Type: text/plain; charset="us-ascii" Date: Mon, 29 Oct 2012 16:40:00 -0600 Message-ID: <1351550400.1123.364.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" , Alie Tan 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, 29 Oct 2012 22:40:30 -0000 On Mon, 2012-10-29 at 09:14 -0700, Adrian Chadd wrote: > On 29 October 2012 08:08, Alie Tan wrote: > > I have tried angstrom, ArchLinux and FreBSD. Only FreeBSD makes the > > chip/board quite hot. > > > > Anyone have same experiece? > > Are we not halting the CPU during idle ticks on ARM? > > Does Linux have some extra power management code for ARM that we don't? I'm not sure all arm SoCs we support have the ability to do this well (or at all). I know for sure the atmel chips can do it, and we don't use that abillity. We're pretty poor on power management in general in the atmel world. I mean poor, like we turn on all on-chip devices early in kernel init and leave them that way, even the ones we don't have drivers for. A comment in the code labels that a "temporary hack" but it's been that way for 5 years. More directly on the OP's point, I wonder if the combo of the system not fully booting and too much heat imply that something has gone into a tight loop somewhere. -- Ian From owner-freebsd-arm@FreeBSD.ORG Tue Oct 30 02:59:43 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3810DE77 for ; Tue, 30 Oct 2012 02:59:43 +0000 (UTC) (envelope-from alie@affle.com) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id CDE378FC0A for ; Tue, 30 Oct 2012 02:59:42 +0000 (UTC) Received: by mail-vc0-f182.google.com with SMTP id fw7so7586049vcb.13 for ; Mon, 29 Oct 2012 19:59:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :x-gm-message-state; bh=ildTMFz/JkKuB4Cl7i6h0ZPbdKOVqE3l2sKjJ8uZQe0=; b=XSgkEe/gDexUwXXXwwCgURAvHpMrM2JtG1MIA7xASbeqOfOGh+oJpuZ5KW9oBf6cGk mILHzbbDT+D8KtHzH8HAQsHZrNAbhQJaUAqCrw8+vAxdzTBqA6EdXUuyfnVdbKlGiBam bo7d333Fk5SqCKTbaIc8ND7J7jSVwiLkJOqFkGb6HdSCfHDs7ahtloyWHXU2t9zj8DP7 8rZ5dssZMt+iAmjnuxHQ6N4uQizo6Myd/rL6sJlbq3Quo46uRsUsEjshWYg+y733X0D0 X//a0HnWIQyHsxFOhoNVhOSPiAP4K7NBCoA0IiJdLU5mWI3eQA0Zc7/6kklVRmjjNdYr hDMw== MIME-Version: 1.0 Received: by 10.52.175.225 with SMTP id cd1mr41216215vdc.130.1351565975874; Mon, 29 Oct 2012 19:59:35 -0700 (PDT) Received: by 10.58.233.80 with HTTP; Mon, 29 Oct 2012 19:59:35 -0700 (PDT) Date: Tue, 30 Oct 2012 10:59:35 +0800 Message-ID: Subject: "[buildkernel] Error code 1" while building ARMV6 for RasPI (stage 3.2) From: Alie Tan To: freebsd-arm@freebsd.org X-Gm-Message-State: ALoCoQnq0LfQtkTYTKpq4mYnShtDLNXTrnHTWzSbH4l0E3J5pAfW+SzHe3YZ0DttYO36IKmz1CMT 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, 30 Oct 2012 02:59:43 -0000 Here is the build log: http://snakeorladder.com/simplebuild.log Regards, Alie T From owner-freebsd-arm@FreeBSD.ORG Tue Oct 30 08:02:29 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E9544F99 for ; Tue, 30 Oct 2012 08:02:29 +0000 (UTC) (envelope-from giovanni.trematerra@gmail.com) Received: from mail-qa0-f47.google.com (mail-qa0-f47.google.com [209.85.216.47]) by mx1.freebsd.org (Postfix) with ESMTP id 9C3E38FC17 for ; Tue, 30 Oct 2012 08:02:29 +0000 (UTC) Received: by mail-qa0-f47.google.com with SMTP id i29so2375928qaf.13 for ; Tue, 30 Oct 2012 01:02:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=5vSdZRZo3dWRtuJ3OeAMID7Jb5IrW2rb1DeCfue1srw=; b=Oo8KbQuzzLqiSQJq3yc1+qwaW3T3YAC0qpBoPC/9YHGGHzo927ZMQuidXYZgGEmNtm ulPnPuobbqnuEt6Stc1KR8szHLyIC40nzgeAR4ww3Fa6JVx/rk3dvO1vGqViKeVxL6Fz v0Y7YHT3TAb8QU2izUPczfToDyneEklc5S7zO2CZijDs1qnWGklfRU1a0nD1jWEgshh5 y+LBwr1MPjZEvM9TFLzDaDx14pk9BCAlsnI5+u8PRpVObuUoQXIFVgfm6oBozrLgpfU6 k8Ifi4A2FsV3HqlDLqxUnrmy3ZEcIMRMMFrWx07UtT8mG9d3gel8GzbpIqITX1lgeXHw Q7Tw== MIME-Version: 1.0 Received: by 10.229.106.139 with SMTP id x11mr4916139qco.35.1351584148862; Tue, 30 Oct 2012 01:02:28 -0700 (PDT) Sender: giovanni.trematerra@gmail.com Received: by 10.229.63.138 with HTTP; Tue, 30 Oct 2012 01:02:28 -0700 (PDT) Date: Tue, 30 Oct 2012 09:02:28 +0100 X-Google-Sender-Auth: 7u2o5Gx_5f0w451Af-zYNgRUPUU Message-ID: Subject: [PATCH] Fix a compiler warning building SMP kernels From: Giovanni Trematerra To: freebsd-arm@freebsd.org Content-Type: text/plain; charset=UTF-8 Cc: Tim Kientzle 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, 30 Oct 2012 08:02:30 -0000 Could someone please, review and commit the patch? This fix a warning when compile a PANDABOARD kernel with the SMP option enabled. Thank you -- Gianni Index: arm/ti/omap4/omap4_mp.c =================================================================== --- arm/ti/omap4/omap4_mp.c (revision 242212) +++ arm/ti/omap4/omap4_mp.c (working copy) @@ -75,7 +75,7 @@ platform_mp_start_ap(void) cpu_idcache_wbinv_all(); cpu_l2cache_wbinv_all(); ti_smc0(0x200, 0xfffffdff, MODIFY_AUX_CORE_0); - ti_smc0(pmap_kextract(mpentry), 0, WRITE_AUX_CORE_1); + ti_smc0(pmap_kextract((vm_offset_t) mpentry), 0, WRITE_AUX_CORE_1); armv7_sev(); bus_space_unmap(fdtbus_bs_tag, scu_addr, 0x1000); } From owner-freebsd-arm@FreeBSD.ORG Tue Oct 30 08:17:59 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 55838299 for ; Tue, 30 Oct 2012 08:17:59 +0000 (UTC) (envelope-from paradyse@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 273338FC0C for ; Tue, 30 Oct 2012 08:17:58 +0000 (UTC) Received: by mail-pb0-f54.google.com with SMTP id rp8so15283pbb.13 for ; Tue, 30 Oct 2012 01:17:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; bh=3tbEwOBQIcM8yXg5ik9gcfhPSVLJM+V+x9V7pExSXuE=; b=ArNzO+Au8s5oLl64vwNhsBF0rKEAYCPnGXWzXxmMdTAnZiQfLAfv1tkQM2FOUCkCEA QR4F5KzAPukyzs35mEd1SrIeq6bTWq5TtnnQG24P45MCPMSuvDKFM1qrMFvzx6WwAZc0 DsBWtgSK9HdIpVs73k8Z6XllKAG0fmABDaKhpjjZAuyDuCBQpYozGEIHZMfViKF4sBFS Uj+jtiuU+YgOibFmF1efBD12QnUfEqtWqZuof6vL/J8vouXiQf9h/afLU4rwKQcfWXKL kFbYHRKXY1qqdpzcoi59DlDxvVMRXx1fCyW7q10ZsGifR6juH4+BuNDQUiJk7YWBWc+M a8lQ== Received: by 10.66.79.168 with SMTP id k8mr90098184pax.12.1351585078797; Tue, 30 Oct 2012 01:17:58 -0700 (PDT) MIME-Version: 1.0 Sender: paradyse@gmail.com Received: by 10.68.253.8 with HTTP; Tue, 30 Oct 2012 01:17:38 -0700 (PDT) From: Kang Yin Su Date: Tue, 30 Oct 2012 16:17:38 +0800 X-Google-Sender-Auth: 0tm4uZl6DNjlh2dGWIDbUcW7fJk Message-ID: Subject: Raspberry PI 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: Tue, 30 Oct 2012 08:17:59 -0000 Hi All, What's the current status of Raspberry PI? As far as I know sdhc/mmc is not working in freebsd-10 HEAD. Thanks, Yin From owner-freebsd-arm@FreeBSD.ORG Tue Oct 30 09:23:37 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0B3CAC5 for ; Tue, 30 Oct 2012 09:23:37 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.78]) by mx1.freebsd.org (Postfix) with ESMTP id B694D8FC0C for ; Tue, 30 Oct 2012 09:23:36 +0000 (UTC) Received: from smtp.greenhost.nl ([213.108.104.138]) by smarthost1.greenhost.nl with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1TT82i-0003fM-Hb; Tue, 30 Oct 2012 10:23:28 +0100 Received: from [81.21.138.17] (helo=ronaldradial.versatec.local) by smtp.greenhost.nl with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1TT82h-0000dn-9Y; Tue, 30 Oct 2012 10:23:27 +0100 Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes To: freebsd-arm@freebsd.org, "Kang Yin Su" Subject: Re: Raspberry PI References: Date: Tue, 30 Oct 2012 10:23:26 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Ronald Klop" Message-ID: In-Reply-To: User-Agent: Opera Mail/12.02 (Win32) X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: -- X-Spam-Score: -2.6 X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=disabled version=3.2.5 X-Scan-Signature: 645486d610a00fe5591aab0f6aa1616b 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, 30 Oct 2012 09:23:37 -0000 On Tue, 30 Oct 2012 09:17:38 +0100, Kang Yin Su wrote: > Hi All, > > What's the current status of Raspberry PI? As far as I know sdhc/mmc is > not > working in freebsd-10 HEAD. > > Thanks, > Yin From twitter this morning: FreeBSD Project @freebsd BLOG: FreeBSD/Pi update: So, here is status update on the progress: - freebsd-pi github repo has been merged to ... http://bit.ly/XPlizm From owner-freebsd-arm@FreeBSD.ORG Tue Oct 30 10:06:08 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8388F8C7 for ; Tue, 30 Oct 2012 10:06:08 +0000 (UTC) (envelope-from paradyse@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 53A528FC17 for ; Tue, 30 Oct 2012 10:06:08 +0000 (UTC) Received: by mail-pb0-f54.google.com with SMTP id rp8so82895pbb.13 for ; Tue, 30 Oct 2012 03:06:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=DYt86dfF4nYHgBlMB49865lNYbGckczA5UouJHWEVuc=; b=DCx1XLERbt0b2GuC6oKxIy4QAknnrfxZ8DHfrNB4erHHmxTit6f7uPzZtwFuS3dAXK aCyXeROBB0hQtnPszcSt/dgrWm8td9VLqz5+bXYZlZVjitgUDnwA0Rg0X25E/BiSlHb1 QxbFxp6n9Q3ofp0OoIx+RgHeg9RlS0xVJN1+1pM4WVaPyc7JYJe63y9lfpNBwwpZkxm1 f6BLz1FIS45118yTb5MitpvsBIUuARfxspj4q9ocUdCaFQVfOdNTi5IkJviC/uJ+lfJ+ zIiCq4jfiFc252JFa8TXy+QWdVkx9RkrJop9olnc3VH1rZiJ3aTaxxBDPknnBisYHQRh i+tA== Received: by 10.69.1.73 with SMTP id be9mr20225325pbd.116.1351591567953; Tue, 30 Oct 2012 03:06:07 -0700 (PDT) MIME-Version: 1.0 Sender: paradyse@gmail.com Received: by 10.68.253.8 with HTTP; Tue, 30 Oct 2012 03:05:47 -0700 (PDT) In-Reply-To: References: From: Kang Yin Su Date: Tue, 30 Oct 2012 18:05:47 +0800 X-Google-Sender-Auth: t9Nz6fn-kTyQcORaEfM_mrE85eg Message-ID: Subject: Re: Raspberry PI To: Ronald Klop Content-Type: text/plain; charset=ISO-8859-1 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: Tue, 30 Oct 2012 10:06:08 -0000 Cool!! So next step is VPU stuff.... On Tue, Oct 30, 2012 at 5:23 PM, Ronald Klop wrote: > On Tue, 30 Oct 2012 09:17:38 +0100, Kang Yin Su wrote: > >> Hi All, >> >> What's the current status of Raspberry PI? As far as I know sdhc/mmc is >> not >> working in freebsd-10 HEAD. >> >> Thanks, >> Yin > > > From twitter this morning: > > FreeBSD Project @freebsd > > BLOG: FreeBSD/Pi update: So, here is status update on the progress: - > freebsd-pi github repo has been merged to ... http://bit.ly/XPlizm From owner-freebsd-arm@FreeBSD.ORG Tue Oct 30 10:34:33 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6AF5A3C8 for ; Tue, 30 Oct 2012 10:34:33 +0000 (UTC) (envelope-from alie@affle.com) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 160D38FC1A for ; Tue, 30 Oct 2012 10:34:32 +0000 (UTC) Received: by mail-vc0-f182.google.com with SMTP id fw7so137485vcb.13 for ; Tue, 30 Oct 2012 03:34:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :x-gm-message-state; bh=62o8T57BvlHqj1XJSfWT9Y6CUExTsrs4dbXX5sR929o=; b=l4NJ1NXTAn/nrjKz9NviRe6CeHgepCwZvuiBX2ZcP2NscsEVuVsa+u7XGrKiGAQRY5 9e5z0RIKSp0k/i/6RT1Pe2B/APxaVSww8bNJ5lXNeniQt/AfoMLOGvzoGUQBnCPT4GAV YZF+fzURpPKpZrRSjhwBYuXt1tzXUSIR04XDYqg0Tze2kCHK8cqdYjRqC9dwjLZYMIOY g0e0Vi6vhQqSHiVDJw2jBXNrITKnEzYIbaDzNbUyY0hv9B87UpU8Fb1sDSbQo0gEkcXd XQ1VsDWBkMz3+rE1CD7ZSj+2U/RPK5fdA2rrvMS+nfenbP5RELKyrZPWD5VcUgRLe314 pRog== MIME-Version: 1.0 Received: by 10.221.1.81 with SMTP id np17mr12652305vcb.66.1351593272325; Tue, 30 Oct 2012 03:34:32 -0700 (PDT) Received: by 10.58.233.80 with HTTP; Tue, 30 Oct 2012 03:34:32 -0700 (PDT) Date: Tue, 30 Oct 2012 18:34:32 +0800 Message-ID: Subject: RE: announcing the availability of packages for the Arm architecture From: Alie Tan To: freebsd-arm@freebsd.org X-Gm-Message-State: ALoCoQmyG1EQ7XqC95xkTgGhDxukPpIor6DTim/9xHYbxB8DvKdxRGwwT+uGB3COV6X+SNN26IeF 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, 30 Oct 2012 10:34:33 -0000 Hi, What is your consideration to build FreeBSD-9-ARM packages only? ( http://wiki.freebsd.org/PackagesOnArm) Seems most of us use FreeBSD10-CURRENT to test FreeBSD-ARM Regards, Alie T From owner-freebsd-arm@FreeBSD.ORG Tue Oct 30 10:41:26 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 777A458F for ; Tue, 30 Oct 2012 10:41:26 +0000 (UTC) (envelope-from alie@affle.com) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 205C88FC18 for ; Tue, 30 Oct 2012 10:41:25 +0000 (UTC) Received: by mail-vc0-f182.google.com with SMTP id fw7so144963vcb.13 for ; Tue, 30 Oct 2012 03:41:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=v2ebHWx6Rql6bQZ4I21neb3ySEUosyesOTxeN0xFDm4=; b=cGBREY4T7BkBOo1fsZq126E8ODQNwyPmRXQMV3dFK31bP9mEE5FI889XVx53PzZbfM h7nFEUGCIg+5LT4NbSor8qVC40qtInEnrrdqXGaHxhZ5CerNBheIbNUw0u08/3KkPLqY bKuI972e5ozDs/TOgFlsbd2Wg9YHaVVsICt4EQoDojowMzzdKkSsGrDN/SbfCFE2LsDW 4GHdAqw5E+yT6h9dXmQkB+/vatzJxehREt89NLsui36pCl9uURHcu2trXVsWSIe8dg+G jwRuU2VDv/wpqLwWxMgIfLh429+xSj3HcirwmM6Vq7uMNyufl/F846WcSgSyGXESoF2z 1o6A== MIME-Version: 1.0 Received: by 10.58.155.99 with SMTP id vv3mr9933938veb.50.1351593685154; Tue, 30 Oct 2012 03:41:25 -0700 (PDT) Received: by 10.58.233.80 with HTTP; Tue, 30 Oct 2012 03:41:25 -0700 (PDT) In-Reply-To: References: Date: Tue, 30 Oct 2012 18:41:25 +0800 Message-ID: Subject: Re: "[buildkernel] Error code 1" while building ARMV6 for RasPI (stage 3.2) From: Alie Tan To: freebsd-arm@freebsd.org X-Gm-Message-State: ALoCoQmzJeg2Ae4+1/YVJE7JyytbJjaJTli6xPAR/qjpLMB/TMu90fvgYSAlWtdARxpIEDF+eL1m 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, 30 Oct 2012 10:41:26 -0000 Removing makeoptions DEBUG=-g solves my issue. On Tue, Oct 30, 2012 at 10:59 AM, Alie Tan wrote: > Here is the build log: > http://snakeorladder.com/simplebuild.log > > Regards, > Alie T > > > From owner-freebsd-arm@FreeBSD.ORG Tue Oct 30 10:42:37 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E16A2642 for ; Tue, 30 Oct 2012 10:42:37 +0000 (UTC) (envelope-from alie@affle.com) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 817218FC08 for ; Tue, 30 Oct 2012 10:42:37 +0000 (UTC) Received: by mail-vc0-f182.google.com with SMTP id fw7so146264vcb.13 for ; Tue, 30 Oct 2012 03:42:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=VotNVVIU9ejs32f4tw26NA6peBv+/RF5zWWTgipCJGw=; b=KnMcz/LOoZg/+3ROsiCMz91fXp0N5tc2wazkcQ1YXfioF+SG9nvaMGZa+N4BqxubHV +IZRFH9raPutjx5/Hdkzr6PfDGOneC3PoDyLSzjIW/UXIcY+yGquytUcyrN8R7677z52 qfkOQmbDcOzfKgC54x9VLrSbRGNCOi5Qv61mSh5eYnlHkj4+uxRJuBNLEKQiFgTmSMKV 9loN8daKjQwznzhBs+zyzPwd5RYtomXEmgvu1YXZujs9V5KAyzqEtjHXbAhdyp5CmoK+ ALEfDeMBBBqfxUpbSb3D0gl64BLyqpR5Ouer6ojjAnp/Rl4P8NIjCpyW9n8Gdyh5Th/A FdlQ== MIME-Version: 1.0 Received: by 10.52.97.200 with SMTP id ec8mr41773773vdb.89.1351593756963; Tue, 30 Oct 2012 03:42:36 -0700 (PDT) Received: by 10.58.233.80 with HTTP; Tue, 30 Oct 2012 03:42:36 -0700 (PDT) In-Reply-To: <1351550400.1123.364.camel@revolution.hippie.lan> References: <2E208EEB-B2CF-4AC6-B420-03FB4CF08041@freebsd.org> <1351522908.1123.356.camel@revolution.hippie.lan> <1351550400.1123.364.camel@revolution.hippie.lan> Date: Tue, 30 Oct 2012 18:42:36 +0800 Message-ID: Subject: Re: BeagleBone questions (was Re: Towards an ARM system-building script) From: Alie Tan To: Ian Lepore X-Gm-Message-State: ALoCoQnJ6uDO3GTev8yekTRzSqhB5UhL/lRYhv70amoIUkzg2zkPx9AKhTkYwn4Adl0rGvzw1zGj 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: Tue, 30 Oct 2012 10:42:38 -0000 On Tue, Oct 30, 2012 at 6:40 AM, Ian Lepore wrote: > On Mon, 2012-10-29 at 09:14 -0700, Adrian Chadd wrote: > > On 29 October 2012 08:08, Alie Tan wrote: > > > I have tried angstrom, ArchLinux and FreBSD. Only FreeBSD makes the > > > chip/board quite hot. > > > > > > Anyone have same experiece? > > > > Are we not halting the CPU during idle ticks on ARM? > > > > Does Linux have some extra power management code for ARM that we don't? > > I'm not sure all arm SoCs we support have the ability to do this well > (or at all). I know for sure the atmel chips can do it, and we don't > use that abillity. We're pretty poor on power management in general in > the atmel world. I mean poor, like we turn on all on-chip devices early > in kernel init and leave them that way, even the ones we don't have > drivers for. A comment in the code labels that a "temporary hack" but > it's been that way for 5 years. > > More directly on the OP's point, I wonder if the combo of the system not > fully booting and too much heat imply that something has gone into a > tight loop somewhere. > Is there any way to debug/detect this issue? I cant see any heavy processes from 'top' > > -- Ian > > > From owner-freebsd-arm@FreeBSD.ORG Tue Oct 30 12:55:45 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0FA60ED0 for ; Tue, 30 Oct 2012 12:55:45 +0000 (UTC) (envelope-from br@mx.bsdpad.com) Received: from mx.bsdpad.com (mx.bsdpad.com [50.22.178.118]) by mx1.freebsd.org (Postfix) with ESMTP id E2A018FC08 for ; Tue, 30 Oct 2012 12:55:44 +0000 (UTC) Received: from mx.bsdpad.com ([50.22.178.118]) by mx.bsdpad.com with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80 (FreeBSD)) (envelope-from ) id 1TTAzf-000NiM-J5 for freebsd-arm@freebsd.org; Tue, 30 Oct 2012 12:32:31 +0000 Received: (from br@localhost) by mx.bsdpad.com (8.14.5/8.14.5/Submit) id q9UCWV5q091161 for freebsd-arm@freebsd.org; Tue, 30 Oct 2012 16:32:31 +0400 (MSK) (envelope-from br) Date: Tue, 30 Oct 2012 16:32:31 +0400 From: Ruslan Bukin To: freebsd-arm@freebsd.org Subject: exynos4412 hangs on enabling MMU Message-ID: <20121030123231.GA91006@jail.io> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) 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, 30 Oct 2012 12:55:45 -0000 hello! exynos hangs on mcr cmd in this context: /* Enable MMU */ [..] orr r0, r0, #(CPU_CONTROL_MMU_ENABLE | CPU_CONTROL_DC_ENABLE) mcr p15, 0, r0, c1, c0, 0 [..] without CPU_CONTROL_MMU_ENABLE flag, mcr command works, but board hangs again on line: str r3, [r1], #0x0004 /* get zero init data */ any suggestions? -Ruslan From owner-freebsd-arm@FreeBSD.ORG Tue Oct 30 14:19:12 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3802EDBB for ; Tue, 30 Oct 2012 14:19:12 +0000 (UTC) (envelope-from freebsd@damnhippie.dyndns.org) Received: from duck.symmetricom.us (duck.symmetricom.us [206.168.13.214]) by mx1.freebsd.org (Postfix) with ESMTP id B1E8F8FC0C for ; Tue, 30 Oct 2012 14:19:11 +0000 (UTC) Received: from damnhippie.dyndns.org (daffy.symmetricom.us [206.168.13.218]) by duck.symmetricom.us (8.14.5/8.14.5) with ESMTP id q9UEJAGt062386 for ; Tue, 30 Oct 2012 08:19:10 -0600 (MDT) (envelope-from freebsd@damnhippie.dyndns.org) 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 q9UEIlCf005565; Tue, 30 Oct 2012 08:18:47 -0600 (MDT) (envelope-from freebsd@damnhippie.dyndns.org) Subject: RE: announcing the availability of packages for the Arm architecture From: Ian Lepore To: Alie Tan In-Reply-To: References: Content-Type: text/plain; charset="us-ascii" Date: Tue, 30 Oct 2012 08:18:47 -0600 Message-ID: <1351606727.1120.17.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: Tue, 30 Oct 2012 14:19:12 -0000 On Tue, 2012-10-30 at 18:34 +0800, Alie Tan wrote: > Hi, > > What is your consideration to build FreeBSD-9-ARM packages only? ( > http://wiki.freebsd.org/PackagesOnArm) > > Seems most of us use FreeBSD10-CURRENT to test FreeBSD-ARM > > Regards, > Alie T I use -current because that's what it takes to get anyone in the freebsd community to pay attention to you. If you show up with "I have this problem _______ it's happening on freebsd 8.3," the only answer you'll get is "Does it happen with -current?" All in all, I have the impression that not many people "use" freebsd on arm at all. Lots of people play with it briefly, then wander away because even if they do some work and try to contribute it back it never gets committed, I think because there aren't enough committers with enough time, the right hardware to test on, and so forth. -- Ian From owner-freebsd-arm@FreeBSD.ORG Tue Oct 30 14:23:03 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D9D6DECD; Tue, 30 Oct 2012 14:23:03 +0000 (UTC) (envelope-from freebsd@damnhippie.dyndns.org) Received: from duck.symmetricom.us (duck.symmetricom.us [206.168.13.214]) by mx1.freebsd.org (Postfix) with ESMTP id 7C2418FC14; Tue, 30 Oct 2012 14:23:03 +0000 (UTC) Received: from damnhippie.dyndns.org (daffy.symmetricom.us [206.168.13.218]) by duck.symmetricom.us (8.14.5/8.14.5) with ESMTP id q9UEN2Pm062530; Tue, 30 Oct 2012 08:23:02 -0600 (MDT) (envelope-from freebsd@damnhippie.dyndns.org) 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 q9UEMeZR005574; Tue, 30 Oct 2012 08:22:40 -0600 (MDT) (envelope-from freebsd@damnhippie.dyndns.org) Subject: Re: BeagleBone questions (was Re: Towards an ARM system-building script) From: Ian Lepore To: Alie Tan In-Reply-To: References: <2E208EEB-B2CF-4AC6-B420-03FB4CF08041@freebsd.org> <1351522908.1123.356.camel@revolution.hippie.lan> <1351550400.1123.364.camel@revolution.hippie.lan> Content-Type: text/plain; charset="us-ascii" Date: Tue, 30 Oct 2012 08:22:40 -0600 Message-ID: <1351606960.1120.21.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: Tue, 30 Oct 2012 14:23:04 -0000 On Tue, 2012-10-30 at 18:42 +0800, Alie Tan wrote: > On Tue, Oct 30, 2012 at 6:40 AM, Ian Lepore > wrote: > > > On Mon, 2012-10-29 at 09:14 -0700, Adrian Chadd wrote: > > > On 29 October 2012 08:08, Alie Tan wrote: > > > > I have tried angstrom, ArchLinux and FreBSD. Only FreeBSD makes the > > > > chip/board quite hot. > > > > > > > > Anyone have same experiece? > > > > > > Are we not halting the CPU during idle ticks on ARM? > > > > > > Does Linux have some extra power management code for ARM that we don't? > > > > I'm not sure all arm SoCs we support have the ability to do this well > > (or at all). I know for sure the atmel chips can do it, and we don't > > use that abillity. We're pretty poor on power management in general in > > the atmel world. I mean poor, like we turn on all on-chip devices early > > in kernel init and leave them that way, even the ones we don't have > > drivers for. A comment in the code labels that a "temporary hack" but > > it's been that way for 5 years. > > > > More directly on the OP's point, I wonder if the combo of the system not > > fully booting and too much heat imply that something has gone into a > > tight loop somewhere. > > > Is there any way to debug/detect this issue? > I cant see any heavy processes from 'top' > Well if the system is running well enough to use top, and it isn't showing any process or kernel thread using a ton of cpu, then I think that probably invalidates my theory. One of my arm eval boards has an LCD interface that I don't use, and a note with the system mentioned that there's a part on the board that will heat up if you don't connect a display; they recommend unsoldering it. The part is some sort of choke or coil (it's silkscreened as "L11"). On my board it gets warm, not really hot, so I haven't bothered to remove it. -- Ian From owner-freebsd-arm@FreeBSD.ORG Tue Oct 30 14:37:07 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4E9B0599 for ; Tue, 30 Oct 2012 14:37:07 +0000 (UTC) (envelope-from freebsd@damnhippie.dyndns.org) Received: from duck.symmetricom.us (duck.symmetricom.us [206.168.13.214]) by mx1.freebsd.org (Postfix) with ESMTP id C39C08FC15 for ; Tue, 30 Oct 2012 14:37:06 +0000 (UTC) Received: from damnhippie.dyndns.org (daffy.symmetricom.us [206.168.13.218]) by duck.symmetricom.us (8.14.5/8.14.5) with ESMTP id q9UEb5fY062929 for ; Tue, 30 Oct 2012 08:37:05 -0600 (MDT) (envelope-from freebsd@damnhippie.dyndns.org) 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 q9UEahJu005581; Tue, 30 Oct 2012 08:36:43 -0600 (MDT) (envelope-from freebsd@damnhippie.dyndns.org) Subject: Re: exynos4412 hangs on enabling MMU From: Ian Lepore To: Ruslan Bukin In-Reply-To: <20121030123231.GA91006@jail.io> References: <20121030123231.GA91006@jail.io> Content-Type: text/plain; charset="us-ascii" Date: Tue, 30 Oct 2012 08:36:43 -0600 Message-ID: <1351607803.1120.27.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: Tue, 30 Oct 2012 14:37:07 -0000 On Tue, 2012-10-30 at 16:32 +0400, Ruslan Bukin wrote: > hello! > > exynos hangs on mcr cmd in this context: > > /* Enable MMU */ > [..] > orr r0, r0, #(CPU_CONTROL_MMU_ENABLE | CPU_CONTROL_DC_ENABLE) > mcr p15, 0, r0, c1, c0, 0 > [..] > > without CPU_CONTROL_MMU_ENABLE flag, mcr command works, > but board hangs again on line: > str r3, [r1], #0x0004 /* get zero init data */ > > any suggestions? > > -Ruslan I don't have a direct answer to your question, but there is something related that I've always wondered about locore.S... It starts by assuming the bootloader turned on the data cache, so it disables it, then it sets up TTB and TLB and other MMU-related stuff, then it turns back on the cache. Shouldn't it have flushed the cache in there somewhere before turning it back on? The part I don't know is whether the cache flush happens implicitly as a side effect of some of the other cp15 commands for setting up the MMU. Also, I have no idea whether this is related or not, but on armv4 platforms on -current, the kernel init locks up somewhere in initarm() about 20% of the time. It locks up at different points, sometimes it only makes it few lines into initarm(), sometimes it gets almost to the end before locking up. The variability makes me think it's somehow related to caching or the MMU or something like that. It's a problem that never happens on freebsd 8, but I haven't had time yet to start bisecting the changes to see where it quit working. -- Ian From owner-freebsd-arm@FreeBSD.ORG Tue Oct 30 15:59:03 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ADEB97F3 for ; Tue, 30 Oct 2012 15:59:03 +0000 (UTC) (envelope-from kientzle@freebsd.org) 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 83A518FC0A for ; Tue, 30 Oct 2012 15:59:02 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id q9UFwpKY067950; Tue, 30 Oct 2012 15:58:51 GMT (envelope-from kientzle@freebsd.org) Received: from [192.168.2.143] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id tbshsgit38m2kzhmgiy8piu2bn; Tue, 30 Oct 2012 15:58:51 +0000 (UTC) (envelope-from kientzle@freebsd.org) Subject: Re: announcing the availability of packages for the Arm architecture Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=us-ascii From: Tim Kientzle In-Reply-To: <1351606727.1120.17.camel@revolution.hippie.lan> Date: Tue, 30 Oct 2012 08:58:50 -0700 Content-Transfer-Encoding: 7bit Message-Id: <8C022087-3BAB-424D-AD8D-C755EB6D68F9@freebsd.org> References: <1351606727.1120.17.camel@revolution.hippie.lan> To: Ian Lepore X-Mailer: Apple Mail (2.1283) Cc: freebsd-arm@freebsd.org, Alie Tan 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, 30 Oct 2012 15:59:03 -0000 On Oct 30, 2012, at 7:18 AM, Ian Lepore wrote: > > All in all, I have the impression that not many people "use" freebsd on > arm at all. The new inexpensive platforms such as RaspberryPi, BeagleBone, PandaBoard seem to be changing that. How do we get more people excited about this? I've considered writing up some of the specific tasks I see[0] and posting them as Junior Kernel Hacker projects on FreeBSD-hackers to get the attention of a slightly larger audience. Tim [0] For example: framebuffer/syscons on RPi, convert BeagleBone MMCSD driver to use DMA, processor idle halting. From owner-freebsd-arm@FreeBSD.ORG Tue Oct 30 16:03:11 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 91F8E89B for ; Tue, 30 Oct 2012 16:03:11 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-da0-f54.google.com (mail-da0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 56AB38FC18 for ; Tue, 30 Oct 2012 16:03:11 +0000 (UTC) Received: by mail-da0-f54.google.com with SMTP id z9so194677dad.13 for ; Tue, 30 Oct 2012 09:03:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=166rA2vyDZDRp8jJCM7POYbj0J5ILSFszTZgw5tTH6g=; b=bpFTe4hYHKs9e+1lzXOJX0jTyIBmz+qgbHBZ7i2HYYYcHaBucDJuJojHqW2F/txjYh pFC+KnStvUr5m04KcyGenxHIUFqcU0R41BfxqdDwgpLyA1/jnyD81R7Sca0HPTwRJkn9 zJtZ5WKa7KZ32He7sopfpWXfRuD/ac9L9n7JYvJtwWfsAYsquHdsT5awKUza7KLKLL6s QbxV/BlYqsNriu58CqIH0XX5mke/5ANqOYgEGQD3RDBMpDFeWvz3WUXHPV6nahCY6PJ9 c2qfgWzHHxCnU/bXY6qrGi295YuOlsOzEtmvPCqbT0c9Cuq3Ah9mYi1E+AkoN994KXfv ASqw== MIME-Version: 1.0 Received: by 10.68.223.37 with SMTP id qr5mr104064865pbc.101.1351612990762; Tue, 30 Oct 2012 09:03:10 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.146.233 with HTTP; Tue, 30 Oct 2012 09:03:10 -0700 (PDT) In-Reply-To: References: <2E208EEB-B2CF-4AC6-B420-03FB4CF08041@freebsd.org> <1351522908.1123.356.camel@revolution.hippie.lan> <1351550400.1123.364.camel@revolution.hippie.lan> Date: Tue, 30 Oct 2012 09:03:10 -0700 X-Google-Sender-Auth: RyxclkbLDEQg-VWjuX5xZAW3HNM Message-ID: Subject: Re: BeagleBone questions (was Re: Towards an ARM system-building script) From: Adrian Chadd To: Alie Tan Content-Type: text/plain; charset=ISO-8859-1 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: Tue, 30 Oct 2012 16:03:11 -0000 On 30 October 2012 03:42, Alie Tan wrote: >> More directly on the OP's point, I wonder if the combo of the system not >> fully booting and too much heat imply that something has gone into a >> tight loop somewhere. > Is there any way to debug/detect this issue? > I cant see any heavy processes from 'top' Well, the real way would be to get PMC up and then see how many cycles are spent in the halt state, versus in the "spin" state inside the idle loop. I just looked at the idle loop and it calls cpu_sleep(0); - the implementations of that _seem_ to enter a CPU wait state, rather than just spinning and chewing all the CPU cycles available. Which CPU type is the RPI? Is it using the armv7 machdep code? Adrian From owner-freebsd-arm@FreeBSD.ORG Tue Oct 30 16:08:34 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E0FB0B89 for ; Tue, 30 Oct 2012 16:08:34 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 970698FC16 for ; Tue, 30 Oct 2012 16:08:34 +0000 (UTC) Received: by mail-ob0-f182.google.com with SMTP id wc20so554055obb.13 for ; Tue, 30 Oct 2012 09:08:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=0BQJbbexYX4P0itnvV1FpEs87rrnD++HCkpdQfm56mA=; b=HPstSvrI+GzRedBdp/a7kEJS2FDvTo11D4mOvVHmdVbZ2Zt7m2N0P9YxxmPPZnY1Qz M8tHpK0p3Z2IEsVVGYMNBjjRUhE9Ldee537RsXPzpyOupEWW3RwhU46v3ObNi6WP++zD gH53YnAmSmbun7uGzD+h83spiVnjSXn3Vv8ZGBlcjISrE4tsqK7RIg4pNquLNmnQlOoQ WIzfArCGDmuQ2X9xtT9e/YCGwEFO/Vno1ORBQEgN9d/4sZVAJx7QGvGsAnb0nd69uEWy 1CwM0u9J8FKrOTZHfm5p7K9jumE9580tIW8zgEVYlT5a98wDHAEpS5Yo0JAh7aIN5TMp oWaQ== Received: by 10.182.1.72 with SMTP id 8mr27752208obk.61.1351613314157; Tue, 30 Oct 2012 09:08:34 -0700 (PDT) Received: from [10.30.101.53] ([209.117.142.2]) by mx.google.com with ESMTPS id n7sm913553obd.16.2012.10.30.09.08.24 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 30 Oct 2012 09:08:32 -0700 (PDT) Sender: Warner Losh Subject: Re: exynos4412 hangs on enabling MMU Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: <1351607803.1120.27.camel@revolution.hippie.lan> Date: Tue, 30 Oct 2012 10:08:21 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <7FA4A9AA-F217-4425-9A21-E0967237540C@bsdimp.com> References: <20121030123231.GA91006@jail.io> <1351607803.1120.27.camel@revolution.hippie.lan> To: Ian Lepore X-Mailer: Apple Mail (2.1084) X-Gm-Message-State: ALoCoQla2tc19Y5S1U3RsmI0fCJW4hQYRYlXfJbSiSSkGzkJerGElfrgdDowFNjtLLw+7pUhaDP1 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: Tue, 30 Oct 2012 16:08:34 -0000 On Oct 30, 2012, at 8:36 AM, Ian Lepore wrote: > On Tue, 2012-10-30 at 16:32 +0400, Ruslan Bukin wrote: >> hello! >>=20 >> exynos hangs on mcr cmd in this context: >>=20 >> /* Enable MMU */ >> [..] >> orr r0, r0, #(CPU_CONTROL_MMU_ENABLE | CPU_CONTROL_DC_ENABLE) >> mcr p15, 0, r0, c1, c0, 0 >> [..] >>=20 >> without CPU_CONTROL_MMU_ENABLE flag, mcr command works, >> but board hangs again on line: >> str r3, [r1], #0x0004 /* get zero init data */ >>=20 >> any suggestions? >>=20 >> -Ruslan >=20 > I don't have a direct answer to your question, but there is something > related that I've always wondered about locore.S... It starts by > assuming the bootloader turned on the data cache, so it disables it, > then it sets up TTB and TLB and other MMU-related stuff, then it turns > back on the cache. =20 >=20 > Shouldn't it have flushed the cache in there somewhere before turning = it > back on? =20 >=20 > The part I don't know is whether the cache flush happens implicitly as = a > side effect of some of the other cp15 commands for setting up the MMU. >=20 > Also, I have no idea whether this is related or not, but on armv4 > platforms on -current, the kernel init locks up somewhere in initarm() > about 20% of the time. It locks up at different points, sometimes it > only makes it few lines into initarm(), sometimes it gets almost to = the > end before locking up. The variability makes me think it's somehow > related to caching or the MMU or something like that. It's a problem > that never happens on freebsd 8, but I haven't had time yet to start > bisecting the changes to see where it quit working. I'd be interested in tracking that down... I've been booting lots of = armv5 boards lately and haven't seen this hang with current. Warner= From owner-freebsd-arm@FreeBSD.ORG Tue Oct 30 16:10:40 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2D4C8CF2 for ; Tue, 30 Oct 2012 16:10:40 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id D60148FC0C for ; Tue, 30 Oct 2012 16:10:39 +0000 (UTC) Received: by mail-ob0-f182.google.com with SMTP id wc20so557234obb.13 for ; Tue, 30 Oct 2012 09:10:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=hfsJS/F1PPBy9rqVnM8Ni4IVgo59D4o/KR7cpyIMVL0=; b=mynJ7xDVjLMg5jwTEAyJ5+//brhtyybYHF3E/YoOrYSEAEl/H5ogMKssOSzfHxKJS6 F/TlbhXz1zbJ0rRyhcYBkOv0OF+lXhncqpdRaJJlmmCEQTBRNlAwb1bS+nsVbsP5VX3z /6qk2ShaOFhDIsuUnWBwJXC6K0G21BAMSdZwtMkzOZF+tcpFIvkwRsrKIwJyufzSRsA2 qEaUyNCxqMwVzclacpfhmIVp3EKNjNN+V1BODt1keRiAJ2E1HLcDeSZz+IZOgjp4L4Uw h1Wb5qqmo/WNBhZXhgG8tyQwPyetfgvm4Wm/JRWIB8Vxp0w5lwH59bAgke+pYlgLnoG1 +vJA== Received: by 10.182.0.1 with SMTP id 1mr27855145oba.18.1351613439139; Tue, 30 Oct 2012 09:10:39 -0700 (PDT) Received: from [10.30.101.53] ([209.117.142.2]) by mx.google.com with ESMTPS id yn8sm924694obb.12.2012.10.30.09.10.35 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 30 Oct 2012 09:10:36 -0700 (PDT) Sender: Warner Losh Subject: Re: announcing the availability of packages for the Arm architecture Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: <8C022087-3BAB-424D-AD8D-C755EB6D68F9@freebsd.org> Date: Tue, 30 Oct 2012 10:10:32 -0600 Content-Transfer-Encoding: 7bit Message-Id: <63A9EA2F-ABF9-4FE6-B5A2-22757441C3AC@bsdimp.com> References: <1351606727.1120.17.camel@revolution.hippie.lan> <8C022087-3BAB-424D-AD8D-C755EB6D68F9@freebsd.org> To: Tim Kientzle X-Mailer: Apple Mail (2.1084) X-Gm-Message-State: ALoCoQmS9q76br9X4gU2k9OeRr3xQqE2vcAFU7j5GQKj5g1Y7JPiHUBXe6OW76B+KKv6uzdbrreh Cc: freebsd-arm@freebsd.org, Alie Tan 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, 30 Oct 2012 16:10:40 -0000 On Oct 30, 2012, at 9:58 AM, Tim Kientzle wrote: > > On Oct 30, 2012, at 7:18 AM, Ian Lepore wrote: > >> >> All in all, I have the impression that not many people "use" freebsd on >> arm at all. > > The new inexpensive platforms such as RaspberryPi, > BeagleBone, PandaBoard seem to be changing that. > > How do we get more people excited about this? > > I've considered writing up some of the specific tasks > I see[0] and posting them as Junior Kernel Hacker > projects on FreeBSD-hackers to get the attention > of a slightly larger audience. > > Tim > > [0] For example: framebuffer/syscons on RPi, > convert BeagleBone MMCSD driver to use DMA, > processor idle halting. and power management in general... Warner From owner-freebsd-arm@FreeBSD.ORG Tue Oct 30 16:20:27 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E4EB1FF7 for ; Tue, 30 Oct 2012 16:20:27 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id AB61B8FC12 for ; Tue, 30 Oct 2012 16:20:27 +0000 (UTC) Received: by mail-pb0-f54.google.com with SMTP id rp8so325551pbb.13 for ; Tue, 30 Oct 2012 09:20:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=Uwz4EgUYtYB0wF+Yybn6JqkrC5blAMjKmgETsUXB4BE=; b=iqWTw/jgitd9gHsjKr7TZ7KwMh79l99LJZpyeI5b6SZBl+w1jKLeHtFnKPHyIwAApf z5r2osvm/RgguehbfSnsiTLk+Q7bOVVWPrLz1/KwPlgehoAlBT8FOieq7SIt2m8xlglI zClx4kruvldSkqEJDIlFYTq6++Ri2HxzIc1Oc6VttrycqDJQj+Mn3szeXLtFcfsjbPOP h0ksrWfDj+ykaJCMv0zMFzDZJvwiRJW/7weMPKxSqwoIUCsuDCaFqkWRzqnZ63RspPRt 6WftG1tSUyOsQwccA25soOOMs/jDpnrTFVGH53fpASQD9iZ27Hj8uvdXoAd1n9MsliYe 0ZfQ== MIME-Version: 1.0 Received: by 10.68.228.130 with SMTP id si2mr85659508pbc.126.1351614027189; Tue, 30 Oct 2012 09:20:27 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.146.233 with HTTP; Tue, 30 Oct 2012 09:20:27 -0700 (PDT) In-Reply-To: References: <2E208EEB-B2CF-4AC6-B420-03FB4CF08041@freebsd.org> <1351522908.1123.356.camel@revolution.hippie.lan> <1351550400.1123.364.camel@revolution.hippie.lan> Date: Tue, 30 Oct 2012 09:20:27 -0700 X-Google-Sender-Auth: vZzFiDEI-Jyj8OUnb6qVLJJNYZ4 Message-ID: Subject: Re: BeagleBone questions (was Re: Towards an ARM system-building script) From: Adrian Chadd To: Alie Tan Content-Type: text/plain; charset=ISO-8859-1 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: Tue, 30 Oct 2012 16:20:28 -0000 .. ah. armv5 has no sleep "halt" function, so it's just spinning. Chances are that's a good candidate for why things are running too warm. adrian From owner-freebsd-arm@FreeBSD.ORG Tue Oct 30 16:32:11 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 08BCB420 for ; Tue, 30 Oct 2012 16:32:11 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id A9AB18FC0A for ; Tue, 30 Oct 2012 16:32:10 +0000 (UTC) Received: by mail-ob0-f182.google.com with SMTP id wc20so591291obb.13 for ; Tue, 30 Oct 2012 09:32:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=72ItlgLTtDm5cljT+WKFI96b3fK3g0jcSbTRxrJzjAk=; b=J6hHpENrj3CzhCu8sIUW6DAuQPe0slfmvBdUl+K0F6iGVr7vxkw955uJNk0p/fs5YC 7OMkP2pd6amPChUFcnz8z3XFIPDWmCcf4GFAHd6UtHCrpBu0uU/WyJOgCmETXRHaMf9H HtIY2xmFKKuk6B95azkNnmJFDIXbowDD1U7RNVS0pMzHBdnumtGZZIQ3fFBuXtZDsPXj Vsgm0xL+OPdxyEyZUcglUBIDx9dEBSVE2Y1GKar60IQtLY7yR5cxyMKDBwIKC6H1En8D ZtgvRluvV18FkkTSgbjN3+slIxNHCTdAMvKA1X7Y2xM0001JJQqzjSTkdKRZPlEGhITa D5yw== Received: by 10.182.42.6 with SMTP id j6mr28309685obl.93.1351614729943; Tue, 30 Oct 2012 09:32:09 -0700 (PDT) Received: from [10.30.101.53] ([209.117.142.2]) by mx.google.com with ESMTPS id xj9sm962346obb.17.2012.10.30.09.32.00 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 30 Oct 2012 09:32:05 -0700 (PDT) Sender: Warner Losh Subject: Re: BeagleBone questions (was Re: Towards an ARM system-building script) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: Date: Tue, 30 Oct 2012 10:31:59 -0600 Content-Transfer-Encoding: 7bit Message-Id: <90863217-BF71-4DE4-9EB8-D320C48CCAAA@bsdimp.com> References: <2E208EEB-B2CF-4AC6-B420-03FB4CF08041@freebsd.org> <1351522908.1123.356.camel@revolution.hippie.lan> <1351550400.1123.364.camel@revolution.hippie.lan> To: Adrian Chadd X-Mailer: Apple Mail (2.1084) X-Gm-Message-State: ALoCoQkxfVYjk4RlLjg2aktfTs3ZynnFprwObUk2ydf8LWvBtio/xttlfCoMCqMvc7m5/JZs6S7o Cc: "freebsd-arm@freebsd.org" , Alie Tan 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, 30 Oct 2012 16:32:11 -0000 On Oct 30, 2012, at 10:20 AM, Adrian Chadd wrote: > .. ah. armv5 has no sleep "halt" function, so it's just spinning. > Chances are that's a good candidate for why things are running too > warm. Each SoC has its own flavor of this with varying degrees of latency... Warner From owner-freebsd-arm@FreeBSD.ORG Tue Oct 30 16:50:51 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CD06C8BA; Tue, 30 Oct 2012 16:50:51 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 8494F8FC1A; Tue, 30 Oct 2012 16:50:51 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q9UGohhM095156; Tue, 30 Oct 2012 10:50:43 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q9UGohx6095153; Tue, 30 Oct 2012 10:50:43 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Tue, 30 Oct 2012 10:50:43 -0600 (MDT) From: Warren Block To: Tim Kientzle Subject: Re: announcing the availability of packages for the Arm architecture In-Reply-To: <8C022087-3BAB-424D-AD8D-C755EB6D68F9@freebsd.org> Message-ID: References: <1351606727.1120.17.camel@revolution.hippie.lan> <8C022087-3BAB-424D-AD8D-C755EB6D68F9@freebsd.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Tue, 30 Oct 2012 10:50:44 -0600 (MDT) Cc: freebsd-arm@freebsd.org, Alie Tan 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, 30 Oct 2012 16:50:51 -0000 On Tue, 30 Oct 2012, Tim Kientzle wrote: > > On Oct 30, 2012, at 7:18 AM, Ian Lepore wrote: > >> >> All in all, I have the impression that not many people "use" freebsd on >> arm at all. > > The new inexpensive platforms such as RaspberryPi, > BeagleBone, PandaBoard seem to be changing that. > > How do we get more people excited about this? Write it up as an announcement--this much works so far, work is still needed on X and Y. Then add it to the Latest News announcements on the web page. From owner-freebsd-arm@FreeBSD.ORG Tue Oct 30 16:58:10 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3E601E38 for ; Tue, 30 Oct 2012 16:58:10 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-da0-f54.google.com (mail-da0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 05B458FC0C for ; Tue, 30 Oct 2012 16:58:09 +0000 (UTC) Received: by mail-da0-f54.google.com with SMTP id z9so219112dad.13 for ; Tue, 30 Oct 2012 09:58:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=SpgDkFjjbKTIBk/orsY6YG5tsc/pg0EaMMdDAV+GSZA=; b=syDKpIGMn5eXzrT0vsyCWDaX/xLKiLh9OeLe3izyh7miNmNoEwPkCZUpyF4bglUY29 MOyHyTY9+3AJ755OX7YQw3juC6v+64soJZK56fHzHyy+HlSZhP74UdAzArYNUw0mwIg3 EkIrgILCo5n8G7X068TlcL2GV4r6cJ3FBmwhEE1ujbH6YMrofhHLB0OmPHLapyWKShHE /BFy2foGQiTdVsa9VW8+VvKJY0Agop7UcbLSWGCAQewGabP7/QUL8eZ4uA8jAmyuxFAj swpBh+Q+Y5PVEUoIM6xz67gGEs3hol4ACjphXQGYq3tCiyYcsYvLMOQkCMRj5FkLtNAG Rdtw== MIME-Version: 1.0 Received: by 10.66.74.65 with SMTP id r1mr93899854pav.75.1351616289553; Tue, 30 Oct 2012 09:58:09 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.146.233 with HTTP; Tue, 30 Oct 2012 09:58:09 -0700 (PDT) In-Reply-To: <90863217-BF71-4DE4-9EB8-D320C48CCAAA@bsdimp.com> References: <2E208EEB-B2CF-4AC6-B420-03FB4CF08041@freebsd.org> <1351522908.1123.356.camel@revolution.hippie.lan> <1351550400.1123.364.camel@revolution.hippie.lan> <90863217-BF71-4DE4-9EB8-D320C48CCAAA@bsdimp.com> Date: Tue, 30 Oct 2012 09:58:09 -0700 X-Google-Sender-Auth: CQH64_ZstRrxnaJRuTDhht4RPdw Message-ID: Subject: Re: BeagleBone questions (was Re: Towards an ARM system-building script) From: Adrian Chadd To: Warner Losh Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-arm@freebsd.org" , Alie Tan 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, 30 Oct 2012 16:58:10 -0000 On 30 October 2012 09:31, Warner Losh wrote: > > On Oct 30, 2012, at 10:20 AM, Adrian Chadd wrote: > >> .. ah. armv5 has no sleep "halt" function, so it's just spinning. >> Chances are that's a good candidate for why things are running too >> warm. > > Each SoC has its own flavor of this with varying degrees of latency... Yeah, but the armv5 code doesn't do this, it just defaults to cpufunc_null or whatever it's called. Hence, there's no idle halt / wait-for-interrupt being done. Adrian From owner-freebsd-arm@FreeBSD.ORG Tue Oct 30 18:18:07 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 016A4A33 for ; Tue, 30 Oct 2012 18:18:06 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-oa0-f54.google.com (mail-oa0-f54.google.com [209.85.219.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9DBD38FC14 for ; Tue, 30 Oct 2012 18:18:06 +0000 (UTC) Received: by mail-oa0-f54.google.com with SMTP id n9so735773oag.13 for ; Tue, 30 Oct 2012 11:18:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=LyLT/nc8mQaHSZe2nzM8Si3tWq7vNBlCDyNjqTfNv68=; b=d6M7G3kBd5BHHIXJiaQLv9f2htAozpNTN6Thubizsb93zyJUKt5Dw1mYFKgMNXDkDd Cdyoc+a9yjz9LN7se01459A5iPCq70XGlxR/Sk4L+a9lSYBDs06wMkKH/zcbMQLzOck2 DiAhfwCBXsbld4AJp+4aCVqmSgnGhbknm7G4BdJGd8Jq5P3PdTOyu8jkvD4iKEk4E9xB AvLNdxIj+fbHEsPJQ7rI/UAzLNmmR9B29oeTtIbY7+eCvhtPmwWxHXJvlXdidFpdgdwc qtbgAHTsrsscAPpTSKoj85p7yytkD048sFJ0GmlHsgaGl8YyE3j+85yUUrba6A7dPRD2 bczg== Received: by 10.60.27.4 with SMTP id p4mr19303441oeg.54.1351621085733; Tue, 30 Oct 2012 11:18:05 -0700 (PDT) Received: from [10.30.101.53] ([209.117.142.2]) by mx.google.com with ESMTPS id b20sm1202553obu.4.2012.10.30.11.17.56 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 30 Oct 2012 11:17:59 -0700 (PDT) Sender: Warner Losh Subject: Re: BeagleBone questions (was Re: Towards an ARM system-building script) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: Date: Tue, 30 Oct 2012 12:17:52 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <21AB4822-FEB2-45D9-A642-AED5B41DD1E0@bsdimp.com> References: <2E208EEB-B2CF-4AC6-B420-03FB4CF08041@freebsd.org> <1351522908.1123.356.camel@revolution.hippie.lan> <1351550400.1123.364.camel@revolution.hippie.lan> <90863217-BF71-4DE4-9EB8-D320C48CCAAA@bsdimp.com> To: Adrian Chadd X-Mailer: Apple Mail (2.1084) X-Gm-Message-State: ALoCoQnvvCtZRfRl1bzNzjYkXZo07jF7nUIahx+HhNf2Idg1ZmWSCuz/Xzmo0xNA9NPHkqmY+zuJ Cc: "freebsd-arm@freebsd.org" , Alie Tan 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, 30 Oct 2012 18:18:07 -0000 On Oct 30, 2012, at 10:58 AM, Adrian Chadd wrote: > On 30 October 2012 09:31, Warner Losh wrote: >>=20 >> On Oct 30, 2012, at 10:20 AM, Adrian Chadd wrote: >>=20 >>> .. ah. armv5 has no sleep "halt" function, so it's just spinning. >>> Chances are that's a good candidate for why things are running too >>> warm. >>=20 >> Each SoC has its own flavor of this with varying degrees of = latency... >=20 > Yeah, but the armv5 code doesn't do this, it just defaults to > cpufunc_null or whatever it's called. Hence, there's no idle halt / > wait-for-interrupt being done. that's right. My point was more 'each SoC needs to do something = special, and we support a lot of SoCs' with a little bit of a dig at = there not being a latency hint that the SoC could use to pick between = different options. Warner From owner-freebsd-arm@FreeBSD.ORG Tue Oct 30 22:12:22 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6589A7D7; Tue, 30 Oct 2012 22:12:22 +0000 (UTC) (envelope-from giovanni.trematerra@gmail.com) Received: from mail-qa0-f54.google.com (mail-qa0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 067398FC12; Tue, 30 Oct 2012 22:12:21 +0000 (UTC) Received: by mail-qa0-f54.google.com with SMTP id p27so595030qat.13 for ; Tue, 30 Oct 2012 15:12:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=0tN3PneKojwinAJNxD0gOQR6PEjYqfSnHpyM4cMDY10=; b=iELNxel881BY8Rc0i9vmPOET/LI1sbWbFhYcjN/gGsbFIxH90lBlnbTHMusH6mx0dX N9OJVASqW6D2l1OVQN2AG+AzB59+9lhDTFfnmjD98s5ebov4GzGJBULeAYjjTZw/JeCG YfQ9Mqw9u+zxeLbj6vvlEF1yVcMtpGAV0965ANjTsow5paPmxWrTEpRqQm/vF4STvhLB AgdOwkviX/V8AHqAMEcVJRQR1fao8Ly6hNWOwXfrpmh275rlytAY1go2ReL/otx/p639 CiotXcF6VLZmoXaGtqRiQVk06YirWHFS0PmOC4NVAES5ILF6+mlyQTEy3W8cuBamquvc ZCdw== MIME-Version: 1.0 Received: by 10.49.58.212 with SMTP id t20mr11095170qeq.26.1351635140869; Tue, 30 Oct 2012 15:12:20 -0700 (PDT) Sender: giovanni.trematerra@gmail.com Received: by 10.229.63.138 with HTTP; Tue, 30 Oct 2012 15:12:20 -0700 (PDT) Date: Tue, 30 Oct 2012 23:12:20 +0100 X-Google-Sender-Auth: O6zflEW17Y41DFum0tE0UQT3Pow Message-ID: Subject: [PATCH] use vtophys instead of pmap_kextract From: Giovanni Trematerra To: freebsd-arm@freebsd.org Content-Type: text/plain; charset=UTF-8 Cc: cognet@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: Tue, 30 Oct 2012 22:12:22 -0000 Hi, could you please review and commit the patch below? The patch changes the calls to pmap_kextract in vtophys macro. This also fixes a compiler warning when SMP is enabled to Marvel ARMADA XP boards. Thank you -- Gianni Index: sys/arm/arm/busdma_machdep-v6.c =================================================================== --- sys/arm/arm/busdma_machdep-v6.c (revision 242212) +++ sys/arm/arm/busdma_machdep-v6.c (working copy) @@ -670,7 +670,7 @@ _bus_dmamap_count_pages(bus_dma_tag_t dmat, bus_dm while (vaddr < vendaddr) { if (__predict_true(map->pmap == pmap_kernel())) - paddr = pmap_kextract(vaddr); + paddr = vtophys(vaddr); else paddr = pmap_extract(map->pmap, vaddr); if (((dmat->flags & BUS_DMA_COULD_BOUNCE) != 0) && @@ -748,7 +748,7 @@ _bus_dmamap_load_buffer(bus_dma_tag_t dmat, * Get the physical address for this segment. */ if (__predict_true(map->pmap == pmap_kernel())) - curaddr = pmap_kextract(vaddr); + curaddr = vtophys(vaddr); else curaddr = pmap_extract(map->pmap, vaddr); @@ -1424,7 +1424,7 @@ alloc_bounce_pages(bus_dma_tag_t dmat, u_int numpa free(bpage, M_DEVBUF); break; } - bpage->busaddr = pmap_kextract(bpage->vaddr); + bpage->busaddr = vtophys(bpage->vaddr); mtx_lock(&bounce_lock); STAILQ_INSERT_TAIL(&bz->bounce_page_list, bpage, links); total_bpages++; Index: sys/arm/arm/busdma_machdep.c =================================================================== --- sys/arm/arm/busdma_machdep.c (revision 242212) +++ sys/arm/arm/busdma_machdep.c (working copy) @@ -711,7 +711,7 @@ _bus_dmamap_count_pages(bus_dma_tag_t dmat, bus_dm while (vaddr < vendaddr) { if (__predict_true(pmap == pmap_kernel())) - paddr = pmap_kextract(vaddr); + paddr = vtophys(vaddr); else paddr = pmap_extract(pmap, vaddr); if (((dmat->flags & BUS_DMA_COULD_BOUNCE) != 0) && @@ -1371,7 +1371,7 @@ alloc_bounce_pages(bus_dma_tag_t dmat, u_int numpa free(bpage, M_DEVBUF); break; } - bpage->busaddr = pmap_kextract(bpage->vaddr); + bpage->busaddr = vtophys(bpage->vaddr); bpage->vaddr_nocache = (vm_offset_t)arm_remap_nocache( (void *)bpage->vaddr, PAGE_SIZE); mtx_lock(&bounce_lock); Index: sys/arm/mv/armadaxp/armadaxp_mp.c =================================================================== --- sys/arm/mv/armadaxp/armadaxp_mp.c (revision 242212) +++ sys/arm/mv/armadaxp/armadaxp_mp.c (working copy) @@ -179,7 +179,7 @@ platform_mp_start_ap(void) for (cpu_num = 1; cpu_num < mp_ncpus; cpu_num++ ) bus_space_write_4(fdtbus_bs_tag, CPU_PMU(cpu_num), CPU_PMU_BOOT, - pmap_kextract(mpentry)); + vtophys(mpentry)); cpu_idcache_wbinv_all(); Index: sys/arm/ti/omap4/omap4_mp.c =================================================================== --- sys/arm/ti/omap4/omap4_mp.c (revision 242379) +++ sys/arm/ti/omap4/omap4_mp.c (working copy) @@ -75,7 +75,7 @@ platform_mp_start_ap(void) cpu_idcache_wbinv_all(); cpu_l2cache_wbinv_all(); ti_smc0(0x200, 0xfffffdff, MODIFY_AUX_CORE_0); - ti_smc0(pmap_kextract((vm_offset_t)mpentry), 0, WRITE_AUX_CORE_1); + ti_smc0(vtophys(mpentry), 0, WRITE_AUX_CORE_1); armv7_sev(); bus_space_unmap(fdtbus_bs_tag, scu_addr, 0x1000); } From owner-freebsd-arm@FreeBSD.ORG Wed Oct 31 01:29:25 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 15F4C153 for ; Wed, 31 Oct 2012 01:29:25 +0000 (UTC) (envelope-from alie@affle.com) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id B04CC8FC12 for ; Wed, 31 Oct 2012 01:29:24 +0000 (UTC) Received: by mail-vb0-f54.google.com with SMTP id l1so1284072vba.13 for ; Tue, 30 Oct 2012 18:29:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=xuY9XfBmTNOsXGBK/ufGmd02luchkJhm/psHeukl66U=; b=Vzzhf6h8u0cjfDneWdiSa97j8RdPGUDAO1Yxwk+0YUNMOGwcmhQUCAqeLGkwdkHX2R kCVOCN7khhxGX00bV0uTrcJLvw1nbEkHvHjZWifeUbARf+vC3pzJnkn1Y/32rIFlzmjb KN2bPE4Zlz16aN1GZAQybLhrkY12NZCwMgOs8W/4YiuetW/MSiXV7k383xzBr76H5oCX VNYqb7hzNmGA1NG7HQdTSBuca3tCQEUGRGMHdWxGeThryJMdXqD0WL/DVjWlJwABAUSu FJlDrDY5Z1Nso/fWJ1YiUeE9Nrky6dlFBJ2pXil+Kqmb+R7eyDu3q+FEWN5ObtKVVIXx U2WQ== MIME-Version: 1.0 Received: by 10.220.231.138 with SMTP id jq10mr16010449vcb.29.1351646963641; Tue, 30 Oct 2012 18:29:23 -0700 (PDT) Received: by 10.58.233.80 with HTTP; Tue, 30 Oct 2012 18:29:23 -0700 (PDT) In-Reply-To: References: <1351606727.1120.17.camel@revolution.hippie.lan> <8C022087-3BAB-424D-AD8D-C755EB6D68F9@freebsd.org> Date: Wed, 31 Oct 2012 09:29:23 +0800 Message-ID: Subject: Re: announcing the availability of packages for the Arm architecture From: Alie Tan To: Warren Block X-Gm-Message-State: ALoCoQnwI0b6+SDNxTtT0PtaPyeaSTb8O6xZ5tUOsgZdFwi/sEFZ9e2AAAKin6FMYOXB9+L/FRX8 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: Wed, 31 Oct 2012 01:29:25 -0000 On Wed, Oct 31, 2012 at 12:50 AM, Warren Block wrote: > On Tue, 30 Oct 2012, Tim Kientzle wrote: > > >> On Oct 30, 2012, at 7:18 AM, Ian Lepore wrote: >> >> >>> All in all, I have the impression that not many people "use" freebsd on >>> arm at all. >>> >> >> The new inexpensive platforms such as RaspberryPi, >> BeagleBone, PandaBoard seem to be changing that. >> >> How do we get more people excited about this? >> > > Write it up as an announcement--this much works so far, work is still > needed on X and Y. Then add it to the Latest News announcements on the web > page. > Completely agree with this. Write the tasks including the owner, reporter and task details on the main www.freebsd.org page so its more obvious. And we can have code bounties too? Regards, Alie T From owner-freebsd-arm@FreeBSD.ORG Wed Oct 31 03:24:14 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 72A7A230; Wed, 31 Oct 2012 03:24:14 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 0ACE68FC0C; Wed, 31 Oct 2012 03:24:13 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q9V3O80V099014; Tue, 30 Oct 2012 21:24:08 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q9V3O7V5099011; Tue, 30 Oct 2012 21:24:08 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Tue, 30 Oct 2012 21:24:07 -0600 (MDT) From: Warren Block To: Alie Tan Subject: Re: announcing the availability of packages for the Arm architecture In-Reply-To: Message-ID: References: <1351606727.1120.17.camel@revolution.hippie.lan> <8C022087-3BAB-424D-AD8D-C755EB6D68F9@freebsd.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="3512871622-1933034866-1351653848=:98979" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Tue, 30 Oct 2012 21:24:08 -0600 (MDT) 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: Wed, 31 Oct 2012 03:24:14 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --3512871622-1933034866-1351653848=:98979 Content-Type: TEXT/PLAIN; format=flowed; charset=ISO-8859-15 Content-Transfer-Encoding: 8BIT On Wed, 31 Oct 2012, Alie Tan wrote: > On Wed, Oct 31, 2012 at 12:50 AM, Warren Block wrote: > On Tue, 30 Oct 2012, Tim Kientzle wrote: > > > On Oct 30, 2012, at 7:18 AM, Ian Lepore wrote: > > > All in all, I have the impression that not many people "use" freebsd on > arm at all. > > > The new inexpensive platforms such as RaspberryPi, > BeagleBone, PandaBoard seem to be changing that. > > How do we get more people excited about this? > > > Write it up as an announcement--this much works so far, work is still needed on X and Y.  Then add it to the Latest News announcements on the web page. > > > Completely agree with this. Write the tasks including the owner, reporter and task details on the main www.freebsd.org page so its more obvious. And we can have code bounties too? Well, the announcement needs its own page, possibly the wiki. Then there would be a short mention on the main page pointing to that. Code bounties are a whole separate matter. For now, I think there are a lot of people who would be interested in just knowing the present status. And some of them would be motivated to get involved by such an announcement. --3512871622-1933034866-1351653848=:98979-- From owner-freebsd-arm@FreeBSD.ORG Wed Oct 31 03:34:07 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 618BD412 for ; Wed, 31 Oct 2012 03:34:07 +0000 (UTC) (envelope-from paradyse@gmail.com) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2AFD38FC14 for ; Wed, 31 Oct 2012 03:34:06 +0000 (UTC) Received: by mail-pa0-f54.google.com with SMTP id bi1so692575pad.13 for ; Tue, 30 Oct 2012 20:34:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=+UtopKkPtggUTUhoACkq698mZrHD8XXUjQ/YkzHSNDg=; b=0XdFQ0zvs8ICTB55fE2MguGUWiyCbKuFciIu2P9ipeJNgtNKBfFiHQvrAW+RpQs9zT L4aiJ7aBk/7nclVbi2wlQiSjRMlB7vBsPmOOvXvzHVvShgPnynvOF1fCOAm9oLndoxBm FTNZTuoqwsX0YMcR1aNcVLKN1SUNCY/DekhwUAa2E778njqK3vnl9wG3E1UAqhr8mcfc 4lpI0oO+aPyQQJhb8/nY5qzqLwaH2UtOazoKDXLBWR9w5iOGcWbKEoSZM94qGDArh9Pp GsK/CWuFrEzRG1iMf6j+QtGc7UuhGchkaMpb9Am/13kCOlCN9/2ViKyExTWCLG2Y1wmB iBRQ== Received: by 10.66.90.65 with SMTP id bu1mr98423630pab.31.1351654446516; Tue, 30 Oct 2012 20:34:06 -0700 (PDT) MIME-Version: 1.0 Sender: paradyse@gmail.com Received: by 10.68.253.8 with HTTP; Tue, 30 Oct 2012 20:33:46 -0700 (PDT) In-Reply-To: References: From: Kang Yin Su Date: Wed, 31 Oct 2012 11:33:46 +0800 X-Google-Sender-Auth: 0BxTarzPBpU4XdsVOOmWFHYvpvk Message-ID: Subject: Re: Raspberry PI To: freebsd-arm 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, 31 Oct 2012 03:34:07 -0000 I have built again kernel from head, so mmc is working fine. I have few questions regarding it: 1. hardfp support ready? how? 2. I don't see login prompt after bootup, the only way is use ssh. How to enable login prompt on syscons/framebuffer? 3. Ethernet mac address random change every time boot-up? It may due to uboot or firmware issue - apologize if it's OT. regards, Yin On Tue, Oct 30, 2012 at 6:05 PM, Kang Yin Su wrote: > Cool!! So next step is VPU stuff.... > > > On Tue, Oct 30, 2012 at 5:23 PM, Ronald Klop > wrote: > > On Tue, 30 Oct 2012 09:17:38 +0100, Kang Yin Su > wrote: > > > >> Hi All, > >> > >> What's the current status of Raspberry PI? As far as I know sdhc/mmc is > >> not > >> working in freebsd-10 HEAD. > >> > >> Thanks, > >> Yin > > > > > > From twitter this morning: > > > > FreeBSD Project @freebsd > > > > BLOG: FreeBSD/Pi update: So, here is status update on the progress: - > > freebsd-pi github repo has been merged to ... http://bit.ly/XPlizm > From owner-freebsd-arm@FreeBSD.ORG Wed Oct 31 03:40:58 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 01F1E74D for ; Wed, 31 Oct 2012 03:40:57 +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 911D88FC08 for ; Wed, 31 Oct 2012 03:40:57 +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 1TTPAe-000O23-PT; Tue, 30 Oct 2012 20:40:50 -0700 Message-ID: <50909DBE.2060408@bluezbox.com> Date: Tue, 30 Oct 2012 20:40:46 -0700 From: Oleksandr Tymoshenko User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 MIME-Version: 1.0 To: Kang Yin Su , "freebsd-arm@FreeBSD.org" Subject: Re: Raspberry PI 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 10/30/2012 8:33 PM, Kang Yin Su wrote: > I have built again kernel from head, so mmc is working fine. I have few > questions regarding it: > 1. hardfp support ready? how? > 2. I don't see login prompt after bootup, the only way is use ssh. How to > enable login prompt on syscons/framebuffer? Edit /etc/ttys, enable ttyv0 and ttyu0, change ttyu0 type to 3wire.std115200. It will give you login prompts on serial console and on syscons. Although USB keyboard does not work due to issue with USB host controller driver, so syscons console is useless at the moment. I'm trying to find and fix the issue. [...] 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: Wed, 31 Oct 2012 03:40:58 -0000 On 10/30/2012 8:33 PM, Kang Yin Su wrote: > I have built again kernel from head, so mmc is working fine. I have few > questions regarding it: > 1. hardfp support ready? how? > 2. I don't see login prompt after bootup, the only way is use ssh. How to > enable login prompt on syscons/framebuffer? Edit /etc/ttys, enable ttyv0 and ttyu0, change ttyu0 type to 3wire.std115200. It will give you login prompts on serial console and on syscons. Although USB keyboard does not work due to issue with USB host controller driver, so syscons console is useless at the moment. I'm trying to find and fix the issue. > 3. Ethernet mac address random change every time boot-up? It may due to > uboot or firmware issue - apologize if it's OT. It's FreeBSD problem that requires somewhat wider solution then hacking one network driver. From owner-freebsd-arm@FreeBSD.ORG Wed Oct 31 04:23:59 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CC3651DD for ; Wed, 31 Oct 2012 04:23:59 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx1.freebsd.org (Postfix) with ESMTP id 85A3A8FC12 for ; Wed, 31 Oct 2012 04:23:58 +0000 (UTC) Received: by mail-ie0-f182.google.com with SMTP id k10so1959275iea.13 for ; Tue, 30 Oct 2012 21:23:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=N/WuigYfLetAsnR/xs3KeZeW4cQKIyRKOEcAgPodvX0=; b=MUnmQ/tdhMcuSN9L/ZDx2h19pCpWlykJD8AEBaWDCzwdboOnhws9THY3TdZLsu6TDr 2NoBd6YvXy9gy5odLMDeVP0p0jMar1GytY48V2e8H3itpgWVIWsxrNci8b54KEgsRAzd Wttt3orpie8xliNCuDPWUjw234wqTj76MfUSt3RE3l8ejIxAKht7I1aix64brk7vCV5s aKudWKkU7V/4FN1fYKdLxQK8Pzqy9FTXsNdyWAC8pQRh0FbMVAa00MRHA7+NbybmAzvQ MPAkjGJi2NBLPzN7wjnofc0WM4aqUTEIudzd8QhthNIxfWazYfOjltAmyPckVZF0nx7r rmZA== Received: by 10.50.104.230 with SMTP id gh6mr312817igb.13.1351657438657; Tue, 30 Oct 2012 21:23:58 -0700 (PDT) Received: from 53.imp.bsdimp.com (50-78-194-198-static.hfc.comcastbusiness.net. [50.78.194.198]) by mx.google.com with ESMTPS id gs6sm2328782igc.11.2012.10.30.21.23.52 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 30 Oct 2012 21:23:57 -0700 (PDT) Sender: Warner Losh Subject: Re: Raspberry PI Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: <50909DBE.2060408@bluezbox.com> Date: Tue, 30 Oct 2012 22:23:51 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: References: <50909DBE.2060408@bluezbox.com> To: Oleksandr Tymoshenko X-Mailer: Apple Mail (2.1084) X-Gm-Message-State: ALoCoQkfrEmzFnYnwMN0io8uQ88lvad9Vg+fXFe2MNJ8gIgb4N2+QBVGhuQroKC7mxKF8M6H0HwD Cc: Kang Yin Su , "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: Wed, 31 Oct 2012 04:23:59 -0000 On Oct 30, 2012, at 9:40 PM, Oleksandr Tymoshenko wrote: >> 3. Ethernet mac address random change every time boot-up? It may due = to >> uboot or firmware issue - apologize if it's OT. > It's FreeBSD problem that requires somewhat wider solution then = hacking one network driver. Why aren't we just getting the MAC address from the FDT? Isn't that how = Linux passes it in? Warner From owner-freebsd-arm@FreeBSD.ORG Wed Oct 31 05:04:27 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 48C3B634 for ; Wed, 31 Oct 2012 05:04:27 +0000 (UTC) (envelope-from paradyse@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 142448FC08 for ; Wed, 31 Oct 2012 05:04:26 +0000 (UTC) Received: by mail-pb0-f54.google.com with SMTP id rp8so750656pbb.13 for ; Tue, 30 Oct 2012 22:04:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=aOno0CB5Mx397WLakzlwWqxtW3OBfnDLy5cCNlMJLvY=; b=bfuGV5278b3x2HPqUmp0YXPIeUVZFplz56+HaWcV9FI1v1sIAab2f6vIS5BCCGtygC VG3peZLKMG3Xkxil6chb2ru7Eu09ZbXjRTEy42IJCaX1JrhWwO+FhSXF+D8z4OFLKSfm Q+uMkA85goyNKrLhDXxKmDc2afB5eJ8LPrCV2fXaD4oQaG+pZXVfLQS3kfq/9WP9Pfs7 kKKrzwmmH1i1AP3G4MNUKV5aL8Cu8GStzJPWcEffLk9I5LlefOxvFC6myIAAPZAEfklK zpwkJ/VTOMkb2M1BpZ1cgBzObz5xf57mcTM0ZvmFh5FyZHdoHaSbPWHe0PJo/ePBqXN5 cRkg== Received: by 10.68.200.227 with SMTP id jv3mr108870857pbc.162.1351659866484; Tue, 30 Oct 2012 22:04:26 -0700 (PDT) MIME-Version: 1.0 Sender: paradyse@gmail.com Received: by 10.68.253.8 with HTTP; Tue, 30 Oct 2012 22:04:06 -0700 (PDT) In-Reply-To: References: <50909DBE.2060408@bluezbox.com> From: Kang Yin Su Date: Wed, 31 Oct 2012 13:04:06 +0800 X-Google-Sender-Auth: PWLinWQgB-EALQcKxCqb5ShETCo Message-ID: Subject: Re: Raspberry PI To: Warner Losh Content-Type: text/plain; charset=ISO-8859-1 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: Wed, 31 Oct 2012 05:04:27 -0000 I think MAC address is generated by serial number on official linux build? -Yin On Wed, Oct 31, 2012 at 12:23 PM, Warner Losh wrote: > > On Oct 30, 2012, at 9:40 PM, Oleksandr Tymoshenko wrote: >>> 3. Ethernet mac address random change every time boot-up? It may due to >>> uboot or firmware issue - apologize if it's OT. >> It's FreeBSD problem that requires somewhat wider solution then hacking one network driver. > > Why aren't we just getting the MAC address from the FDT? Isn't that how Linux passes it in? > > Warner > From owner-freebsd-arm@FreeBSD.ORG Wed Oct 31 05:07:10 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AD6936A7 for ; Wed, 31 Oct 2012 05:07:10 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from mail.bitblocks.com (ns1.bitblocks.com [173.228.5.8]) by mx1.freebsd.org (Postfix) with ESMTP id 84E358FC14 for ; Wed, 31 Oct 2012 05:07:10 +0000 (UTC) Received: from bitblocks.com (localhost [127.0.0.1]) by mail.bitblocks.com (Postfix) with ESMTP id 9EACCB827; Tue, 30 Oct 2012 22:07:09 -0700 (PDT) To: Warner Losh Subject: Re: Raspberry PI In-reply-to: Your message of "Tue, 30 Oct 2012 22:23:51 MDT." References: <50909DBE.2060408@bluezbox.com> Comments: In-reply-to Warner Losh message dated "Tue, 30 Oct 2012 22:23:51 -0600." Date: Tue, 30 Oct 2012 22:07:09 -0700 From: Bakul Shah Message-Id: <20121031050709.9EACCB827@mail.bitblocks.com> Cc: Kang Yin Su , "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: Wed, 31 Oct 2012 05:07:10 -0000 On Tue, 30 Oct 2012 22:23:51 MDT Warner Losh wrote: > > On Oct 30, 2012, at 9:40 PM, Oleksandr Tymoshenko wrote: > >> 3. Ethernet mac address random change every time boot-up? It may due to > >> uboot or firmware issue - apologize if it's OT. > > It's FreeBSD problem that requires somewhat wider solution then hacking one > network driver. > > Why aren't we just getting the MAC address from the FDT? Isn't that how Linux > passes it in? You can directly get it, along with physical display properties, serial number, board rev, ramsize etc., via the mailbox interface. See https://github.com/raspberrypi/firmware/wiki/Mailbox-property-interface You will need to implement something like /* * make a property request with given tab. * buf has any request data on call and any response data on return. * reqlen == request length, resplen == response length */ int bcm_mbox_req(int tag, void* buf, int reqlen, int resplen); and use it as enum { ... Tag_getmac = 0x00010003, Tag_getdisp = 0x00048003, ... }; uint8_t macaddr[6]; struct { uint32_t width, height; } rect; bcm_mbox_req(Tag_getmac, macaddr, 0, sizeof macaddr); bcm_mbox_req(Tag_getdisp, &rect, 0, sizeof rect); From owner-freebsd-arm@FreeBSD.ORG Wed Oct 31 06:01:18 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 375E0EB6; Wed, 31 Oct 2012 06:01:18 +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 04DCB8FC15; Wed, 31 Oct 2012 06:01:17 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id q9V61EZC071877; Wed, 31 Oct 2012 06:01:14 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.143] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id i555qr52cfpqzz3gcvkk24is7i; Wed, 31 Oct 2012 06:01:14 +0000 (UTC) (envelope-from tim@kientzle.com) Subject: Re: BeagleBone questions (was Re: Towards an ARM system-building script) Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=us-ascii From: Tim Kientzle In-Reply-To: Date: Tue, 30 Oct 2012 23:01:12 -0700 Content-Transfer-Encoding: 7bit Message-Id: References: <2E208EEB-B2CF-4AC6-B420-03FB4CF08041@freebsd.org> <1351522908.1123.356.camel@revolution.hippie.lan> <1351550400.1123.364.camel@revolution.hippie.lan> To: Adrian Chadd X-Mailer: Apple Mail (2.1283) Cc: "freebsd-arm@freebsd.org" , Alie Tan 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, 31 Oct 2012 06:01:18 -0000 On Oct 30, 2012, at 9:20 AM, Adrian Chadd wrote: > .. ah. armv5 has no sleep "halt" function, so it's just spinning. > Chances are that's a good candidate for why things are running too > warm. RaspberryPi uses a Broadcom BCM2835 with an ARM1176JZF-S core (ARMv6). BeagleBone uses a TI Sitara AM3358 with an ARM Cortex-A8 core (ARMv7). Tim From owner-freebsd-arm@FreeBSD.ORG Wed Oct 31 06:09:15 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9AF32F6C for ; Wed, 31 Oct 2012 06:09:15 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 60DF38FC14 for ; Wed, 31 Oct 2012 06:09:15 +0000 (UTC) Received: by mail-pb0-f54.google.com with SMTP id rp8so787028pbb.13 for ; Tue, 30 Oct 2012 23:09:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=CLK5hWYNpFVHYqXcVV3QsqFbGSglVusAHmEitS4joo0=; b=NRRZuJxmaMLEZXTK+12nOM7/dmFIujU900J6t1SILFLM7PEOSB3q73bv74TuU6Z35X RaujJdNjVnvMc6KlsoHXpeIxuH3OMpeihlqmrRNr5cPcOBx0VEo0wG6jatty76W9kmq9 1y22COwleZzkVLB/cbZUJe0pcjE4WFUVm0DW8F4WN7lPsEJxjdxpPFNsdPjy/LMGMuVu vg0zxz95lB2zNazqiNT1yFXRozluo7v3xgYLjn+81MI8iRmQKlRncLOWY6caCV6tlziL 28HyxAAuUCMlBJXotUmj+ittAar6DA2mymGUl8YR1X7E1KRMTRqMJz9ixnzKPYvm/qu7 mnbA== MIME-Version: 1.0 Received: by 10.68.132.165 with SMTP id ov5mr108161383pbb.105.1351663754857; Tue, 30 Oct 2012 23:09:14 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.124.130 with HTTP; Tue, 30 Oct 2012 23:09:14 -0700 (PDT) In-Reply-To: References: <2E208EEB-B2CF-4AC6-B420-03FB4CF08041@freebsd.org> <1351522908.1123.356.camel@revolution.hippie.lan> <1351550400.1123.364.camel@revolution.hippie.lan> Date: Tue, 30 Oct 2012 23:09:14 -0700 X-Google-Sender-Auth: p_2nOXtVOQ5_FGZxESEXJJHYAcA Message-ID: Subject: Re: BeagleBone questions (was Re: Towards an ARM system-building script) From: Adrian Chadd To: Tim Kientzle Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-arm@freebsd.org" , Alie Tan 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, 31 Oct 2012 06:09:15 -0000 Right, and the ARMv6 code has no cpufunc_sleep method either. :-) Sounds like a mini-project! Just be aware of the platform requirements! (ie, mav@'s timer code puts very specific requirements on the behaviour of the halt/wait loop; I'm still not convinced anything bar i386/amd64 "hlt" are doing the right thing. Yes, this includes MIPS. :( ) Adrian On 30 October 2012 23:01, Tim Kientzle wrote: > > On Oct 30, 2012, at 9:20 AM, Adrian Chadd wrote: > >> .. ah. armv5 has no sleep "halt" function, so it's just spinning. >> Chances are that's a good candidate for why things are running too >> warm. > > RaspberryPi uses a Broadcom BCM2835 with an ARM1176JZF-S core (ARMv6). > > BeagleBone uses a TI Sitara AM3358 with an ARM Cortex-A8 core (ARMv7). > > Tim > From owner-freebsd-arm@FreeBSD.ORG Wed Oct 31 06:40:31 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1F7CD668 for ; Wed, 31 Oct 2012 06:40:31 +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 D6AB78FC14 for ; Wed, 31 Oct 2012 06:40:30 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id q9V6dFl7072001; Wed, 31 Oct 2012 06:39:15 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.143] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id tpswvvc5i46gy67qtkemjutrfn; Wed, 31 Oct 2012 06:39:15 +0000 (UTC) (envelope-from tim@kientzle.com) Subject: Re: Raspberry PI Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=us-ascii From: Tim Kientzle In-Reply-To: Date: Tue, 30 Oct 2012 23:39:14 -0700 Content-Transfer-Encoding: 7bit Message-Id: References: To: Kang Yin Su X-Mailer: Apple Mail (2.1283) Cc: 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: Wed, 31 Oct 2012 06:40:31 -0000 On Oct 30, 2012, at 8:33 PM, Kang Yin Su wrote: > I have built again kernel from head, so mmc is working fine. I have few > questions regarding it: > 1. hardfp support ready? how? > 2. I don't see login prompt after bootup, the only way is use ssh. How to > enable login prompt on syscons/framebuffer? > 3. Ethernet mac address random change every time boot-up? It may due to > uboot or firmware issue - apologize if it's OT. Has anyone looked at the memory size check? I'm using the arm192_start.elf which should advertise 192MB RAM. But U-Boot is still coming up with 128MB memory size, which it passes to ubldr, which gets passed to the kernel. Tim From owner-freebsd-arm@FreeBSD.ORG Wed Oct 31 06:47:43 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2B22A86E for ; Wed, 31 Oct 2012 06:47:43 +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 B724C8FC08 for ; Wed, 31 Oct 2012 06:47:42 +0000 (UTC) Received: from [207.6.244.1] (helo=[192.168.1.64]) by id.bluezbox.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1TTS5Q-000PFH-Uw; Tue, 30 Oct 2012 23:47:38 -0700 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: Raspberry PI From: Oleksandr Tymoshenko In-Reply-To: Date: Tue, 30 Oct 2012 23:47:20 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <8F441EEB-3654-46DD-A7F2-5060B6AFF5C8@bluezbox.com> References: To: Tim Kientzle X-Mailer: Apple Mail (2.1499) 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 2012-10-30, at 11:39 PM, Tim Kientzle wrote: > On Oct 30, 2012, at 8:33 PM, Kang Yin Su wrote: > >> I have built again kernel from head, so mmc is working fine. I have few >> questions regarding it: >> 1. hardfp support ready? how? >> 2. I don't see login prompt after bootup, the only way is use ssh. How to >> enable login prompt on syscons/framebuffer? >> 3. Ethernet mac address random change every time boot-up? It may due to >> uboot or firmware issue - apologize if it's OT. > > Has anyone looked at the memory size check? > > I'm using the arm192_start.elf which should advertise > 192MB RAM. But U-Boot is still coming up with > 128MB memory size, which it passes to ubldr, which > gets passed to the kernel. [...] 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] Cc: Kang Yin Su , 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: Wed, 31 Oct 2012 06:47:43 -0000 On 2012-10-30, at 11:39 PM, Tim Kientzle wrote: > On Oct 30, 2012, at 8:33 PM, Kang Yin Su wrote: >=20 >> I have built again kernel from head, so mmc is working fine. I have = few >> questions regarding it: >> 1. hardfp support ready? how? >> 2. I don't see login prompt after bootup, the only way is use ssh. = How to >> enable login prompt on syscons/framebuffer? >> 3. Ethernet mac address random change every time boot-up? It may due = to >> uboot or firmware issue - apologize if it's OT. >=20 > Has anyone looked at the memory size check? >=20 > I'm using the arm192_start.elf which should advertise > 192MB RAM. But U-Boot is still coming up with > 128MB memory size, which it passes to ubldr, which > gets passed to the kernel. It's hardcoded in by version u-boot. Stephen Warren is working on = official branch of u-boot for Raspberry Pi (and pushing it to upstream) and he has a = patch for proper memory size detection (align with several other patches): http://www.mail-archive.com/u-boot@lists.denx.de/msg96641.html From owner-freebsd-arm@FreeBSD.ORG Wed Oct 31 06:56:30 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 55EBC909 for ; Wed, 31 Oct 2012 06:56:30 +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 EA6CE8FC14 for ; Wed, 31 Oct 2012 06:56:29 +0000 (UTC) Received: from [207.6.244.1] (helo=[192.168.1.64]) by id.bluezbox.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1TTSDy-000PJh-9f; Tue, 30 Oct 2012 23:56:28 -0700 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: Raspberry PI From: Oleksandr Tymoshenko In-Reply-To: Date: Tue, 30 Oct 2012 23:56:09 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <50909DBE.2060408@bluezbox.com> To: Warner Losh X-Mailer: Apple Mail (2.1499) 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 2012-10-30, at 9:23 PM, Warner Losh wrote: > > On Oct 30, 2012, at 9:40 PM, Oleksandr Tymoshenko wrote: >>> 3. Ethernet mac address random change every time boot-up? It may due to >>> uboot or firmware issue - apologize if it's OT. >> It's FreeBSD problem that requires somewhat wider solution then hacking one network driver. > > Why aren't we just getting the MAC address from the FDT? Isn't that how Linux passes it in? [...] 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] Cc: Kang Yin Su , "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: Wed, 31 Oct 2012 06:56:30 -0000 On 2012-10-30, at 9:23 PM, Warner Losh wrote: >=20 > On Oct 30, 2012, at 9:40 PM, Oleksandr Tymoshenko wrote: >>> 3. Ethernet mac address random change every time boot-up? It may due = to >>> uboot or firmware issue - apologize if it's OT. >> It's FreeBSD problem that requires somewhat wider solution then = hacking one network driver. >=20 > Why aren't we just getting the MAC address from the FDT? Isn't that = how Linux passes it in? The problem is not getting MAC address from u-boot but to deliver it to = if_smsc in non-hackish way. We have several drivers that get their MAC addresses from boot loaders = and I think we need to=20 unify the way they discover available addresses.=20= From owner-freebsd-arm@FreeBSD.ORG Wed Oct 31 07:52:33 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E32D3414 for ; Wed, 31 Oct 2012 07:52:33 +0000 (UTC) (envelope-from mukunda@pointred.co) Received: from na3sys010aog114.obsmtp.com (na3sys010aog114.obsmtp.com [74.125.245.96]) by mx1.freebsd.org (Postfix) with SMTP id 2F0D38FC0C for ; Wed, 31 Oct 2012 07:52:30 +0000 (UTC) Received: from mail-la0-f72.google.com ([209.85.215.72]) (using TLSv1) by na3sys010aob114.postini.com ([74.125.244.12]) with SMTP ID DSNKUJDYvcrgAN7ejtM6nnUoBwGZjlP4VraP@postini.com; Wed, 31 Oct 2012 00:52:33 PDT Received: by mail-la0-f72.google.com with SMTP id s15so889990lag.7 for ; Wed, 31 Oct 2012 00:52:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :x-gm-message-state; bh=B5hwfReCEaNbPS8sicWwRqBzBC+6LXUvo41ZLwfe3Gc=; b=lL0ic4wQSMzM/n4FS52lsr18Sp+eaVfmy5ervkQRPTYomy8pIRpJs7x+ZMvZmWwe3e ceGKCb3tSxCG2GDI6hGhUKT9UrYuUHWmTJqqCoZPr5C5PyzRQ3GdcfCfFr6s/mGKiLib 0d99ROxWp/YicKfGSaWzAx/TPHZO56eRjJ6jH7QqDwo6/yu8kKPh+WfmRngcZo1bJLlq elQxruoAJmPpTwrlrr92wsaxX+z5T/lVN5AToGfheHndd9RY021Kk0jqgJxj7Z6oHsW8 ftQmLdNfw5kyMRaf+/0hdV8IA4K0mP3mm5NODUu/YrBKMb/9f6HLsRstitN1LryqNfbn PpbA== Received: by 10.152.105.135 with SMTP id gm7mr32954385lab.22.1351669948098; Wed, 31 Oct 2012 00:52:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.152.105.135 with SMTP id gm7mr32954383lab.22.1351669948017; Wed, 31 Oct 2012 00:52:28 -0700 (PDT) Received: by 10.112.40.129 with HTTP; Wed, 31 Oct 2012 00:52:27 -0700 (PDT) Date: Wed, 31 Oct 2012 13:22:27 +0530 Message-ID: Subject: Reg AVila boot... From: Mukunda Haveri To: freebsd-arm@freebsd.org X-Gm-Message-State: ALoCoQmqP2cPmApV64R+/UAla+PJAbxByQVcCKGmOyvCYyPJFlxWa5xiQD/wE4wpQut8wB/sr0OHBaic8oDxtB3S0CNN7Dok+UbsF+voM6tj2Y5M3QLYf4Cm5iilfpM/olKzWN0Jksh7N3Jza73NTETMEYphbHUcVcvresVj0n9HAop+A02zroM= 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, 31 Oct 2012 07:52:34 -0000 Hi, I am trying to get a FreeBSD system up on an Avila board. I got through the initial boot stages [ though I am not sure if my settings for NPE 0/1, A,B, C ) settings are proper ], but currently, I have a severe problem getting through the NFS mounting problem through DHCP. I run a DHCP server on Windows (tftpd32) and it rejects the discover packet as too long (1520 bytes). I can dig in an change the packet size in the kernel. But I suspect that there is something more to it. Is there any specific DHCP / NFS server that I should be using. Please help me. Thanks, Mukunda DISCLAIMER: The information contained in this message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and permanently delete this message and any attachments from your system. Any dissemination, use, review, distribution, printing or copying of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change. PointRed Telecom Ltd (including its group companies) shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system and does not guarantee that the integrity of this communication has been maintained or that this communication is free of viruses, interceptions or interferences. From owner-freebsd-arm@FreeBSD.ORG Wed Oct 31 10:26:01 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C49D0D63; Wed, 31 Oct 2012 10:26:01 +0000 (UTC) (envelope-from doginou@kanar.ci0.org) Received: from kanar.ci0.org (unknown [IPv6:2a01:e0b:1:150:ca0a:a9ff:fef1:a4c9]) by mx1.freebsd.org (Postfix) with ESMTP id 5198F8FC12; Wed, 31 Oct 2012 10:26:00 +0000 (UTC) Received: from kanar.ci0.org (pluxor@localhost [127.0.0.1]) by kanar.ci0.org (8.14.5/8.14.5) with ESMTP id q9VAPbmP025385; Wed, 31 Oct 2012 11:25:37 +0100 (CET) (envelope-from doginou@kanar.ci0.org) Received: (from doginou@localhost) by kanar.ci0.org (8.14.5/8.14.5/Submit) id q9VAPbKt025384; Wed, 31 Oct 2012 11:25:37 +0100 (CET) (envelope-from doginou) Date: Wed, 31 Oct 2012 11:25:37 +0100 From: Olivier Houchard To: Giovanni Trematerra Subject: Re: [PATCH] use vtophys instead of pmap_kextract Message-ID: <20121031102536.GA25336@ci0.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i 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: Wed, 31 Oct 2012 10:26:01 -0000 Hi Giovanni, On Tue, Oct 30, 2012 at 11:12:20PM +0100, Giovanni Trematerra wrote: > Hi, > could you please review and commit the patch below? > > The patch changes the calls to pmap_kextract in vtophys macro. > This also fixes a compiler warning when SMP is enabled to Marvel > ARMADA XP boards. > I'm not sure there's a point in doing this, the uses of pmap_kextract() are legit, and using vtophys() instead would just hide potential type bugs. I'd rather just explicitely add a cast in the Marvel code, as your original patch for the TI code did. Regards, Olivier From owner-freebsd-arm@FreeBSD.ORG Wed Oct 31 13:20:45 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 17D9AA7 for ; Wed, 31 Oct 2012 13:20:45 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-ia0-f182.google.com (mail-ia0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id C34468FC16 for ; Wed, 31 Oct 2012 13:20:44 +0000 (UTC) Received: by mail-ia0-f182.google.com with SMTP id k10so1326308iag.13 for ; Wed, 31 Oct 2012 06:20:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=Ldm1S9GE+iiHcmu+er4+RNJ2Iw+tQRk9NDYdvNX9OkE=; b=JdutfgDALjbxFv0aZ68F1sSR6XjCcWJlVsGuCN5zVg52XeIOKRDCOH1F0xhrPH9Z7l CPAI8jP3kXXWSxE/o7gKh/fNhHkc4YTx/u3eybuJYCHjPqoq4gN56nRBId2YCfG4zP0M lQzC1m2rnmuQGkg0q97S5Jc6Yu8NMb5F7tDITxeK5hhihDHkLBH1wuIoZnb/WR9etvhQ +7Mdxu5kauN/m1s4t62qhXDlHFLwUdicl1Te63pmwo7PxLclpqPyfD3bJgLO/wkIfyiW uL3EXm4C3SxW2j7wOx2LJhZLYgvQKsKsJrQJ4a4cQkGtbGB87T3P3Gr3XHIDkbtGloX4 zuXg== Received: by 10.50.185.194 with SMTP id fe2mr1378547igc.60.1351689638346; Wed, 31 Oct 2012 06:20:38 -0700 (PDT) Received: from 53.imp.bsdimp.com (50-78-194-198-static.hfc.comcastbusiness.net. [50.78.194.198]) by mx.google.com with ESMTPS id bg10sm10440902igc.6.2012.10.31.06.20.31 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 31 Oct 2012 06:20:34 -0700 (PDT) Sender: Warner Losh Subject: Re: Raspberry PI Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: Date: Wed, 31 Oct 2012 07:20:29 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <37AD7586-F0FA-4E16-91C4-9E32DD7E3973@bsdimp.com> References: <50909DBE.2060408@bluezbox.com> To: Oleksandr Tymoshenko X-Mailer: Apple Mail (2.1084) X-Gm-Message-State: ALoCoQlwCpoXREP9C/G/0a1ok+jpL5UH5A/LC5UAvaPu2D5qEiNPvm3m0XD7Ty1vkUtTnFiKRXkF Cc: Kang Yin Su , "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: Wed, 31 Oct 2012 13:20:45 -0000 On Oct 31, 2012, at 12:56 AM, Oleksandr Tymoshenko wrote: >=20 > On 2012-10-30, at 9:23 PM, Warner Losh wrote: >=20 >>=20 >> On Oct 30, 2012, at 9:40 PM, Oleksandr Tymoshenko wrote: >>>> 3. Ethernet mac address random change every time boot-up? It may = due to >>>> uboot or firmware issue - apologize if it's OT. >>> It's FreeBSD problem that requires somewhat wider solution then = hacking one network driver. >>=20 >> Why aren't we just getting the MAC address from the FDT? Isn't that = how Linux passes it in? >=20 >=20 > The problem is not getting MAC address from u-boot but to deliver it = to if_smsc in non-hackish way. > We have several drivers that get their MAC addresses from boot loaders = and I think we need to=20 > unify the way they discover available addresses. So we have/create a meta-data node for MAC, like we do for most other = things? Warner From owner-freebsd-arm@FreeBSD.ORG Wed Oct 31 19:35:34 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E0152D7E; Wed, 31 Oct 2012 19:35:34 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from mail.bitblocks.com (ns1.bitblocks.com [173.228.5.8]) by mx1.freebsd.org (Postfix) with ESMTP id B556C8FC08; Wed, 31 Oct 2012 19:35:34 +0000 (UTC) Received: from bitblocks.com (localhost [127.0.0.1]) by mail.bitblocks.com (Postfix) with ESMTP id 387C3B827; Wed, 31 Oct 2012 12:35:28 -0700 (PDT) To: Tim Kientzle Subject: Re: BeagleBone questions (was Re: Towards an ARM system-building script) In-reply-to: Your message of "Tue, 30 Oct 2012 23:01:12 PDT." References: <2E208EEB-B2CF-4AC6-B420-03FB4CF08041@freebsd.org> <1351522908.1123.356.camel@revolution.hippie.lan> <1351550400.1123.364.camel@revolution.hippie.lan> Comments: In-reply-to Tim Kientzle message dated "Tue, 30 Oct 2012 23:01:12 -0700." Date: Wed, 31 Oct 2012 12:35:28 -0700 From: Bakul Shah Message-Id: <20121031193528.387C3B827@mail.bitblocks.com> Cc: "freebsd-arm@freebsd.org" , Alie Tan 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, 31 Oct 2012 19:35:34 -0000 On Tue, 30 Oct 2012 23:01:12 PDT Tim Kientzle wrote: > > On Oct 30, 2012, at 9:20 AM, Adrian Chadd wrote: > > > .. ah. armv5 has no sleep "halt" function, so it's just spinning. > > Chances are that's a good candidate for why things are running too > > warm. > > RaspberryPi uses a Broadcom BCM2835 with an ARM1176JZF-S core (ARMv6). > > BeagleBone uses a TI Sitara AM3358 with an ARM Cortex-A8 core (ARMv7). See http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.faqs/ka13332.html The method outlined here puts Rpi in low power standby mode, waiting for an interrupt to wake it up. Haven't measured actual power us in this mode. From owner-freebsd-arm@FreeBSD.ORG Wed Oct 31 21:20:14 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EFAA6B09 for ; Wed, 31 Oct 2012 21:20:14 +0000 (UTC) (envelope-from br@mx.bsdpad.com) Received: from mx.bsdpad.com (mx.bsdpad.com [50.22.178.118]) by mx1.freebsd.org (Postfix) with ESMTP id CF9768FC12 for ; Wed, 31 Oct 2012 21:20:14 +0000 (UTC) Received: from mx.bsdpad.com ([50.22.178.118]) by mx.bsdpad.com with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80 (FreeBSD)) (envelope-from ) id 1TTfho-000Cfx-10; Wed, 31 Oct 2012 21:20:08 +0000 Received: (from br@localhost) by mx.bsdpad.com (8.14.5/8.14.5/Submit) id q9VLK7A9048728; Thu, 1 Nov 2012 01:20:07 +0400 (MSK) (envelope-from br) Date: Thu, 1 Nov 2012 01:20:07 +0400 From: Ruslan Bukin To: Warner Losh Subject: Re: exynos4412 hangs on enabling MMU Message-ID: <20121031212007.GA48430@jail.io> References: <20121030123231.GA91006@jail.io> <1351607803.1120.27.camel@revolution.hippie.lan> <7FA4A9AA-F217-4425-9A21-E0967237540C@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <7FA4A9AA-F217-4425-9A21-E0967237540C@bsdimp.com> User-Agent: Mutt/1.5.21 (2010-09-15) 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: Wed, 31 Oct 2012 21:20:15 -0000 On Tue, Oct 30, 2012 at 10:08:21AM -0600, Warner Losh wrote: > > > On Tue, 2012-10-30 at 16:32 +0400, Ruslan Bukin wrote: > >> hello! > >> > >> exynos hangs on mcr cmd in this context: > >> > >> /* Enable MMU */ > >> [..] > >> orr r0, r0, #(CPU_CONTROL_MMU_ENABLE | CPU_CONTROL_DC_ENABLE) > >> mcr p15, 0, r0, c1, c0, 0 > >> [..] > >> > >> without CPU_CONTROL_MMU_ENABLE flag, mcr command works, > >> but board hangs again on line: > >> str r3, [r1], #0x0004 /* get zero init data */ > >> > >> any suggestions? > >> > >> -Ruslan > > > > I'd be interested in tracking that down... I've been booting lots of armv5 boards lately and haven't seen this hang with current. just read CPU_CONTROL_MMU_ENABLE bit from arm using mrc command, and it shows that MMU is enabled after mcr cmd (without using CPU_CONTROL_MMU_ENABLE bit), and disabled before. So MMU switch seems works. but board still hangs on line: str r3, [r1], #0x0004 /* get zero init data */ -Ruslan From owner-freebsd-arm@FreeBSD.ORG Wed Oct 31 22:04:17 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2527E140 for ; Wed, 31 Oct 2012 22:04:17 +0000 (UTC) (envelope-from giovanni.trematerra@gmail.com) Received: from mail-qc0-f182.google.com (mail-qc0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id C25CD8FC0C for ; Wed, 31 Oct 2012 22:04:16 +0000 (UTC) Received: by mail-qc0-f182.google.com with SMTP id k19so1673844qcs.13 for ; Wed, 31 Oct 2012 15:04:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=wuHNh0Dbpgh8Y0e1GZjPltVj7ts2cVgAw2YfAKjghPk=; b=XMcTbWt3gSqS2NEDUSURY4SyJHBz9fxMc/7YrSuX+K1+rFR159+xbr6P3zJzkJza0g 4gcp+O3QIlKk4W6BMltWvs5pyxDIoClCe5u6tjMffWsbfltL1fD20G7xrAen658Bi4Iq qaC5ckdUJZwcC2iqTKXk13G7QjRy/5seexFiR8MSACaDslwMIjWNQ9Td28a8CZYuFYmp NeN7+uQNdRC9rimJpEVU9+lDCfuRbPe1LQv4i0saHUfhgKqLoF7CDXv3ILJUNR4IsQJM cRFSISRSWyz8pINKd6KR+IfSYhej+HZfCctSOes0d4XZHLdi6DAT6uzQWo5eADsuu8Sm Hykw== MIME-Version: 1.0 Received: by 10.49.1.194 with SMTP id 2mr30737586qeo.56.1351721056048; Wed, 31 Oct 2012 15:04:16 -0700 (PDT) Sender: giovanni.trematerra@gmail.com Received: by 10.229.63.138 with HTTP; Wed, 31 Oct 2012 15:04:15 -0700 (PDT) In-Reply-To: <20121031102536.GA25336@ci0.org> References: <20121031102536.GA25336@ci0.org> Date: Wed, 31 Oct 2012 23:04:15 +0100 X-Google-Sender-Auth: wFTDb4lmMVUbX_YQoUY8rc2d9xk Message-ID: Subject: Re: [PATCH] use vtophys instead of pmap_kextract From: Giovanni Trematerra To: Olivier Houchard Content-Type: text/plain; charset=UTF-8 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: Wed, 31 Oct 2012 22:04:17 -0000 On Wed, Oct 31, 2012 at 11:25 AM, Olivier Houchard wrote: > > Hi Giovanni, > > On Tue, Oct 30, 2012 at 11:12:20PM +0100, Giovanni Trematerra wrote: > > Hi, > > could you please review and commit the patch below? > > > > The patch changes the calls to pmap_kextract in vtophys macro. > > This also fixes a compiler warning when SMP is enabled to Marvel > > ARMADA XP boards. > > > > I'm not sure there's a point in doing this, the uses of pmap_kextract() are > legit, and using vtophys() instead would just hide potential type bugs. I'd > rather just explicitely add a cast in the Marvel code, as your original patch > for the TI code did. Well, I'd prefer to not see casts here and there in the kernel and vtophys seems a good way to go. So I can understand to not make changes in busdma_machdep[-v6].c where no casts are needed and my changes were only for uniformity but I still think that to silent the compiler warning we should use vtophys rather than pmap_kextract directly. Anyway I'm not going to argue on that. Here it is the patch to fix the compiler warning for Marvel ARMADA XP board. Thank you -- Gianni Index: sys/arm/mv/armadaxp/armadaxp_mp.c =================================================================== --- sys/arm/mv/armadaxp/armadaxp_mp.c (revision 242212) +++ sys/arm/mv/armadaxp/armadaxp_mp.c (working copy) @@ -179,7 +179,7 @@ platform_mp_start_ap(void) for (cpu_num = 1; cpu_num < mp_ncpus; cpu_num++ ) bus_space_write_4(fdtbus_bs_tag, CPU_PMU(cpu_num), CPU_PMU_BOOT, - pmap_kextract(mpentry)); + pmap_kextract((vm_offset_t)mpentry)); cpu_idcache_wbinv_all(); From owner-freebsd-arm@FreeBSD.ORG Thu Nov 1 03:39:44 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7FCE1C58 for ; Thu, 1 Nov 2012 03:39:44 +0000 (UTC) (envelope-from alie@affle.com) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 298358FC0C for ; Thu, 1 Nov 2012 03:39:43 +0000 (UTC) Received: by mail-vc0-f182.google.com with SMTP id fw7so2976069vcb.13 for ; Wed, 31 Oct 2012 20:39:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :x-gm-message-state; bh=nWayhGPbisEeYCSPzfEbDfMieUK2BJlSLqQt1w2pQvY=; b=WOvYAG3a48kZrfch9W7ANjJLJA6vQuqPYY22gT3YLCPc/+WNHis4rS5K74R9fWJfA6 rAa896TVFKR8qDSZOYrfhPc/wURDkg/XMVZoB1IcK9U3UH1NGcCSetW229ZFjMJUzqDv PtrI4YayvRtI+LbbeVh0iktflpzWUsGb1JU31+QBJHS8okpIbNpwQWk9DfU7JIhvRre0 h9AQm7sQWx+XEYTs02xBi325w+wO7ZW2DVTsYCKmjMD0Z8bQS+7q1cZBoZWGtfLb80Ig QiEodQdq7oC5zeajjJw7LrR/vtiOc5J2uCdQ1v8ds1Wc0BCe1ruP2/FlLa1BmNoWvnnN DA/Q== MIME-Version: 1.0 Received: by 10.220.221.193 with SMTP id id1mr20819248vcb.8.1351741183473; Wed, 31 Oct 2012 20:39:43 -0700 (PDT) Received: by 10.58.233.80 with HTTP; Wed, 31 Oct 2012 20:39:43 -0700 (PDT) Date: Thu, 1 Nov 2012 11:39:43 +0800 Message-ID: Subject: Building pkg on BeagleBone / Raspberry Pi From: Alie Tan To: freebsd-arm@freebsd.org X-Gm-Message-State: ALoCoQm6svB7/2Hx4MyvTjoKUpQPitRdoIKn/p7QaTeyXBI8vSWm5Np1a8ug1cUat9cAcZwZKYfi 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: Thu, 01 Nov 2012 03:39:44 -0000 Hi, Anyone have experience building pkg or any ports on BeagleBone / Raspberry Pi? I got "cc :Internal error" while compiling pkg on Beaglebone and Raspberry Pi root@beaglebone:/usr/ports/ports-mgmt # make -C /usr/ports/ports-mgmt/pkg install clean ===> Building for pkg-1.0.1 ===> external (all) ===> external/sqlite (all) Warning: Object directory not changed from original /usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/sqlite building static sqlite3 library ranlib libsqlite3.a ===> external/libyaml (all) Warning: Object directory not changed from original /usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml cc -O -pipe -fPIC -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/include -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml -DHAVE_CONFIG_H -std=gnu99 -Wsystem-headers -Werror -Wno-pointer-sign -c /usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/src/api.c -o api.o cc -O -pipe -fPIC -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/include -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml -DHAVE_CONFIG_H -std=gnu99 -Wsystem-headers -Werror -Wno-pointer-sign -c /usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/src/dumper.c -o dumper.o cc -O -pipe -fPIC -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/include -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml -DHAVE_CONFIG_H -std=gnu99 -Wsystem-headers -Werror -Wno-pointer-sign -c /usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/src/emitter.c -o emitter.o cc -O -pipe -fPIC -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/include -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml -DHAVE_CONFIG_H -std=gnu99 -Wsystem-headers -Werror -Wno-pointer-sign -c /usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/src/loader.c -o loader.o cc -O -pipe -fPIC -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/include -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml -DHAVE_CONFIG_H -std=gnu99 -Wsystem-headers -Werror -Wno-pointer-sign -c /usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/src/parser.c -o parser.o cc -O -pipe -fPIC -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/include -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml -DHAVE_CONFIG_H -std=gnu99 -Wsystem-headers -Werror -Wno-pointer-sign -c /usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/src/reader.c -o reader.o cc -O -pipe -fPIC -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/include -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml -DHAVE_CONFIG_H -std=gnu99 -Wsystem-headers -Werror -Wno-pointer-sign -c /usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/src/scanner.c -o scanner.o cc: Internal error: Killed (program cc1) Please submit a full bug report. See for instructions. *** [scanner.o] Error code 1 1 error *** [all] Error code 2 1 error *** [all] Error code 2 1 error *** [do-build] Error code 1 Stop in /usr/ports/ports-mgmt/pkg. From owner-freebsd-arm@FreeBSD.ORG Thu Nov 1 03:53:34 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 10F1C1A1 for ; Thu, 1 Nov 2012 03:53:34 +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 C206C8FC08 for ; Thu, 1 Nov 2012 03:53:33 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id qA13rPoW077986; Thu, 1 Nov 2012 03:53:25 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.143] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id 662cqd6dh3rp72xcc7qedky5is; Thu, 01 Nov 2012 03:53:25 +0000 (UTC) (envelope-from tim@kientzle.com) Subject: Re: Building pkg on BeagleBone / Raspberry Pi Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=us-ascii From: Tim Kientzle In-Reply-To: Date: Wed, 31 Oct 2012 20:53:24 -0700 Content-Transfer-Encoding: 7bit Message-Id: References: To: Alie Tan 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: Thu, 01 Nov 2012 03:53:34 -0000 On Oct 31, 2012, at 8:39 PM, Alie Tan wrote: > > Anyone have experience building pkg or any ports on BeagleBone / Raspberry > Pi? I've tried to build a number of ports on BeagleBone; some built very easily, some not so. I have not specifically tried building pkg. At this point, anyone trying to use FreeBSD on one of these platforms should expect to spend some time debugging issues of this sort. Tim From owner-freebsd-arm@FreeBSD.ORG Thu Nov 1 04:01:17 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 93B9429B for ; Thu, 1 Nov 2012 04:01:17 +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 679018FC0C for ; Thu, 1 Nov 2012 04:01:17 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id qA140gLX078038; Thu, 1 Nov 2012 04:00:42 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.143] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id y2j8e4tktnh6fm8hvu4nubhc96; Thu, 01 Nov 2012 04:00:42 +0000 (UTC) (envelope-from tim@kientzle.com) Subject: Re: Raspberry PI Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=windows-1252 From: Tim Kientzle In-Reply-To: <8F441EEB-3654-46DD-A7F2-5060B6AFF5C8@bluezbox.com> Date: Wed, 31 Oct 2012 21:00:42 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <1F3AD045-5EF4-40A9-9532-5B070128F3DC@kientzle.com> References: <8F441EEB-3654-46DD-A7F2-5060B6AFF5C8@bluezbox.com> To: Oleksandr Tymoshenko X-Mailer: Apple Mail (2.1283) Cc: 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: Thu, 01 Nov 2012 04:01:17 -0000 On Oct 30, 2012, at 11:47 PM, Oleksandr Tymoshenko wrote: >=20 > On 2012-10-30, at 11:39 PM, Tim Kientzle wrote: >=20 >> Has anyone looked at the memory size check? >>=20 >> I'm using the arm192_start.elf which should advertise >> 192MB RAM. But U-Boot is still coming up with >> 128MB memory size, which it passes to ubldr, which >> gets passed to the kernel. >=20 > It's hardcoded in by version u-boot. Stephen Warren is working on = official branch > of u-boot for Raspberry Pi (and pushing it to upstream) and he has a = patch for > proper memory size detection (align with several other patches): >=20 > http://www.mail-archive.com/u-boot@lists.denx.de/msg96641.html I'll watch for that, then. ubldr already gets the memory map information from U-Boot correctly, and passes it to the kernel, so once U-Boot is fixed everything else should follow. =85 I need to go order a new RPi 512 now =85 ;-) Tim From owner-freebsd-arm@FreeBSD.ORG Thu Nov 1 04:32:16 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 658676CC for ; Thu, 1 Nov 2012 04:32:16 +0000 (UTC) (envelope-from alie@affle.com) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0B0B68FC08 for ; Thu, 1 Nov 2012 04:32:15 +0000 (UTC) Received: by mail-vc0-f182.google.com with SMTP id fw7so3008902vcb.13 for ; Wed, 31 Oct 2012 21:32:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=V4bSaNdIY7Dx82pilmuh1k1fuZbZyQtuS2hR75w6kZI=; b=LZzjfB5ncGw5l77Z471a+NWO0JCHhIWfkeNfz22FtwdHN3yqT+n1832pVanaCgc1K5 zS32nIddLEqG94d09GD3IAl8E9oENJKxCPHsPW3oaeUQpLa39YNPW/jd4dJbfBsFEIla klN+AX1daaUxAo2J/NRbGpnTrk8rgYOk83TtuTyDVCBB5KvPxsnq+ren5SJjT1f4U/Jv l2P0O49qZ7sPO6OOXBUvCNGxuW++pgFjC5/sz9lzPTBCm52KzsAlxNU8cX5bsz+5x/FC rI77S8GW9qQGu3DVIB2DvkPtEAUPPMowRqV8c8mzdyaUiTcQUOwNFkvGnxqF3vOzrli/ zVow== MIME-Version: 1.0 Received: by 10.52.179.2 with SMTP id dc2mr49660437vdc.50.1351744329265; Wed, 31 Oct 2012 21:32:09 -0700 (PDT) Received: by 10.58.233.80 with HTTP; Wed, 31 Oct 2012 21:32:09 -0700 (PDT) In-Reply-To: References: Date: Thu, 1 Nov 2012 12:32:09 +0800 Message-ID: Subject: Re: Building pkg on BeagleBone / Raspberry Pi From: Alie Tan To: Tim Kientzle X-Gm-Message-State: ALoCoQluY97ZGyJL69shMr32/4PGuzAkl+Lf0SAtBp0jSlDcsy2H3vwR1TcrM4FlZEifL3JTw4aC 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: Thu, 01 Nov 2012 04:32:16 -0000 Yeap, but is there anyway to force make install to not to build pkg while building specific port?? On Thu, Nov 1, 2012 at 11:53 AM, Tim Kientzle wrote: > On Oct 31, 2012, at 8:39 PM, Alie Tan wrote: > > > > Anyone have experience building pkg or any ports on BeagleBone / > Raspberry > > Pi? > > I've tried to build a number of ports on BeagleBone; some built > very easily, some not so. I have not specifically tried building > pkg. > > At this point, anyone trying to use FreeBSD on one of these > platforms should expect to spend some time debugging > issues of this sort. > > Tim > > From owner-freebsd-arm@FreeBSD.ORG Thu Nov 1 04:48:13 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8DB68787 for ; Thu, 1 Nov 2012 04:48:13 +0000 (UTC) (envelope-from paradyse@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 597C78FC0A for ; Thu, 1 Nov 2012 04:48:13 +0000 (UTC) Received: by mail-pb0-f54.google.com with SMTP id rp8so1570351pbb.13 for ; Wed, 31 Oct 2012 21:48:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=CXGBEtXDDjd41njigZ5N+zlChKRZzhfrFHaTOodAew4=; b=uPo0/QzVYe6IeeVfC0hf/29tQ5k8sqDeDuhnF7YYwUEEeZxWmePuh7MKg7qg31qWfc WEE0TarbfrinxHvWNiJsd9mqAvQghlFj484cODRuIaXKd3RdLZmGJuNLDUcMKIX7ndGT PaYKsSBy/TwFomQ0XxirpUv0xblmrc5u+c0TKIWMTRMc1RS7VXd/IMKTPado90VAkT03 X4tGmglF/5ezOb9n7iW31cWS8D5fV+XgGluNFHaampEb5/v5n5AP/qfj+wT7dXto0u2g /KQxvQCCzVwytJGW0NM0ERRVbF13yojWnMbHzWS8h4vSF6d/gUoVawcBulf7gxWE2MdO 7YwA== Received: by 10.69.1.73 with SMTP id be9mr38506518pbd.116.1351745292771; Wed, 31 Oct 2012 21:48:12 -0700 (PDT) MIME-Version: 1.0 Sender: paradyse@gmail.com Received: by 10.68.253.8 with HTTP; Wed, 31 Oct 2012 21:47:52 -0700 (PDT) In-Reply-To: References: From: Kang Yin Su Date: Thu, 1 Nov 2012 12:47:52 +0800 X-Google-Sender-Auth: 7dLbGZTSMfVixsI8Ps48aEfDrYQ Message-ID: Subject: Re: Building pkg on BeagleBone / Raspberry Pi To: Alie Tan Content-Type: text/plain; charset=ISO-8859-1 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: Thu, 01 Nov 2012 04:48:13 -0000 It looks like cc force to be killed due to OOM? pkgng is in world by default on freebsd10-current but there is no pre-built binary package for arm currently. On Thu, Nov 1, 2012 at 11:39 AM, Alie Tan wrote: > Hi, > > Anyone have experience building pkg or any ports on BeagleBone / Raspberry > Pi? > > I got "cc :Internal error" while compiling pkg on Beaglebone and Raspberry > Pi > > root@beaglebone:/usr/ports/ports-mgmt # make -C /usr/ports/ports-mgmt/pkg > install clean > ===> Building for pkg-1.0.1 > ===> external (all) > ===> external/sqlite (all) > Warning: Object directory not changed from original > /usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/sqlite > building static sqlite3 library > ranlib libsqlite3.a > ===> external/libyaml (all) > Warning: Object directory not changed from original > /usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml > cc -O -pipe -fPIC > -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/include > -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml > -DHAVE_CONFIG_H -std=gnu99 -Wsystem-headers -Werror -Wno-pointer-sign -c > /usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/src/api.c -o api.o > cc -O -pipe -fPIC > -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/include > -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml > -DHAVE_CONFIG_H -std=gnu99 -Wsystem-headers -Werror -Wno-pointer-sign -c > /usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/src/dumper.c -o > dumper.o > cc -O -pipe -fPIC > -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/include > -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml > -DHAVE_CONFIG_H -std=gnu99 -Wsystem-headers -Werror -Wno-pointer-sign -c > /usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/src/emitter.c -o > emitter.o > cc -O -pipe -fPIC > -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/include > -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml > -DHAVE_CONFIG_H -std=gnu99 -Wsystem-headers -Werror -Wno-pointer-sign -c > /usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/src/loader.c -o > loader.o > cc -O -pipe -fPIC > -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/include > -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml > -DHAVE_CONFIG_H -std=gnu99 -Wsystem-headers -Werror -Wno-pointer-sign -c > /usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/src/parser.c -o > parser.o > cc -O -pipe -fPIC > -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/include > -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml > -DHAVE_CONFIG_H -std=gnu99 -Wsystem-headers -Werror -Wno-pointer-sign -c > /usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/src/reader.c -o > reader.o > cc -O -pipe -fPIC > -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/include > -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml > -DHAVE_CONFIG_H -std=gnu99 -Wsystem-headers -Werror -Wno-pointer-sign -c > /usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/src/scanner.c -o > scanner.o > cc: Internal error: Killed (program cc1) > Please submit a full bug report. > See for instructions. > *** [scanner.o] Error code 1 > 1 error > *** [all] Error code 2 > 1 error > *** [all] Error code 2 > 1 error > *** [do-build] Error code 1 > > Stop in /usr/ports/ports-mgmt/pkg. > _______________________________________________ > 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 Thu Nov 1 05:01:48 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 59BBE86D for ; Thu, 1 Nov 2012 05:01:48 +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 2052B8FC17 for ; Thu, 1 Nov 2012 05:01:47 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id qA150TTA078232; Thu, 1 Nov 2012 05:00:29 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.143] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id t8rgiwacx68gja6ddhf4mkpshe; Thu, 01 Nov 2012 05:00:27 +0000 (UTC) (envelope-from tim@kientzle.com) Subject: Re: Building pkg on BeagleBone / Raspberry Pi Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=us-ascii From: Tim Kientzle In-Reply-To: Date: Wed, 31 Oct 2012 22:00:25 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <1CB566CC-9E6F-4237-9061-D2D1BD1FE970@kientzle.com> References: To: Kang Yin Su X-Mailer: Apple Mail (2.1283) Cc: freebsd-arm@freebsd.org, Alie Tan X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2012 05:01:48 -0000 The images built by beaglebsd.sh currently do not create a swap partition. After booting, you can add one: # gpart add -t freebsd -s 512m mmcsd0 mmcsd0s3 added # swapon /dev/mmcsd0s3 On Oct 31, 2012, at 9:47 PM, Kang Yin Su wrote: > It looks like cc force to be killed due to OOM? > pkgng is in world by default on freebsd10-current but there is no > pre-built binary package for arm currently. >=20 > On Thu, Nov 1, 2012 at 11:39 AM, Alie Tan wrote: >> Hi, >>=20 >> Anyone have experience building pkg or any ports on BeagleBone / = Raspberry >> Pi? >>=20 >> I got "cc :Internal error" while compiling pkg on Beaglebone and = Raspberry >> Pi >>=20 >> root@beaglebone:/usr/ports/ports-mgmt # make -C = /usr/ports/ports-mgmt/pkg >> install clean >> =3D=3D=3D> Building for pkg-1.0.1 >> =3D=3D=3D> external (all) >> =3D=3D=3D> external/sqlite (all) >> Warning: Object directory not changed from original >> /usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/sqlite >> building static sqlite3 library >> ranlib libsqlite3.a >> =3D=3D=3D> external/libyaml (all) >> Warning: Object directory not changed from original >> /usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml >> cc -O -pipe -fPIC >> -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/include >> -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml >> -DHAVE_CONFIG_H -std=3Dgnu99 -Wsystem-headers -Werror = -Wno-pointer-sign -c >> /usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/src/api.c = -o api.o >> cc -O -pipe -fPIC >> -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/include >> -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml >> -DHAVE_CONFIG_H -std=3Dgnu99 -Wsystem-headers -Werror = -Wno-pointer-sign -c >> = /usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/src/dumper.c = -o >> dumper.o >> cc -O -pipe -fPIC >> -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/include >> -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml >> -DHAVE_CONFIG_H -std=3Dgnu99 -Wsystem-headers -Werror = -Wno-pointer-sign -c >> = /usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/src/emitter.c = -o >> emitter.o >> cc -O -pipe -fPIC >> -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/include >> -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml >> -DHAVE_CONFIG_H -std=3Dgnu99 -Wsystem-headers -Werror = -Wno-pointer-sign -c >> = /usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/src/loader.c = -o >> loader.o >> cc -O -pipe -fPIC >> -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/include >> -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml >> -DHAVE_CONFIG_H -std=3Dgnu99 -Wsystem-headers -Werror = -Wno-pointer-sign -c >> = /usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/src/parser.c = -o >> parser.o >> cc -O -pipe -fPIC >> -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/include >> -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml >> -DHAVE_CONFIG_H -std=3Dgnu99 -Wsystem-headers -Werror = -Wno-pointer-sign -c >> = /usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/src/reader.c = -o >> reader.o >> cc -O -pipe -fPIC >> -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/include >> -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml >> -DHAVE_CONFIG_H -std=3Dgnu99 -Wsystem-headers -Werror = -Wno-pointer-sign -c >> = /usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/src/scanner.c = -o >> scanner.o >> cc: Internal error: Killed (program cc1) >> Please submit a full bug report. >> See for instructions. >> *** [scanner.o] Error code 1 >> 1 error >> *** [all] Error code 2 >> 1 error >> *** [all] Error code 2 >> 1 error >> *** [do-build] Error code 1 >>=20 >> Stop in /usr/ports/ports-mgmt/pkg. >> _______________________________________________ >> 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" > _______________________________________________ > 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" >=20 From owner-freebsd-arm@FreeBSD.ORG Thu Nov 1 09:52:23 2012 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4731A9C5 for ; Thu, 1 Nov 2012 09:52:23 +0000 (UTC) (envelope-from werner@thieprojects.ch) Received: from newton.metanet.ch (newton.metanet.ch [80.74.158.130]) by mx1.freebsd.org (Postfix) with ESMTP id 882EC8FC14 for ; Thu, 1 Nov 2012 09:52:21 +0000 (UTC) Received: (qmail 6995 invoked from network); 1 Nov 2012 10:45:39 +0100 Received: from 217-071-083-008.ip-tech.ch (HELO ?192.168.11.88?) (217.71.83.8) by newton.metanet.ch with (DHE-RSA-AES256-SHA encrypted) SMTP; 1 Nov 2012 10:45:39 +0100 Message-ID: <509244C3.3070304@thieprojects.ch> Date: Thu, 01 Nov 2012 10:45:39 +0100 From: Werner Thie User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 MIME-Version: 1.0 To: arm@freebsd.org Subject: BeagleBone SD card problems Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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: Thu, 01 Nov 2012 09:52:23 -0000 Hi all just got my fingers wet with a Rev A6 Beaglebone. Being a long time user of FreeBSD I found of course Tim Kientzle's project on github. Setting up a VM and the building of an image was a nobrainer, mahalo and kudos to Tim! When experimentally adding a swap file I encountered the following message repeatedly on console: dd if=/dev/zero of=/usr/swap0 bs=1024k count=512 ti_mmchs0: Error: current cmd NULL, already done? : This is coming from the MMC/SD/SDIO, driver in /usr/local/src/sys/arm/ti/ti_mmchs.c Is there anybody out there, who can shed some light on this problem and push me into the right direction. This happening with the original 4GB microSD, which works flawlessly with the Angstrom Linux image on it originally and also with other cards I tried. Mahalo, Werner From owner-freebsd-arm@FreeBSD.ORG Thu Nov 1 12:09:34 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6685D650 for ; Thu, 1 Nov 2012 12:09:34 +0000 (UTC) (envelope-from werner@thieprojects.ch) Received: from newton.metanet.ch (newton.metanet.ch [80.74.158.130]) by mx1.freebsd.org (Postfix) with ESMTP id 9E81D8FC0A for ; Thu, 1 Nov 2012 12:09:33 +0000 (UTC) Received: (qmail 15943 invoked from network); 1 Nov 2012 13:09:31 +0100 Received: from 217-071-083-008.ip-tech.ch (HELO ?192.168.11.88?) (217.71.83.8) by newton.metanet.ch with (DHE-RSA-AES256-SHA encrypted) SMTP; 1 Nov 2012 13:09:31 +0100 Message-ID: <5092667B.2030908@thieprojects.ch> Date: Thu, 01 Nov 2012 13:09:31 +0100 From: Werner Thie User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 MIME-Version: 1.0 To: freebsd-arm@freebsd.org Subject: BeagleBone SD card problems Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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: Thu, 01 Nov 2012 12:09:34 -0000 Hi all just got my fingers wet with a Rev A6 Beaglebone. Being a long time user of FreeBSD I found of course Tim Kientzle's project on github. Setting up a VM and the building of an image was a nobrainer, mahalo and kudos to Tim! When experimentally adding a swap file I encountered the following message repeatedly on console: dd if=/dev/zero of=/usr/swap0 bs=1024k count=512 ti_mmchs0: Error: current cmd NULL, already done? : This is coming from the MMC/SD/SDIO, driver in /usr/local/src/sys/arm/ti/ti_mmchs.c Is there anybody out there, who can shed some light on this problem and push me into the right direction. This happening with the original 4GB microSD, which works flawlessly with the Angstrom Linux image on it originally and also with other cards I tried. Mahalo, Werner PS: - After adding swap space the bone is now currently compiling Python27, although spewing the above ti_mmchs error mostly when downloading... - I also timeout errors when compiling sqlite3 (a really big source) when the swap was actually used From owner-freebsd-arm@FreeBSD.ORG Fri Nov 2 03:24:06 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AE6A2DE3 for ; Fri, 2 Nov 2012 03:24:06 +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 86A028FC0A for ; Fri, 2 Nov 2012 03:24:05 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id qA23O4bn084486; Fri, 2 Nov 2012 03:24:04 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.143] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id inxpakwk7ndag9r6hvh4unyha6; Fri, 02 Nov 2012 03:24:04 +0000 (UTC) (envelope-from tim@kientzle.com) Subject: Re: BeagleBone SD card problems Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=us-ascii From: Tim Kientzle In-Reply-To: <5092667B.2030908@thieprojects.ch> Date: Thu, 1 Nov 2012 20:24:04 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <5C5E2EAA-DEE7-4F79-9F23-A614DE32EBF9@kientzle.com> References: <5092667B.2030908@thieprojects.ch> To: Werner Thie 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: Fri, 02 Nov 2012 03:24:06 -0000 On Nov 1, 2012, at 5:09 AM, Werner Thie wrote: > Hi all >=20 > just got my fingers wet with a Rev A6 Beaglebone. Being a long time = user of FreeBSD I found of course Tim Kientzle's project on github. = Setting up a VM and the building of an image was a nobrainer, mahalo and = kudos to Tim! >=20 > When experimentally adding a swap file I encountered the following = message repeatedly on console: >=20 > dd if=3D/dev/zero of=3D/usr/swap0 bs=3D1024k count=3D512 >=20 > ti_mmchs0: Error: current cmd NULL, already done? Don't know for sure that it is a problem, actually. I think of this message more as a gentle reminder: Someone needs to study the driver and go through the hardware docs carefully to figure out whether this particular case indicates a flaw in the driver or is just an expected case that can be safely ignored. While you're in there , you might look at what's involved in converting the driver to use DMA and whether there are any other performance optimizations we should be trying. Tim From owner-freebsd-arm@FreeBSD.ORG Fri Nov 2 07:11:47 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 93DABF09 for ; Fri, 2 Nov 2012 07:11:47 +0000 (UTC) (envelope-from alie@affle.com) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3567A8FC12 for ; Fri, 2 Nov 2012 07:11:46 +0000 (UTC) Received: by mail-vb0-f54.google.com with SMTP id l1so4534771vba.13 for ; Fri, 02 Nov 2012 00:11:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=fdU3cFlfyc+6C5gxYUNoOfCSgtly2z+MZaUK4nnRSLM=; b=hy+KYi3K7J+GwuWZuX8hoMB4ypaYmW4WB9DHbI94xmc3WVuiGExnPQtKqTiPDOiWNR q8H5eguM89MXLum9kM7DWkBnz9RRq6hsXKduc6d4A/gxdToFrbd4IEpNZd9fLq2HnMGm PCu24as/Vc8fN++NXztlzSygkoJzhALGnPM0OqHHyzv3Y0eQe1XFqunA0SU9XhPrY76K vEIy+U3kIKrmN5phPcAcECKq68sns1A1g16c8U8IYYNMcCFA/ucdsGoD3sxwlIEic0Ov 3GWW3vXCNKG+JZvzfWoOYVqA+zoOPOZv6Qd/FUmI651rNraFQo2denxmQ2MjIq132N3r xraw== MIME-Version: 1.0 Received: by 10.52.65.51 with SMTP id u19mr955543vds.3.1351840305936; Fri, 02 Nov 2012 00:11:45 -0700 (PDT) Received: by 10.58.233.80 with HTTP; Fri, 2 Nov 2012 00:11:45 -0700 (PDT) In-Reply-To: <1CB566CC-9E6F-4237-9061-D2D1BD1FE970@kientzle.com> References: <1CB566CC-9E6F-4237-9061-D2D1BD1FE970@kientzle.com> Date: Fri, 2 Nov 2012 15:11:45 +0800 Message-ID: Subject: Re: Building pkg on BeagleBone / Raspberry Pi From: Alie Tan To: Tim Kientzle X-Gm-Message-State: ALoCoQlnQrT1B1mDjgl9uvEPkqiB/pQslKvWn5N12uIP1lHIXsOdvHMctC+gN6NhqViDtBRFYYuf Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Kang Yin Su , 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: Fri, 02 Nov 2012 07:11:47 -0000 Thanks Tim, Finally i have Hiawatha weserver and php up on my BeagleBone with swapfiles: # dd if=/dev/zero of=/usr/swap0 bs=2048k count=256 # chmod 0600 /usr/swap0 # mdconfig -a -t vnode -f /usr/swap0 -u 0 && swapon /dev/md0 Btw it tooks more than 20 hrs to build them LOL Regards, Alie T On Thu, Nov 1, 2012 at 1:00 PM, Tim Kientzle wrote: > The images built by beaglebsd.sh currently do not create > a swap partition. After booting, you can add one: > > # gpart add -t freebsd -s 512m mmcsd0 > mmcsd0s3 added > # swapon /dev/mmcsd0s3 > > > > > On Oct 31, 2012, at 9:47 PM, Kang Yin Su wrote: > > > It looks like cc force to be killed due to OOM? > > pkgng is in world by default on freebsd10-current but there is no > > pre-built binary package for arm currently. > > > > On Thu, Nov 1, 2012 at 11:39 AM, Alie Tan wrote: > >> Hi, > >> > >> Anyone have experience building pkg or any ports on BeagleBone / > Raspberry > >> Pi? > >> > >> I got "cc :Internal error" while compiling pkg on Beaglebone and > Raspberry > >> Pi > >> > >> root@beaglebone:/usr/ports/ports-mgmt # make -C > /usr/ports/ports-mgmt/pkg > >> install clean > >> ===> Building for pkg-1.0.1 > >> ===> external (all) > >> ===> external/sqlite (all) > >> Warning: Object directory not changed from original > >> /usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/sqlite > >> building static sqlite3 library > >> ranlib libsqlite3.a > >> ===> external/libyaml (all) > >> Warning: Object directory not changed from original > >> /usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml > >> cc -O -pipe -fPIC > >> -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/include > >> -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml > >> -DHAVE_CONFIG_H -std=gnu99 -Wsystem-headers -Werror -Wno-pointer-sign -c > >> /usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/src/api.c -o > api.o > >> cc -O -pipe -fPIC > >> -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/include > >> -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml > >> -DHAVE_CONFIG_H -std=gnu99 -Wsystem-headers -Werror -Wno-pointer-sign -c > >> /usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/src/dumper.c > -o > >> dumper.o > >> cc -O -pipe -fPIC > >> -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/include > >> -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml > >> -DHAVE_CONFIG_H -std=gnu99 -Wsystem-headers -Werror -Wno-pointer-sign -c > >> /usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/src/emitter.c > -o > >> emitter.o > >> cc -O -pipe -fPIC > >> -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/include > >> -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml > >> -DHAVE_CONFIG_H -std=gnu99 -Wsystem-headers -Werror -Wno-pointer-sign -c > >> /usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/src/loader.c > -o > >> loader.o > >> cc -O -pipe -fPIC > >> -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/include > >> -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml > >> -DHAVE_CONFIG_H -std=gnu99 -Wsystem-headers -Werror -Wno-pointer-sign -c > >> /usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/src/parser.c > -o > >> parser.o > >> cc -O -pipe -fPIC > >> -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/include > >> -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml > >> -DHAVE_CONFIG_H -std=gnu99 -Wsystem-headers -Werror -Wno-pointer-sign -c > >> /usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/src/reader.c > -o > >> reader.o > >> cc -O -pipe -fPIC > >> -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/include > >> -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml > >> -DHAVE_CONFIG_H -std=gnu99 -Wsystem-headers -Werror -Wno-pointer-sign -c > >> /usr/ports/ports-mgmt/pkg/work/pkg-1.0.1/external/libyaml/src/scanner.c > -o > >> scanner.o > >> cc: Internal error: Killed (program cc1) > >> Please submit a full bug report. > >> See for instructions. > >> *** [scanner.o] Error code 1 > >> 1 error > >> *** [all] Error code 2 > >> 1 error > >> *** [all] Error code 2 > >> 1 error > >> *** [do-build] Error code 1 > >> > >> Stop in /usr/ports/ports-mgmt/pkg. > >> _______________________________________________ > >> 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" > > _______________________________________________ > > 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 Fri Nov 2 13:35:45 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5CFFB9A4 for ; Fri, 2 Nov 2012 13:35:45 +0000 (UTC) (envelope-from werner@thieprojects.ch) Received: from newton.metanet.ch (newton.metanet.ch [80.74.158.130]) by mx1.freebsd.org (Postfix) with ESMTP id 9914D8FC12 for ; Fri, 2 Nov 2012 13:35:43 +0000 (UTC) Received: (qmail 28729 invoked from network); 2 Nov 2012 14:35:35 +0100 Received: from 217-071-083-008.ip-tech.ch (HELO ?192.168.11.88?) (217.71.83.8) by newton.metanet.ch with (DHE-RSA-AES256-SHA encrypted) SMTP; 2 Nov 2012 14:35:35 +0100 Message-ID: <5093CC27.10000@thieprojects.ch> Date: Fri, 02 Nov 2012 14:35:35 +0100 From: Werner Thie User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 MIME-Version: 1.0 To: Tim Kientzle Subject: Re: BeagleBone SD card problems References: <5092667B.2030908@thieprojects.ch> <5C5E2EAA-DEE7-4F79-9F23-A614DE32EBF9@kientzle.com> In-Reply-To: <5C5E2EAA-DEE7-4F79-9F23-A614DE32EBF9@kientzle.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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: Fri, 02 Nov 2012 13:35:45 -0000 Hi Tim thanks for responding, will have a closer look at the driver, such things irk me and using such code in production...? >> dd if=/dev/zero of=/usr/swap0 bs=1024k count=512 >> >> ti_mmchs0: Error: current cmd NULL, already done? > > Don't know for sure that it is a problem, actually. After all it says 'Error:' and i suspect it takes the kernel some time to recover, transfers accompanied with the message take longer than others of the same length not triggering it. What's your advice on cross compiling ports when doing the image, specially such ports which depend on stuff being installed? Cheers, Werner From owner-freebsd-arm@FreeBSD.ORG Fri Nov 2 13:55:15 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 58D1A59C for ; Fri, 2 Nov 2012 13:55:15 +0000 (UTC) (envelope-from freebsd@damnhippie.dyndns.org) Received: from duck.symmetricom.us (duck.symmetricom.us [206.168.13.214]) by mx1.freebsd.org (Postfix) with ESMTP id 8C80D8FC12 for ; Fri, 2 Nov 2012 13:55:08 +0000 (UTC) Received: from damnhippie.dyndns.org (daffy.symmetricom.us [206.168.13.218]) by duck.symmetricom.us (8.14.5/8.14.5) with ESMTP id qA2Dt1Vj086889 for ; Fri, 2 Nov 2012 07:55:02 -0600 (MDT) (envelope-from freebsd@damnhippie.dyndns.org) 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 qA2Dswv4008920; Fri, 2 Nov 2012 07:54:58 -0600 (MDT) (envelope-from freebsd@damnhippie.dyndns.org) Subject: Re: BeagleBone SD card problems From: Ian Lepore To: Tim Kientzle In-Reply-To: <5C5E2EAA-DEE7-4F79-9F23-A614DE32EBF9@kientzle.com> References: <5092667B.2030908@thieprojects.ch> <5C5E2EAA-DEE7-4F79-9F23-A614DE32EBF9@kientzle.com> Content-Type: text/plain; charset="us-ascii" Date: Fri, 02 Nov 2012 07:54:58 -0600 Message-ID: <1351864498.1120.20.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: Fri, 02 Nov 2012 13:55:15 -0000 On Thu, 2012-11-01 at 20:24 -0700, Tim Kientzle wrote: > On Nov 1, 2012, at 5:09 AM, Werner Thie wrote: > > > Hi all > > > > just got my fingers wet with a Rev A6 Beaglebone. Being a long time user of FreeBSD I found of course Tim Kientzle's project on github. Setting up a VM and the building of an image was a nobrainer, mahalo and kudos to Tim! > > > > When experimentally adding a swap file I encountered the following message repeatedly on console: > > > > dd if=/dev/zero of=/usr/swap0 bs=1024k count=512 > > > > ti_mmchs0: Error: current cmd NULL, already done? > > Don't know for sure that it is a problem, actually. > > I think of this message more as a gentle reminder: > Someone needs to study the driver and go through the > hardware docs carefully to figure out whether > this particular case indicates a flaw in the driver or > is just an expected case that can be safely ignored. > > While you're in there , you might look at > what's involved in converting the driver to use DMA > and whether there are any other performance optimizations > we should be trying. > > Tim I don't know the TI driver, but I've worked with the equivelent Atmel driver, and the mmc and mmcsd layers above it. From a quick glance at the TI code it appears that message can only happen if another interrupt comes in after the previous command has been completed. Given the way the protocol works, a data timeout error at the end of a write is normal if the controller hardware doesn't have an explicit block-count register, or when doing an open-ended streaming or multi-block transfer. I think the first thing I'd do is print the contents of the status and interrupt-enabled registers along with that message. It may be a matter as simple as disabling some interrupts at the same time as the other end-of-command processing is done. -- Ian From owner-freebsd-arm@FreeBSD.ORG Fri Nov 2 14:18:13 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B3390109 for ; Fri, 2 Nov 2012 14:18:13 +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 8A80C8FC0C for ; Fri, 2 Nov 2012 14:18:12 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id qA2EI5xU087234; Fri, 2 Nov 2012 14:18:05 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.143] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id 3t8cvk3ykvdjxqgqvz7pexwqg6; Fri, 02 Nov 2012 14:18:05 +0000 (UTC) (envelope-from tim@kientzle.com) Subject: Re: BeagleBone SD card problems Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=us-ascii From: Tim Kientzle In-Reply-To: <5093CC27.10000@thieprojects.ch> Date: Fri, 2 Nov 2012 07:18:05 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <5092667B.2030908@thieprojects.ch> <5C5E2EAA-DEE7-4F79-9F23-A614DE32EBF9@kientzle.com> <5093CC27.10000@thieprojects.ch> To: Werner Thie 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: Fri, 02 Nov 2012 14:18:13 -0000 On Nov 2, 2012, at 6:35 AM, Werner Thie wrote: >=20 > What's your advice on cross compiling ports when doing the image, = specially such ports which depend on stuff being installed? I've only done native port-building on my BeagleBone. I usually start a build or two before going to bed at night and it's done by the time I get home from work the next day. ;-) Among other things, if you're interested in using it in production someday, it's probably a good way to get a feel for the overall stability of the platform. Tim From owner-freebsd-arm@FreeBSD.ORG Fri Nov 2 14:30:10 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 29F0EB7F for ; Fri, 2 Nov 2012 14:30:10 +0000 (UTC) (envelope-from werner@thieprojects.ch) Received: from newton.metanet.ch (newton.metanet.ch [80.74.158.130]) by mx1.freebsd.org (Postfix) with ESMTP id 61E0F8FC15 for ; Fri, 2 Nov 2012 14:30:09 +0000 (UTC) Received: (qmail 23350 invoked from network); 2 Nov 2012 15:30:05 +0100 Received: from 217-071-083-008.ip-tech.ch (HELO ?192.168.11.88?) (217.71.83.8) by newton.metanet.ch with (DHE-RSA-AES256-SHA encrypted) SMTP; 2 Nov 2012 15:30:05 +0100 Message-ID: <5093D8ED.3090304@thieprojects.ch> Date: Fri, 02 Nov 2012 15:30:05 +0100 From: Werner Thie User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 MIME-Version: 1.0 To: freebsd-arm@freebsd.org Subject: Re: BeagleBone SD card problems References: <5092667B.2030908@thieprojects.ch> <5C5E2EAA-DEE7-4F79-9F23-A614DE32EBF9@kientzle.com> <5093CC27.10000@thieprojects.ch> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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: Fri, 02 Nov 2012 14:30:10 -0000 Hi all >> >> What's your advice on cross compiling ports when doing the image, specially such ports which depend on stuff being installed? > > I've only done native port-building on my BeagleBone. > I usually start a build or two before going to bed at > night and it's done by the time I get home from work > the next day. ;-) So do I, it's working in the background... So far Python-2.7.3 seems pretty stable, got curl working, heading for svn and then on to twisted... Werner From owner-freebsd-arm@FreeBSD.ORG Fri Nov 2 14:32:42 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 43E95BDC for ; Fri, 2 Nov 2012 14:32:42 +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 E58298FC0A for ; Fri, 2 Nov 2012 14:32:41 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id qA2EVObh087329; Fri, 2 Nov 2012 14:31:24 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.143] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id 5jrd9qkuzb2vjdvc8xqa52tnda; Fri, 02 Nov 2012 14:31:24 +0000 (UTC) (envelope-from tim@kientzle.com) Subject: Re: Building pkg on BeagleBone / Raspberry Pi Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=iso-8859-1 From: Tim Kientzle In-Reply-To: Date: Fri, 2 Nov 2012 07:31:24 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <3B32147D-A0BB-4107-B986-536C884BF2B5@kientzle.com> References: <1CB566CC-9E6F-4237-9061-D2D1BD1FE970@kientzle.com> To: Alie Tan X-Mailer: Apple Mail (2.1283) Cc: Kang Yin Su , 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: Fri, 02 Nov 2012 14:32:42 -0000 On Nov 2, 2012, at 12:11 AM, Alie Tan wrote: > Thanks Tim, >=20 > Finally i have Hiawatha weserver and php up on my BeagleBone with = swapfiles: > # dd if=3D/dev/zero of=3D/usr/swap0 bs=3D2048k count=3D256 > # chmod 0600 /usr/swap0 > # mdconfig -a -t vnode -f /usr/swap0 -u 0 && swapon /dev/md0 Congratulations! Let us know how that works for you; I'm hoping to use my Beaglebone as a web and mail server sometime, but I'm not convinced the network driver is really quite ready for that. > Btw it tooks more than 20 hrs to build them LOL There's still a lot of room for performance improvements on BeagleBone. Fortunately, they're cheap -- just buy a few more. ;-) Tim From owner-freebsd-arm@FreeBSD.ORG Fri Nov 2 18:19:24 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3F52C851 for ; Fri, 2 Nov 2012 18:19:24 +0000 (UTC) (envelope-from 3qw6UUAwHC6IEJGOWHCEVWTGdif.EQOHTGGDUF-CTOHTGGDUF.QTI@photos-server.bounces.google.com) Received: from mail-pb0-f74.google.com (mail-pb0-f74.google.com [209.85.160.74]) by mx1.freebsd.org (Postfix) with ESMTP id 19E748FC17 for ; Fri, 2 Nov 2012 18:19:23 +0000 (UTC) Received: by mail-pb0-f74.google.com with SMTP id rr4so265052pbb.1 for ; Fri, 02 Nov 2012 11:19:23 -0700 (PDT) MIME-Version: 1.0 Received: by 10.66.75.39 with SMTP id z7mt2049140pav.26.1351880363747; Fri, 02 Nov 2012 11:19:23 -0700 (PDT) Message-ID: Date: Fri, 02 Nov 2012 18:19:23 +0000 Subject: SalesSBR chinachem shared photos with you From: SalesSBR chinachem To: freebsd-arm@freebsd.org Content-Type: multipart/mixed; boundary=f46d042f94fedc5e9204cd872c3c 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: SalesSBR chinachem List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2012 18:19:24 -0000 --f46d042f94fedc5e9204cd872c3c Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Hello Sir/Mam: Happy to contact you ! We would like to introudce our company.Our company is a large scale pertrochemical enterprise with synthetic rubber as the main product. We could supply SBR 1502 and 1712. It is manufactured by SINOPEC YANGZI. The following is the SBR quotation : * SBR 1502: USD 2500.00/TON FOB China port SBR 1712: USD 2350.00/TON FOB China port * packing : 35kg ppbag * quantity: 21ton/20'container * price validity: within 3 days . * payment terms : TT in advance or LC at sight . * delivery time: within 20 days . Any other question, contact me freely ! best wishes Adelle Liang sales manage rXuzhou Yizhengyuan Chemical Technology Co., Ltd email:chemade@163.com --f46d042f94fedc5e9204cd872c3c-- From owner-freebsd-arm@FreeBSD.ORG Fri Nov 2 18:57:25 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C90D364B for ; Fri, 2 Nov 2012 18:57:25 +0000 (UTC) (envelope-from alie@affle.com) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 70E2D8FC0C for ; Fri, 2 Nov 2012 18:57:25 +0000 (UTC) Received: by mail-vb0-f54.google.com with SMTP id l1so5314270vba.13 for ; Fri, 02 Nov 2012 11:57:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=//n2qckonFz2SVSrz0mwApa/Pm8+pOOgS+37BD2c8WE=; b=HNMteiy10iJcacQ+rhl0OfpoxsGj0EpULrDPLNXUjsafUV3suyxUYSzHsaasd6Fs2Q MR0Ry3jjjbVCv3q4wUws89yv5FZrDhgXwem9UcdCeLm4dtmZEfQ2VsbPEwmqdVXq2ca2 UtrB06IZeDx4n8pny+zWbZKhEWSda1e8QCHFUOmHPbupdk7ooy2JKYQZi4/FEWC9RCgt Lpb9X/auHNIdmBy2QwcmPp257BPAFKfm1ZKh+pPmsDanvHOovafTlS/pebCP0nkGRzRL 1RcU4RdnAtaTMvDzMARbov3CZGi3YsMj3mQIw9/yQQuRWPzOXHpZmNE6UvK/u40dORIM BRkQ== MIME-Version: 1.0 Received: by 10.59.13.135 with SMTP id ey7mr2777751ved.37.1351882644363; Fri, 02 Nov 2012 11:57:24 -0700 (PDT) Received: by 10.58.233.80 with HTTP; Fri, 2 Nov 2012 11:57:24 -0700 (PDT) In-Reply-To: <3B32147D-A0BB-4107-B986-536C884BF2B5@kientzle.com> References: <1CB566CC-9E6F-4237-9061-D2D1BD1FE970@kientzle.com> <3B32147D-A0BB-4107-B986-536C884BF2B5@kientzle.com> Date: Sat, 3 Nov 2012 02:57:24 +0800 Message-ID: Subject: Re: Building pkg on BeagleBone / Raspberry Pi From: Alie Tan To: Tim Kientzle X-Gm-Message-State: ALoCoQlCHsys5ghAldx6p6f+bogGCf8gLEFIvZxP9xu81HQK1i3/U+G2jdlzynp0kLV09PEhYNhX Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Kang Yin Su , "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: Fri, 02 Nov 2012 18:57:25 -0000 On Friday, November 2, 2012, Tim Kientzle wrote: > > On Nov 2, 2012, at 12:11 AM, Alie Tan wrote: > >> Thanks Tim, >> >> Finally i have Hiawatha weserver and php up on my BeagleBone with swapfiles: >> # dd if=/dev/zero of=/usr/swap0 bs=2048k count=256 >> # chmod 0600 /usr/swap0 >> # mdconfig -a -t vnode -f /usr/swap0 -u 0 && swapon /dev/md0 > > Congratulations! > > Let us know how that works for you; I'm hoping > to use my Beaglebone as a web and mail > server sometime, but I'm not convinced the > network driver is really quite ready for that. Here is the summary from blitz.io with 60seconds test, 60 users, 5 seconds timeout and with 3G connection. "This rush generated 349 successful hits in 1.0 min and we transferred 281.18 KB of data in and out of your app. The average hit rate of 5.71/second translates to about 493,561 hits/day." > > >> Btw it tooks more than 20 hrs to build them LOL > > There's still a lot of room for performance improvements > on BeagleBone. > > Fortunately, they're cheap -- just buy a few more. ;-) > > Tim > > From owner-freebsd-arm@FreeBSD.ORG Sat Nov 3 13:47:30 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 59EA8B1E for ; Sat, 3 Nov 2012 13:47:30 +0000 (UTC) (envelope-from alie@affle.com) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0AC8B8FC0A for ; Sat, 3 Nov 2012 13:47:28 +0000 (UTC) Received: by mail-vb0-f54.google.com with SMTP id l1so5984669vba.13 for ; Sat, 03 Nov 2012 06:47:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :x-gm-message-state; bh=aeSdZewqlDjHS1wrUDsKG3B4Cy3Y2hBTu+mwuZGwHEA=; b=lbxgUVg+0J60ZfsSajB2XPZiPsf2YEv1FCqYA5rYV5LVDtZS2PRDn9QasDj5CjEDl+ gnjB1KkbrXyvAiKyAcfnXAjC5PKruCgqdpN27COq7DpXtyC2veLHDTrdSPrsmCcm5ffG JykWgj2Gga4u+JojVSbu4FZmjymfI2TwC4kgtxLXQkhO6DoorIdvKCkebORRkCasAXWH 7TegNCnm0+MveqTt2ycbxBirxlcygSgh+7dclGfz/sjbaOCc8yomZkauj71vNEJCGwuv YgVpHnnHF2/Ubc2qgLZ2juRyAE4SyOe8Fe5gpIK1XkVbmLjYnxtfBY42rvXg5pl8iZzd rlGA== MIME-Version: 1.0 Received: by 10.52.30.39 with SMTP id p7mr4243816vdh.16.1351950447625; Sat, 03 Nov 2012 06:47:27 -0700 (PDT) Received: by 10.58.233.80 with HTTP; Sat, 3 Nov 2012 06:47:27 -0700 (PDT) Date: Sat, 3 Nov 2012 21:47:27 +0800 Message-ID: Subject: FreeBSD-arm with Clang From: Alie Tan To: "freebsd-arm@freebsd.org" X-Gm-Message-State: ALoCoQmfncgd2B/vAPxM+wCcKWZsqwtcEsYGQQOeKQV/8GemytK8Rt4Z6tz2sc8Ayk5/J840vCnF 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: Sat, 03 Nov 2012 13:47:30 -0000 Hi, Have you tried building FreeBSD-arm with Clang? Please share your exeperience. Would be better if Tim can add this compiler option on his Beaglebone github script. Thanks