From owner-freebsd-embedded@FreeBSD.ORG Sun Dec 30 18:01:54 2007 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 69FDF16A41B for ; Sun, 30 Dec 2007 18:01:54 +0000 (UTC) (envelope-from portcitycs@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.183]) by mx1.freebsd.org (Postfix) with ESMTP id 4119113C457 for ; Sun, 30 Dec 2007 18:01:54 +0000 (UTC) (envelope-from portcitycs@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so7468023waf.3 for ; Sun, 30 Dec 2007 10:01:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=+oELS0kqFcCljGXh6IGrZALPcZd4/qYIbu7tl5Uf2pM=; b=L9JeTUmR5eOyhLNata0t6NFINi1eoDGDY27E+kmtiuChx+nXsF+9i+TaTCMWjFZx2j/e8IADF0sRsg/JiD7rcZ5ZYjmeBuc4YyiQCgXb9Zr3HeYx3dz+9dpRi8TycGp9WBM8qlnvGssZjD8+ifJQQtULrky7yDyKZV90fNATMHw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=eAsbynIEhwRLx+KCvQor/o+vbhWXgVF8DNX6+uG0H41IUOryMSDOy8VrZ3yaIcKjAvynYZGeiwPrP+9T9keGZmucj69fBtrivKtxX53meRkbFAb9wQ3cbazHvuml6lYatY5MtoMI1y/9sJY/sA7Vu/L48XXiEf5wKugqoEm5SxI= Received: by 10.142.242.8 with SMTP id p8mr3461050wfh.166.1199037713186; Sun, 30 Dec 2007 10:01:53 -0800 (PST) Received: by 10.142.238.2 with HTTP; Sun, 30 Dec 2007 10:01:53 -0800 (PST) Message-ID: <5a1835cd0712301001j6dbf207dqf314ba0b433b64d3@mail.gmail.com> Date: Sun, 30 Dec 2007 13:01:53 -0500 From: "Lyle Scott III" To: freebsd-embedded@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Nanobsd - build options not producing image X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Dec 2007 18:01:54 -0000 I am trying to trim down my nanobsd image by specifying some build time options. The system works great when I leave all the options in. I try to add the options that the FreeBSD handbook ( http://www.freebsd.org/doc/en_US.ISO8859-1/articles/nanobsd/index.html) states OR the options discussed in http://www.mail-archive.com/freebsd-small@freebsd.org/msg00518.html The freebsd handbook example options will not even let me finish the nanobsd script.. it exits early and just stops. With the second link, everything seems to finish but i only have a few files in /usr/obj/nanobsd_alix _.bk _.env _.bw _.etc _.cust.add_pkgs _.ik _.cust.cust_allow_ssh_root _.iw _.cust.cust_comconsole _.w _.cust.cust_install_files make.conf _.cust.cust_nobeastie usr i am currently about to start from scratch and start trimming more and more... but it's going to take forever :) Any insights why it breaks? KERNEL CONFIG: machine i386 cpu I586_CPU cpu I686_CPU ident ALIX maxusers 8 options CPU_GEODE # To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" # Default places to look for devices. options SCHED_4BSD # 4BSD scheduler options INET # InterNETworking options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories options MD_ROOT # MD is a potential root device options NFSCLIENT # Network Filesystem Client options NFSSERVER # Network Filesystem Server options NFS_ROOT # NFS usable as /, requires NFSCLIENT options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS # Pseudo-filesystem framework options GEOM_GPT # GUID Partition Tables. options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options KBD_INSTALL_CDEV # install a CDEV entry in /dev options AHC_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~128k to driver. options AHD_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~215k to driver. options ADAPTIVE_GIANT # Giant mutex is adaptive. #device apic # I/O APIC device pci # ATA and ATAPI devices device ata device atadisk # ATA disk drives options ATA_STATIC_ID # Static device numbering # Serial (COM) ports device sio # 8250, 16[45]50 based serial ports # PCI Ethernet NICs that use the common MII bus controller code. # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! device miibus # MII bus support device sis # Silicon Integrated Systems SiS 900/SiS 7016 device vr # VIA Rhine, Rhine II # Wireless NIC cards device wlan # 802.11 support device wlan_wep #802.11 WEP support device wlan_ccmp #802.11 CCMP support device wlan_tkip #802.11 TKIP support device wlan_xauth #802.11 external authenticator support device wlan_acl #802.11 MAC ACL support device ath device ath_hal device ath_rate_sample # Pseudo devices. device loop # Network loopback device random # Entropy device device ether # Ethernet support device ppp # Kernel PPP device tun # Packet tunnel. device pty # Pseudo-ttys (telnet etc) device md # Memory "disks" #device gif # IPv6 and IPv4 tunneling #device faith # IPv6-to-IPv4 relaying (translation) # The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! # Note that 'bpf' is required for DHCP. device bpf # Berkeley packet filter options INCLUDE_CONFIG_FILE #options IPFIREWALL #options IPFIREWALL_DEFAULT_TO_ACCEPT #options IPDIVERT #options DUMMYNET options ALTQ options ALTQ_CBQ options ALTQ_RED options ALTQ_RIO options ALTQ_HFSC options ALTQ_CDNR options ALTQ_PRIQ device pf device pflog device pfsync device carp device if_bridge options DEVICE_POLLING -- Lyle Scott, III http://www.lylescott.ws From owner-freebsd-embedded@FreeBSD.ORG Mon Dec 31 00:49:34 2007 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7956B16A417 for ; Mon, 31 Dec 2007 00:49:34 +0000 (UTC) (envelope-from simon@benji.nitro.dk) Received: from mx.nitro.dk (zarniwoop.nitro.dk [83.92.207.38]) by mx1.freebsd.org (Postfix) with ESMTP id 35C5613C468 for ; Mon, 31 Dec 2007 00:49:34 +0000 (UTC) (envelope-from simon@benji.nitro.dk) Received: from benji.nitro.dk (unknown [192.168.3.39]) by mx.nitro.dk (Postfix) with ESMTP id 27E9C1E8C1B; Mon, 31 Dec 2007 00:30:50 +0000 (UTC) Received: by benji.nitro.dk (Postfix, from userid 2000) id A50B6FD52; Mon, 31 Dec 2007 01:30:48 +0100 (CET) Date: Mon, 31 Dec 2007 01:30:48 +0100 From: "Simon L. Nielsen" To: Lyle Scott III Message-ID: <20071231003047.GC987@zaphod.nitro.dk> References: <5a1835cd0712301001j6dbf207dqf314ba0b433b64d3@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5a1835cd0712301001j6dbf207dqf314ba0b433b64d3@mail.gmail.com> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-embedded@freebsd.org Subject: Re: Nanobsd - build options not producing image X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Dec 2007 00:49:34 -0000 On 2007.12.30 13:01:53 -0500, Lyle Scott III wrote: > I am trying to trim down my nanobsd image by specifying some build time > options. The system works great when I leave all the options in. > > I try to add the options that the FreeBSD handbook ( > http://www.freebsd.org/doc/en_US.ISO8859-1/articles/nanobsd/index.html) > states OR the options discussed in > http://www.mail-archive.com/freebsd-small@freebsd.org/msg00518.html > > The freebsd handbook example options will not even let me finish the nanobsd > script.. it exits early and just stops. To find out what's going wrong you need to tell us exactly here it stops, and what the end of logfile for that stage says. > With the second link, everything seems to finish but i only have a few files > in /usr/obj/nanobsd_alix > _.bk _.env > _.bw _.etc > _.cust.add_pkgs _.ik > _.cust.cust_allow_ssh_root _.iw > _.cust.cust_comconsole _.w > _.cust.cust_install_files make.conf > _.cust.cust_nobeastie usr Well, you have some customize logfiles, so you actually got most of the way through the build. -- Simon L. Nielsen From owner-freebsd-embedded@FreeBSD.ORG Mon Dec 31 05:31:32 2007 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C15F716A41A for ; Mon, 31 Dec 2007 05:31:32 +0000 (UTC) (envelope-from portcitycs@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9235313C461 for ; Mon, 31 Dec 2007 05:31:32 +0000 (UTC) (envelope-from portcitycs@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so7821701waf.3 for ; Sun, 30 Dec 2007 21:31:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=Dk9p5rcnrBAQ5SVd8dPnfRwLoeIOOHUXExyKhKFLWUg=; b=FJ00FRHEv2rDPZxvqFhuN2QkXMcJ3PUg7nEE5uyHcXtpI0AtrCGlcStAfjfFEzSW0caRqaJSL+NvTqucARefPkghCw33t1GeUCNiuKk14WFY8rS0x2udMhG0ZThFZV0YWBFZkDfWf/oAy0HECOSvBv22bJTlsBur5xj/nsQHbnU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=BnxMSEI1TIkbPinS1wcdyxUIzIZc+oLd8SIeQuYYnVWiPH6QflGp6I8NfOPZx7lwP+Bn0+Xu2sQWuuuyTrgRTAH4OjiGhBZ4Hg+hHjVMUOJitBpeAPzeea4uVBVBu+Glr5QOU5XjmiTgviOL45jOtv/skPXutBiLII89P+YYVOA= Received: by 10.142.232.20 with SMTP id e20mr870757wfh.198.1199079091131; Sun, 30 Dec 2007 21:31:31 -0800 (PST) Received: by 10.142.238.2 with HTTP; Sun, 30 Dec 2007 21:31:31 -0800 (PST) Message-ID: <5a1835cd0712302131r7bd38004g364d02330d6363db@mail.gmail.com> Date: Mon, 31 Dec 2007 00:31:31 -0500 From: "Lyle Scott III" To: freebsd-embedded@freebsd.org In-Reply-To: <5a1835cd0712291437sda4682bw340a33d2823e642@mail.gmail.com> MIME-Version: 1.0 References: <5a1835cd0712291437sda4682bw340a33d2823e642@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Still can not boot NanoBSD on Alix board.. X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Dec 2007 05:31:33 -0000 actually, I found the answer. I changed the boot0cfg option to '-o nopacket' instead of '-o packet' This gets me a booting system, but my keyboard is unresponsive at the bootloader. No biggie, but atleast i have a working system! On Dec 29, 2007 5:37 PM, Lyle Scott III wrote: > I posted here a few weeks ago about not being able to boot NanoBSD on my > Alix board. I can boot TinyBSD just fine, though. > (http://kerneltrap.org/mailarchive/freebsd-embeded/2007/12/9/485165 ) > > I tried to follow everyone's suggestions, but still couldn't manage to get > it booted on my Alix3c2. > > Any other suggestions? I am also now writing to the CF card through IDE > instead of the USB readered I had. > Is there something I am missing? Any nanobsd image i burn works great on > my Soekris boards. > > Also, i notice the NanoBSD throws in a boot loader and TinyBSD does not. > I have tried messing with the boot0cfg options in the actual > /usr/src/tools/tools/nanobsd/nanobsd.sh script to treat it like TinyBSD, but > to no avail. > > -- > Lyle Scott, III > http://www.lylescott.ws -- Lyle Scott, III http://www.lylescott.ws From owner-freebsd-embedded@FreeBSD.ORG Mon Dec 31 07:33:56 2007 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8116516A418 for ; Mon, 31 Dec 2007 07:33:56 +0000 (UTC) (envelope-from portcitycs@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.180]) by mx1.freebsd.org (Postfix) with ESMTP id 1714813C448 for ; Mon, 31 Dec 2007 07:33:55 +0000 (UTC) (envelope-from portcitycs@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so7883156waf.3 for ; Sun, 30 Dec 2007 23:33:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=RHukBMzKF9cZIXk6r5r/A00bxymc08IDGm8x0IGepdk=; b=T8ClesQhymaJyybtjxPnG/fw18xTiYQZqjY5kXivHrtFtS+jXUimy4roiNHWNnWBItLNHoSMZ6ImGBKYQaGevK29SGQp9DrwIUPbFeit4Iw5/ckq0E/ERCJf4GTIGVDHZfIjXv53iXtsbbi08CZbMlFp0EExj6cIEV1Fj+xLIGU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=g3ugE5anT6LqXktTMWQ/AqTVCb74NqRGfQ1kuPvzPbrv5pZwq/d71tUOdUU6lZDt8FWqIHSdbLXpKfpLC+dz6awcyk/5MBr+KX5Pz+7p4lLU7LA2MEpQtyx4VlFTBE3Z1F2nDc1iLoSZwaB1dK1CUk8cvJuRUIm29DW0h2TPDQA= Received: by 10.142.246.8 with SMTP id t8mr3513913wfh.199.1199086434728; Sun, 30 Dec 2007 23:33:54 -0800 (PST) Received: by 10.142.238.2 with HTTP; Sun, 30 Dec 2007 23:33:54 -0800 (PST) Message-ID: <5a1835cd0712302333x77f45716xb9836c9b35191cce@mail.gmail.com> Date: Mon, 31 Dec 2007 02:33:54 -0500 From: "Lyle Scott III" To: freebsd-embedded@freebsd.org In-Reply-To: <20071231003047.GC987@zaphod.nitro.dk> MIME-Version: 1.0 References: <5a1835cd0712301001j6dbf207dqf314ba0b433b64d3@mail.gmail.com> <20071231003047.GC987@zaphod.nitro.dk> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Nanobsd - build options not producing image X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Dec 2007 07:33:56 -0000 oh yeah, I apologize. i found this error in /usr/obj/nanobsdbuild/_.iw ===> usr.bin/lex/lib (install) install -C -o root -g wheel -m 444 libln_p.a /usr/obj/nanobsd.ALIX_handbook//_ .w/usr/lib /usr/obj/nanobsd.ALIX_handbook//_.w/usr/lib/libl.a -> /usr/obj/nanobsd.ALIX_hand book//_.w/usr/lib/libln.a ln: /usr/obj/nanobsd.ALIX_handbook//_.w/usr/lib/libln.a: No such file or directo ry *** Error code 1 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 this is with using the conf options from the nanobsd section of the freebsd handbook. On Dec 30, 2007 7:30 PM, Simon L. Nielsen wrote: > On 2007.12.30 13:01:53 -0500, Lyle Scott III wrote: > > I am trying to trim down my nanobsd image by specifying some build time > > options. The system works great when I leave all the options in. > > > > I try to add the options that the FreeBSD handbook ( > > http://www.freebsd.org/doc/en_US.ISO8859-1/articles/nanobsd/index.html) > > states OR the options discussed in > > http://www.mail-archive.com/freebsd-small@freebsd.org/msg00518.html > > > > The freebsd handbook example options will not even let me finish the > nanobsd > > script.. it exits early and just stops. > > To find out what's going wrong you need to tell us exactly here it > stops, and what the end of logfile for that stage says. > > > With the second link, everything seems to finish but i only have a few > files > > in /usr/obj/nanobsd_alix > > _.bk _.env > > _.bw _.etc > > _.cust.add_pkgs _.ik > > _.cust.cust_allow_ssh_root _.iw > > _.cust.cust_comconsole _.w > > _.cust.cust_install_files make.conf > > _.cust.cust_nobeastie usr > > Well, you have some customize logfiles, so you actually got most of > the way through the build. > > -- > Simon L. Nielsen > -- Lyle Scott, III http://www.lylescott.ws From owner-freebsd-embedded@FreeBSD.ORG Mon Dec 31 11:06:55 2007 Return-Path: Delivered-To: freebsd-embedded@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0920B16A4D0 for ; Mon, 31 Dec 2007 11:06:55 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id EB49913C46E for ; Mon, 31 Dec 2007 11:06:54 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id lBVB6sQ0037292 for ; Mon, 31 Dec 2007 11:06:54 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id lBVB6s4f037288 for freebsd-embedded@FreeBSD.org; Mon, 31 Dec 2007 11:06:54 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 31 Dec 2007 11:06:54 GMT Message-Id: <200712311106.lBVB6s4f037288@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-embedded@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-embedded@FreeBSD.org X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Dec 2007 11:06:55 -0000 Current FreeBSD problem reports Critical problems Serious problems Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o misc/15876 embedded [picobsd] PicoBSD message of the day problems o misc/28255 embedded [picobsd] picobsd documentation still references old . o kern/42728 embedded [picobsd] many problems in src/usr.sbin/ppp/* after c f misc/52255 embedded [picobsd] picobsd build script fails under FreeBSD 5.0 o misc/52256 embedded [picobsd] picobsd build script does not read in user/s o kern/101228 embedded [nanobsd] [patch] Two more entries for FlashDevice.sub 6 problems total. From owner-freebsd-embedded@FreeBSD.ORG Mon Dec 31 15:27:27 2007 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0DBC516A420 for ; Mon, 31 Dec 2007 15:27:27 +0000 (UTC) (envelope-from brix@FreeBSD.org) Received: from solow.pil.dk (relay.pil.dk [195.41.47.164]) by mx1.freebsd.org (Postfix) with ESMTP id C0AB213C4D1 for ; Mon, 31 Dec 2007 15:27:26 +0000 (UTC) (envelope-from brix@FreeBSD.org) Received: from tirith.brixandersen.dk (0x55534f5f.adsl.cybercity.dk [85.83.79.95]) by solow.pil.dk (Postfix) with ESMTP id ACEB21CC0BE for ; Mon, 31 Dec 2007 16:12:15 +0100 (CET) Received: by tirith.brixandersen.dk (Postfix, from userid 1001) id DEF8411438; Mon, 31 Dec 2007 16:12:14 +0100 (CET) Date: Mon, 31 Dec 2007 16:12:14 +0100 From: Henrik Brix Andersen To: freebsd-embedded@freebsd.org Message-ID: <20071231151214.GA14058@tirith.brixandersen.dk> Mail-Followup-To: freebsd-embedded@freebsd.org References: <5a1835cd0712301001j6dbf207dqf314ba0b433b64d3@mail.gmail.com> <20071231003047.GC987@zaphod.nitro.dk> <5a1835cd0712302333x77f45716xb9836c9b35191cce@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tKW2IUtsqtDRztdT" Content-Disposition: inline In-Reply-To: <5a1835cd0712302333x77f45716xb9836c9b35191cce@mail.gmail.com> X-PGP-Key: http://www.brixandersen.dk/files/HenrikBrixAndersen.asc User-Agent: Mutt/1.5.17 (2007-11-01) Subject: Re: Nanobsd - build options not producing image X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Dec 2007 15:27:27 -0000 --tKW2IUtsqtDRztdT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Dec 31, 2007 at 02:33:54AM -0500, Lyle Scott III wrote: > oh yeah, I apologize. >=20 > i found this error in /usr/obj/nanobsdbuild/_.iw >=20 > =3D=3D=3D> usr.bin/lex/lib (install) > install -C -o root -g wheel -m 444 libln_p.a > /usr/obj/nanobsd.ALIX_handbook//_ > .w/usr/lib > /usr/obj/nanobsd.ALIX_handbook//_.w/usr/lib/libl.a -> > /usr/obj/nanobsd.ALIX_hand > book//_.w/usr/lib/libln.a > ln: /usr/obj/nanobsd.ALIX_handbook//_.w/usr/lib/libln.a: No such file or > directory Do you have NO_INSTALLLIB=3Dyes set in $CONF_WORLD or $CONF_BUILD? If so, try moving it to $CONF_INSTALL and rebuilding. Brix --=20 Henrik Brix Andersen --tKW2IUtsqtDRztdT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) Comment: GnuPG signed iD8DBQFHeQbOv+Q4flTiePgRAu0qAKCrRqGAcOseBFnWhKq11ef0J/iiXQCgrBS/ IgxZZNEkuB2fRvfMPgvFsns= =mQwX -----END PGP SIGNATURE----- --tKW2IUtsqtDRztdT-- From owner-freebsd-embedded@FreeBSD.ORG Mon Dec 31 20:48:30 2007 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24FA016A418 for ; Mon, 31 Dec 2007 20:48:30 +0000 (UTC) (envelope-from portcitycs@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.183]) by mx1.freebsd.org (Postfix) with ESMTP id EB25E13C447 for ; Mon, 31 Dec 2007 20:48:29 +0000 (UTC) (envelope-from portcitycs@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so8271849waf.3 for ; Mon, 31 Dec 2007 12:48:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=sl8CbcDWcPcTxbZAmFuq/KhC86/qB1u4xgux+mcy4h8=; b=Qc3Zmzn3IL+O/pX/GbXkfM+ttrbpy57uiUZsx0Axp3TW9O5XPGGLsf/ajVBY8Xfbs3kuB2lO5QBEikqQPRIWNsuMDWiqlA8mg7lk+DvNJYQNcMenZXe9lMmKwVjC6sd4N1SiOOb/uj1s0NyVdsOdChqPYun2k7Nogvl8qwDvAGk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=gNKe1YInqoUNpK5SZnSpxSIJjYf8AfRtYPKcb1FZKEHt9TP2bqFXQtGPjfq+9eH+mjNxHwFS5vl8mXhhnT2SKcbIDAsqik5SDKg1wk3+lGbMMZdULQdD7juA5+i9lOmQQBYi5yaH0EvuYm8saxulph1I1zyeKj7XrUCydzcvJDg= Received: by 10.142.158.17 with SMTP id g17mr1817092wfe.106.1199134109200; Mon, 31 Dec 2007 12:48:29 -0800 (PST) Received: by 10.142.238.2 with HTTP; Mon, 31 Dec 2007 12:48:28 -0800 (PST) Message-ID: <5a1835cd0712311248md6bc194sa27c1bc4f9619630@mail.gmail.com> Date: Mon, 31 Dec 2007 15:48:28 -0500 From: "Lyle Scott III" To: freebsd-embedded@freebsd.org In-Reply-To: <20071231151214.GA14058@tirith.brixandersen.dk> MIME-Version: 1.0 References: <5a1835cd0712301001j6dbf207dqf314ba0b433b64d3@mail.gmail.com> <20071231003047.GC987@zaphod.nitro.dk> <5a1835cd0712302333x77f45716xb9836c9b35191cce@mail.gmail.com> <20071231151214.GA14058@tirith.brixandersen.dk> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Nanobsd - build options not producing image X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Dec 2007 20:48:30 -0000 ah yes... i noticed this when I googled last night. This did the trick though! Thanks much for your help. I seem to have all my problems over the past 2 weeks worked out and it is working like a dream as an AP. TinyBSD has it's applications, but I love the full feel of NanoBSD. I mounted /usr/ports via NFS and it seems just like a regular PC. I'll be back with more when i figure out which direction to take my boards On Dec 31, 2007 10:12 AM, Henrik Brix Andersen wrote: > On Mon, Dec 31, 2007 at 02:33:54AM -0500, Lyle Scott III wrote: > > oh yeah, I apologize. > > > > i found this error in /usr/obj/nanobsdbuild/_.iw > > > > ===> usr.bin/lex/lib (install) > > install -C -o root -g wheel -m 444 libln_p.a > > /usr/obj/nanobsd.ALIX_handbook//_ > > .w/usr/lib > > /usr/obj/nanobsd.ALIX_handbook//_.w/usr/lib/libl.a -> > > /usr/obj/nanobsd.ALIX_hand > > book//_.w/usr/lib/libln.a > > ln: /usr/obj/nanobsd.ALIX_handbook//_.w/usr/lib/libln.a: No such file or > > directory > > Do you have NO_INSTALLLIB=yes set in $CONF_WORLD or $CONF_BUILD? If > so, try moving it to $CONF_INSTALL and rebuilding. > > Brix > -- > Henrik Brix Andersen > -- Lyle Scott, III http://www.lylescott.ws From owner-freebsd-embedded@FreeBSD.ORG Mon Dec 31 21:38:30 2007 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87B5116A417 for ; Mon, 31 Dec 2007 21:38:30 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail6.speedfactory.net [66.23.216.219]) by mx1.freebsd.org (Postfix) with ESMTP id 3237713C442 for ; Mon, 31 Dec 2007 21:38:29 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.8q) with ESMTP id 226843181-1834499 for multiple; Mon, 31 Dec 2007 16:40:54 -0500 Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.8/8.13.8) with ESMTP id lBVLcQhH099591; Mon, 31 Dec 2007 16:38:26 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-embedded@freebsd.org Date: Mon, 31 Dec 2007 15:59:01 -0500 User-Agent: KMail/1.9.6 References: <5a1835cd0712291437sda4682bw340a33d2823e642@mail.gmail.com> <5a1835cd0712302131r7bd38004g364d02330d6363db@mail.gmail.com> In-Reply-To: <5a1835cd0712302131r7bd38004g364d02330d6363db@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200712311559.01773.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Mon, 31 Dec 2007 16:38:26 -0500 (EST) X-Virus-Scanned: ClamAV 0.91.2/5311/Mon Dec 31 12:05:08 2007 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Subject: Re: Still can not boot NanoBSD on Alix board.. X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Dec 2007 21:38:30 -0000 On Monday 31 December 2007 12:31:31 am Lyle Scott III wrote: > actually, I found the answer. I changed the boot0cfg option to '-o > nopacket' instead of '-o packet' > > This gets me a booting system, but my keyboard is unresponsive at the > bootloader. No biggie, but atleast i have a working system! Really? That's most unfortunate. :( Other parts of the boot code on x86 assume packet mode at this point as well. I think at least boot2 will also need a compile-time tweak (but I think you can set it in your make.conf for your build) to disable packet mode. -- John Baldwin From owner-freebsd-embedded@FreeBSD.ORG Mon Dec 31 21:38:40 2007 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5A8816A421 for ; Mon, 31 Dec 2007 21:38:39 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail6.speedfactory.net [66.23.216.219]) by mx1.freebsd.org (Postfix) with ESMTP id A228B13C461 for ; Mon, 31 Dec 2007 21:38:39 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.8q) with ESMTP id 226843185-1834499 for multiple; Mon, 31 Dec 2007 16:41:01 -0500 Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.8/8.13.8) with ESMTP id lBVLcQhI099591; Mon, 31 Dec 2007 16:38:29 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: Marcel Moolenaar Date: Mon, 31 Dec 2007 16:06:24 -0500 User-Agent: KMail/1.9.6 References: <200712281500.55155.jhb@freebsd.org> <2ADEF6FE-DC65-489A-A948-81E1A0455CA7@juniper.net> In-Reply-To: <2ADEF6FE-DC65-489A-A948-81E1A0455CA7@juniper.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200712311606.25424.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Mon, 31 Dec 2007 16:38:29 -0500 (EST) X-Virus-Scanned: ClamAV 0.91.2/5311/Mon Dec 31 12:05:08 2007 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: freebsd-embedded@freebsd.org Subject: Re: ocpbus(4) X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Dec 2007 21:38:40 -0000 On Friday 28 December 2007 04:49:59 pm Marcel Moolenaar wrote: > > On Dec 28, 2007, at 12:00 PM, John Baldwin wrote: > > >> Hints can be used to implement the device tree or > >> device list, but is rather limited. I'd like us to > >> implement something richer in the future. For that > >> reason I don't want to expose hints to the driver, > >> but rather abstract the implementation of the device > >> tree or the device list behind IVARs. That makes it > >> possible to implement the "bus" in many different > >> ways without having to change the device drivers that > >> attach to the bus. > > > > So to jump in here. I've been thinking more since the last hints > > debacle and > > am thinking of replacing hints with the generic device metadata we'd > > discussed some at the end of the last thread: > > > > device.FOO.= > > > > where any driver or unit wiring is a new property rather than > > encoded into > > FOO's name. Thus: > > > > device.COM1.at=isa0 > > device.COM1.irq=4 > > device.COM1.port=0x3f8 > > device.COM1.driver=sio > > device.COM1.unit=0 > > > > or some such. > > Just a comment: there's a lot of value in taking a look at language > and DB theory. Both syntax and semantics can be very important > properties in the applicability and success of the new description. > Yes, we may want to be able to compile it into some binary form > for embedding it into the kernel... > > For example: busses may nest and may need to be described. This > is especially true in the embedded space. The e500 has a local > bus within the CCSR, which may contain i2c busses for example. > > Using the hints-way of describing hardware is just not going to > fly in that case, because you're still keying off of device names > and unit numbers. Let that be a consequence of the metadata, not > an integral part of... (device.COM1.* does exactly that). Redo the 'at' hints like this (pci was already this way in the existing hint wiring stuff anyway, i.e. it's _not_ a new-bus device name in 'at'). I'll use all-caps to make it stand out: device.COM1.at=ISA device.USBA.at=PCI0:4:0 // domain 0 is implicit if not specified device.FOO.at=BAR Bus drivers would be responsible for parsing the 'at' and deciding whether or not to "claim" a set of device properties. They may then either bind those properties to an existing device enumerated elsewhere (ACPI/PNPBIOS/PCI) based on 1 or more property values or create a new device entirely described by the property values. You could even support something like this: device.BAR.at=PCI0.13.0 device.FOO.at=BAR:42 If you wanted if the driver for 'BAR' (or a child device that was a bus if the PCI device_t is not a bus itself) by letting the driver for BAR query it's "property name" and use that when evaluating "at". Some other possible locations (which is what "at" is in this context): device.COM1.at=ACPI:_SB_.PCI0.LPC0.COMA (and possibly it could take the short name as well:) device.COM1.at=ACPI:COMA -- John Baldwin