From bugmaster at FreeBSD.org Mon Jun 2 11:06:46 2008 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Jun 2 11:06:54 2008 Subject: Current problem reports assigned to freebsd-embedded@FreeBSD.org Message-ID: <200806021106.m52B6jGw093110@freefall.freebsd.org> 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 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 5 problems total. From sbruno at miralink.com Fri Jun 6 17:44:11 2008 From: sbruno at miralink.com (Sean Bruno) Date: Fri Jun 6 17:44:16 2008 Subject: How to purchase a Marvell ARM Board? Message-ID: <484972BF.8050202@miralink.com> While at FreeBSD CAN, I sat in on the awesome ARM presentations(Rafal Jaworowski) and was excited to locate and find a vendor who sells it. I have come up with zero leads. Does anyone have a contact or source to purchase devel or eval boards? -- Sean Bruno MiraLink Corporation 6015 NE 80th Ave, Ste 100 Portland, OR 97218 Phone 503-621-5143 Fax 503-621-5199 From sbruno at miralink.com Fri Jun 6 17:59:10 2008 From: sbruno at miralink.com (Sean Bruno) Date: Fri Jun 6 17:59:14 2008 Subject: How to purchase a Marvell ARM Board? In-Reply-To: <484979AF.2040902@semihalf.com> References: <484972BF.8050202@miralink.com> <484979AF.2040902@semihalf.com> Message-ID: <48497AEC.8020803@miralink.com> Rafal Jaworowski wrote: > Sean Bruno wrote: > >> While at FreeBSD CAN, I sat in on the awesome ARM presentations(Rafal >> Jaworowski) and was excited to locate and find a vendor who sells it. I >> have come up with zero leads. >> >> Does anyone have a contact or source to purchase devel or eval boards? >> > > Hi Sean, > > I'm not sure what are the channels, through which Marvell sells their eval > systems, but can ask and get back. As a side note: there's a couple of > consumer devices with Orion chips in them (D-Link 615 rev A1, Linkstation), > which FreeBSD can run on, but this isn't probably what you really wanted, right? > > Rafal > No, not really. I'm hoping to get something with SATA, PCI and a USB device controller ... :) -- Sean Bruno MiraLink Corporation 6015 NE 80th Ave, Ste 100 Portland, OR 97218 Phone 503-621-5143 Fax 503-621-5199 From raj at semihalf.com Fri Jun 6 18:30:18 2008 From: raj at semihalf.com (Rafal Jaworowski) Date: Fri Jun 6 18:30:22 2008 Subject: How to purchase a Marvell ARM Board? In-Reply-To: <484972BF.8050202@miralink.com> References: <484972BF.8050202@miralink.com> Message-ID: <484979AF.2040902@semihalf.com> Sean Bruno wrote: > While at FreeBSD CAN, I sat in on the awesome ARM presentations(Rafal > Jaworowski) and was excited to locate and find a vendor who sells it. I > have come up with zero leads. > > Does anyone have a contact or source to purchase devel or eval boards? Hi Sean, I'm not sure what are the channels, through which Marvell sells their eval systems, but can ask and get back. As a side note: there's a couple of consumer devices with Orion chips in them (D-Link 615 rev A1, Linkstation), which FreeBSD can run on, but this isn't probably what you really wanted, right? Rafal From sbruno at miralink.com Fri Jun 6 20:46:22 2008 From: sbruno at miralink.com (Sean Bruno) Date: Fri Jun 6 20:46:26 2008 Subject: How to purchase a Marvell ARM Board? In-Reply-To: <1d6d20bc0806061344y6c9b77a5h7d80be76c0361901@mail.gmail.com> References: <484972BF.8050202@miralink.com> <484979AF.2040902@semihalf.com> <48497AEC.8020803@miralink.com> <1d6d20bc0806061344y6c9b77a5h7d80be76c0361901@mail.gmail.com> Message-ID: <4849A21D.90608@miralink.com> Jia-Shiun Li wrote: > On Sat, Jun 7, 2008 at 1:59 AM, Sean Bruno wrote: > >> Rafal Jaworowski wrote: >> >>> Sean Bruno wrote: >>> >>>> While at FreeBSD CAN, I sat in on the awesome ARM presentations(Rafal >>>> Jaworowski) and was excited to locate and find a vendor who sells it. I >>>> have come up with zero leads. >>>> >>>> Does anyone have a contact or source to purchase devel or eval boards? >>>> >>>> >>> Hi Sean, >>> >>> I'm not sure what are the channels, through which Marvell sells their eval >>> systems, but can ask and get back. As a side note: there's a couple of >>> consumer devices with Orion chips in them (D-Link 615 rev A1, >>> Linkstation), >>> which FreeBSD can run on, but this isn't probably what you really wanted, >>> right? >>> >>> Rafal >>> >>> >> No, not really. I'm hoping to get something with SATA, PCI and a USB device >> controller ... :) >> > > Maybe find some sales representatives or distributors near you from > their web site, http//www.marvell.com/? > Thanks for the information. I've attempted that several times since BSDCAN and several times before that. I've never received any feedback at all. Perhaps I'm not asking the right question? -- Sean Bruno MiraLink Corporation 6015 NE 80th Ave, Ste 100 Portland, OR 97218 Phone 503-621-5143 Fax 503-621-5199 From jiashiun at gmail.com Fri Jun 6 21:09:15 2008 From: jiashiun at gmail.com (Jia-Shiun Li) Date: Fri Jun 6 21:09:18 2008 Subject: How to purchase a Marvell ARM Board? In-Reply-To: <48497AEC.8020803@miralink.com> References: <484972BF.8050202@miralink.com> <484979AF.2040902@semihalf.com> <48497AEC.8020803@miralink.com> Message-ID: <1d6d20bc0806061344y6c9b77a5h7d80be76c0361901@mail.gmail.com> On Sat, Jun 7, 2008 at 1:59 AM, Sean Bruno wrote: > Rafal Jaworowski wrote: >> Sean Bruno wrote: >>> While at FreeBSD CAN, I sat in on the awesome ARM presentations(Rafal >>> Jaworowski) and was excited to locate and find a vendor who sells it. I >>> have come up with zero leads. >>> >>> Does anyone have a contact or source to purchase devel or eval boards? >>> >> >> Hi Sean, >> >> I'm not sure what are the channels, through which Marvell sells their eval >> systems, but can ask and get back. As a side note: there's a couple of >> consumer devices with Orion chips in them (D-Link 615 rev A1, >> Linkstation), >> which FreeBSD can run on, but this isn't probably what you really wanted, >> right? >> >> Rafal >> > > No, not really. I'm hoping to get something with SATA, PCI and a USB device > controller ... :) Maybe find some sales representatives or distributors near you from their web site, http//www.marvell.com/? From bms at incunabulum.net Sat Jun 7 10:49:06 2008 From: bms at incunabulum.net (Bruce M Simpson) Date: Sat Jun 7 10:49:22 2008 Subject: Low cost ARM9 SoC board - NSD100/NCB3AST Message-ID: <484A679E.7010106@incunabulum.net> Hi, I have just made a speculative purchase of an ARM9 based device, the Emprex NSD-100 (pictures of inside case): http://www.bit-tech.net/hardware/2008/04/29/emprex-nsd-100-p2p-download-engine/1 The UK cost ex vat is ~35 UKP retail per unit. 8MB flash, 64MB DRAM, 2x USB2 ports and 1x 10/100 PHY. In other markets (eg. Australia) the AgeStar NCB3AST may be available, which has SATA (!), and 1 of the two USB2 ports on the SoC is configured as a device port. Though it's a bit more expensive: although there are pads for several resistors on the bottom. A friend and I popped the top off the NSD100 as soon as it came in. There is some RF shielding which needs removed to get full access. There is a single 6-pin header for the UART, and apparently no JTAG, although there are pads for several resistors on the bottom. The box definitely runs Linux of some description although the serial lines seem very noisy. A pinout which gives me the least amount of garbled text is: VCC 1 2 3 4 TX 5 6 GND ...but TX appears to be connected to the +3.3V line. My MAX232 wants 5V, but only 3.3V is available. I didn't bother checking this with a scope... It seems to be 38400 8-N-1, same as the tinyhack guy says for the NCB3AST. Drops into BusyBox on boot, and we can just make out the messages from their Linux about it being the "FA526" CPU. Both the NSD100 and NCB3AST use the Star Semiconductor Corp STR9104 system-on-chip. The NSD100 allegedly uses U-Boot firmware. Star on their website claim that the STR91xx has been purchased for use in various vendor designs: http://www.starsemi.com/vEng/index1.html ...their product line appears to be positioned competitively with Intel XScale IXP. The STR91xx appears to incorporate a licensed FA526 ARM9 IP core from Faraday Tech. Corp. I believe the on-chip network controllers are implemented in a similar way. I don't see any download links for the code which Emprex must provide, as they ship Linux in their product, to conform with the GPLv2 license. This guy claims to be working on opening up the Linux port: http://tinyhack.com/2008/05/18/hacking-ncb3ast-day-1/ There is a patch set for Linux 2.4 which adds STAR_STR9100 SoC support, and might serve as a jumping off point for starting to port FreeBSD to this device: http://tinyhack.com/files/patch-from-kernel-2.4.36.4-to-star.bz2 dmesg for a similar device is here: http://svn.openfoundry.org/usert2500/star/star_log.txt From bms at FreeBSD.org Sat Jun 7 13:16:06 2008 From: bms at FreeBSD.org (Bruce M. Simpson) Date: Sat Jun 7 13:16:11 2008 Subject: Low cost ARM9 SoC board - NSD100/NCB3AST In-Reply-To: <484A679E.7010106@incunabulum.net> References: <484A679E.7010106@incunabulum.net> Message-ID: <484A865C.9010009@FreeBSD.org> Bruce M Simpson wrote: > Hi, > > I have just made a speculative purchase of an ARM9 based device, the > Emprex NSD-100 (pictures of inside case): > > http://www.bit-tech.net/hardware/2008/04/29/emprex-nsd-100-p2p-download-engine/1 > Finally, the uart pinouts. We don't know what 3+4 are but the traces definitely go to the SoC. As with all of these things it's difficult to reverse engineer what BGA stuff does without using hot air rework and manual re-balling of the pads is risky. DCE view: from SoC TX 1 2 RX 3 4 +3.3 Vcc 5 6 GND # cat /proc/mtd dev: size erasesize name mtd0: 00020000 00010000 "Armboot" <----- boot loader mtd1: 007c0000 00010000 "Kernel & Ramdisk" mtd2: 00020000 00010000 "configure" Holding down the reset button (next to power connector) breaks into ARMBoot on power-on. Flash is mapped at 0x10000000 physical on boot. STR9100>bdinfo enetaddr = 00:AA:BB:CC:XX:XX ip_addr = 192.168.10.2 baudrate = 38400 bps arch_number = 242 env_t = 0003A6B8 boot_params = 00000100 DRAM:00.start = 00000000 DRAM:00.size = 04000000 STR9100>version ARMboot 1.1.0 (Oct 11 2006 - 18:04:44) STR9100>printenv baudrate=38400 ethaddr=00:aa:bb:cc:xx:xx ipaddr=192.168.10.2 serverip=192.168.10.3 netmask=255.255.0.0 bootcmd=go 0x10020000 bootdelay=0 back to--- Creating 3 MTD partitions on "str9100_flash": 0x00000000-0x00020000 : "Armboot" 0x00020000-0x007e0000 : "Kernel & Ramdisk" 0x007e0000-0x00800000 : "configure" --- Looks like some kind of compressed kernel image with a loader in front; it doesn't look like elf, based on monitor inspection. The FA526 core is configured little-endian. There is a bug with the ARMboot firmware's bootp command. the BOOTP/DHCP next-server address needs to be in the target's native endian format (you can see this in its ARP requests). e.g. 192.168.0.1 -> next-server 1.0.168.192; for isc-dhcpd You also need to set up a little-endian alias (a /32 will do) so it'll get an ARP response! Then, and only then, will it try to tftp 0200A8C0.img at 0x01000000 by default (again, this is hex in native endian). From the looks of it it tries to boot a full "kernel+rootfs" image with a loader in front in all cases (boot and flash bootstrap), it doesn't look like ARMboot has an ELF loader (see "Image Formats"): http://armboot.cvs.sourceforge.net/armboot/armboot/README?revision=1.7&view=markup Haven't tried building a FreeBSD kernel for this sucker yet. Full linux dmesg: empiric:~ % cu -t -l /dev/cuaU0 -s 38400 can't open log file /var/log/aculog. Connected ?????Uncompressing Linux.................................................................................... done, booting the kernel. request_standard_resources()....OK trap_init().....OK init_IRQ().....OK sched_init().....OK softirq_init().....OK time_init().....OK Linux version 2.4.27-star (root@ubuntu) (gcc version 3.3.6) #1759 Wed Aug 15 03:31:19 PDT 2007 CPU: FA526id(wb) revision 1 ICache:16KB enabled, DCache:16KB enabled, BTB support Machine: STAR_STR9100 On node 0 totalpages: 16384 zone(0): 16384 pages. zone(1): 0 pages. zone(2): 0 pages. Kernel command line: console=ttyS0,38400 root=/dev/ram0 initrd=0x00900000,10M mem=64M@0x00000000 IRQ Timer1 at interrupt number 0x0 and clock 100000000(Hz) console_init().....OK kmem_cache_init().....OK Calibrating delay loop... 153.60 BogoMIPS Memory: 64MB = 64MB total Memory: 51740KB available (1953K code, 574K data, 220K init) mem_init().....OK pgtable_cache_init().....OK max_threads is :1024 @@@@@@@@@@@@@@@@@ proc_caches_init().....OK Dentry cache hash table entries: 8192 (order: 4, 65536 bytes) Inode cache hash table entries: 4096 (order: 3, 32768 bytes) Mount cache hash table entries: 512 (order: 0, 4096 bytes) vfs_caches_init().....OK Buffer cache hash table entries: 4096 (order: 2, 16384 bytes) buffer_init().....OK Page-cache hash table entries: 16384 (order: 4, 65536 bytes) page_cache_init().....OK signals_init().....OK POSIX conformance testing by UNIFIX Data In reg is:1bfc0c!!!!!!!!!!!!! USB to PC now PCI: bus0: Fast back to back transfers disabled pci bridge found Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket do initcalls start Starting kswapd NTFS driver v1.1.22 [Flags: R/W] SGI XFS with no debug enabled i2c-core.o: i2c core module version 2.6.1 (20010830) i2c-algo-bit.o: i2c bit algorithm module pty: 256 Unix98 ptys configured Str9100 Serial Driver version 5.05c (2001-07-08) with no serial options enabled ttyS00 at 0xf7800000 (irq = 10) is a Star_UART !!!!!!!!!!!!!mac is: 0:d0:35:0:XX:XX phy0 id:0243, phy1 id:ffff !!!!!!!!!!! function:configure_lan_port Line:1811 function:configure_lan_port Line:1855 function:configure_lan_port Line:1881 function:configure_lan_port Line:1961 RAMDISK driver initialized: 16 RAM disks of 20480K size 1024 blocksize loop: loaded (max 8 devices) PPP generic driver version 2.4.2 PPP Deflate Compression module registered PPP BSD Compression module registered SCSI subsystem driver Revision: 1.00 kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2 kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2 Amd/Fujitsu Extended Query Table v1.1 at 0x0040 str9100_flash: Swapping erase regions for broken CFI table. number of CFI chips: 1 cfi_cmdset_0002: Disabling fast programming due to code brokenness. Creating 3 MTD partitions on "str9100_flash": 0x00000000-0x00020000 : "Armboot" 0x00020000-0x007e0000 : "Kernel & Ramdisk" 0x007e0000-0x00800000 : "configure" ftl_cs: FTL header not found. ftl_cs: FTL header not found. ftl_cs: FTL header not found. usb.c: registered new driver hub hcd.c: ehci_hcd @ EHCI, EHCI_HCdriver hcd.c: irq 24, pci mem fcc00000 usb.c: new USB bus registered, assigned bus number 1 hub.c: USB hub found hub.c: 2 ports detected host/usb-ohci.c: USB OHCI at membase 0xc5819000, IRQ 23 host/usb-ohci.c: usb-OHCI, OHCI_HCdriver usb.c: new USB bus registered, assigned bus number 2 hub.c: USB hub found hub.c: 2 ports detected usb.c: registered new driver usblp printer.c: v0.13: USB Printer Device Class driver Initializing USB Mass Storage driver... usb.c: registered new driver usb-storage USB Mass Storage support registered. NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP, IGMP IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 4096 bind 8192) NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. NET4: AppleTalk 0.18a for Linux NET4.0 NetWinder Floating Point Emulator V0.97 (double precision) do initcalls end RAMDISK: Compressed image found at block 0 Freeing initrd memory: 10240K VFS: Mounted root (ext2 filesystem) readonly. Freeing init memory: 220K UART IRQ_ports = c02a6018 UART IRQ at interrupt number 0xa Mon Jan 1 00:00:00 UTC 2007 Mounting root fs rw ... Load x1205 rtc driver ... Using /lib/modules/2.4.27-star/x1205-rtc.o X1205: I2C based RTC driver. X1205: found X1205 on STR9100 I2C Adapter ccr_write_enable: verify SR failed X1205: i2c_add_driver RTC driver. X1205: misc_register RTC driver. atr is 0 Synchronize system date & time ... Mounting other filesystems ... System initialization begin! Load configuration file OK! Time zone setting OK! Load nt_sev OK! info, udhcpc (v0.9.9-pre) started Network setting OK! System time setting OK! sh: ?t@???,?????: not found Http & Ftp OK! Load automount OK! USB connect to pc; clear all interrupt ! Load button driver OK! Load bittorrent job control deamon OK! Load upnp av finished! Load check disk full finished! System initialization end! Load printerd ... printerd wakened Sysinit done BusyBox v1.00-rc2 (2006.09.14-03:08+0000) Built-in shell (ash) Enter 'help' for a list of built-in commands. # MTD block devices are present out of the box. It should be possible to depenguinate this from within Linux; there is no mtd tool, but it could be built and uploaded. There is a python 2.4 interpreter. # cat /proc/iomem 00000000-03ffffff : System RAM 0003f000-00227677 : Kernel code 00227678-002b70ab : Kernel data 10000000-107fffff : flash b0000000-b03fffff : PCI non-prefetchable b0400000-b07fffff : PCI prefetchable It looks like the on-chip USB controller is memory mapped, but does NOT use PCI configuration space -- from dmesg I imagine the Linux USB driver has been hacked to attach directly to the memory mapped space, a bit like the SiBA core enumeration on the Sentry5 MIPS SoC. From smithi at nimnet.asn.au Sat Jun 7 15:16:49 2008 From: smithi at nimnet.asn.au (Ian Smith) Date: Sat Jun 7 15:16:52 2008 Subject: Low cost ARM9 SoC board - NSD100/NCB3AST In-Reply-To: <484A679E.7010106@incunabulum.net> Message-ID: On Sat, 7 Jun 2008, Bruce M Simpson wrote: > Hi, > > I have just made a speculative purchase of an ARM9 based device, the > Emprex NSD-100 (pictures of inside case): > > http://www.bit-tech.net/hardware/2008/04/29/emprex-nsd-100-p2p-download-engine/1 > > The UK cost ex vat is ~35 UKP retail per unit. 8MB flash, 64MB DRAM, 2x > USB2 ports and 1x 10/100 PHY. Cute, and certainly affordable. > In other markets (eg. Australia) the AgeStar NCB3AST may be available, > which has SATA (!), and 1 of the two USB2 ports on the SoC is configured > as a device port. Though it's a bit more expensive: After hunting, only found one vendor mentioned here so far: http://www.jaycar.com.au/productView.asp?ID=XC4677&CATID=&keywords=bittorrent&SPECIAL=&form=KEYWORD&ProdCodeOnly=&Keyword1=&Keyword2=&pageNumber=&priceMin=&priceMax=&SUBCATID= Jaycar have shops all 'round, and only punt on volume stuff usually. A$150 is about U$140, likely the usual 'double it for oz' pricing :) And it's fanful, has apparently both 5 and 12V supplies, unspecified wattage. Fans spell eventual grief, and I'd rather single rail power. So yours looks more interesting, to me anyway .. > A friend and I popped the top off the NSD100 as soon as it came in. > There is some RF shielding which needs removed to get full access. There > is a single 6-pin header for the UART, and apparently no JTAG, although > there are pads for several resistors on the bottom. > > The box definitely runs Linux of some description although the serial > lines seem very noisy. > > A pinout which gives me the least amount of garbled text is: > > VCC 1 2 > 3 4 > TX 5 6 GND > > ...but TX appears to be connected to the +3.3V line. My MAX232 wants 5V, > but only 3.3V is available. I didn't bother checking this with a scope... Is VCC +5V, single supply, with 3.3V chopped from that? If you get a chance to measure DC mA on it at some stage running doing something, at whatever V its brick supplies, I'd be interested to know (750Ah 12V solar/battery here, so totally obsessive about real power drawn) > It seems to be 38400 8-N-1, same as the tinyhack guy says for the > NCB3AST. Drops into BusyBox on boot, and we can just make out the > messages from their Linux about it being the "FA526" CPU. > > Both the NSD100 and NCB3AST use the Star Semiconductor Corp STR9104 > system-on-chip. The NSD100 allegedly uses U-Boot firmware. > > Star on their website claim that the STR91xx has been purchased for use > in various vendor designs: > http://www.starsemi.com/vEng/index1.html > > ...their product line appears to be positioned competitively with Intel > XScale IXP. Hope their quality control's up to the comparison .. > The STR91xx appears to incorporate a licensed FA526 ARM9 IP core from > Faraday Tech. Corp. I believe the on-chip network controllers are > implemented in a similar way. > > I don't see any download links for the code which Emprex must provide, > as they ship Linux in their product, to conform with the GPLv2 license. > This guy claims to be working on opening up the Linux port: > http://tinyhack.com/2008/05/18/hacking-ncb3ast-day-1/ > > There is a patch set for Linux 2.4 which adds STAR_STR9100 SoC support, > and might serve as a jumping off point for starting to port FreeBSD to > this device: > http://tinyhack.com/files/patch-from-kernel-2.4.36.4-to-star.bz2 > > dmesg for a similar device is here: > http://svn.openfoundry.org/usert2500/star/star_log.txt You're not keeping up :) Linux 2.6 startup with a dmesg / session: http://tinyhack.com/2008/06/05/porting-linux-kernel-26254-to-star-str9100-agestar/ Interesting if only gratuitously, Thanks, Ian From bms at incunabulum.net Sat Jun 7 17:09:53 2008 From: bms at incunabulum.net (Bruce M Simpson) Date: Sat Jun 7 17:09:57 2008 Subject: Low cost ARM9 SoC board - NSD100/NCB3AST In-Reply-To: References: Message-ID: <484AC0DE.8000006@incunabulum.net> Ian Smith wrote: > You're not keeping up :) Linux 2.6 startup with a dmesg / session: > > http://tinyhack.com/2008/06/05/porting-linux-kernel-26254-to-star-str9100-agestar/ > Whups. I see he noticed the on-chip USB host controller is on the SoC's internal bus, which isn't PCI. Does anyone know if Hans' new USB stack supports attachment of USB host controllers which are not on PCI? P.S. I have fired off emails to Emprex asking "where's the source guys?" and to Star asking "hey, where are your programmer docs and Linux BSP?". cheers BMS From raj at semihalf.com Sat Jun 7 17:21:34 2008 From: raj at semihalf.com (Rafal Jaworowski) Date: Sat Jun 7 17:21:39 2008 Subject: Low cost ARM9 SoC board - NSD100/NCB3AST In-Reply-To: <484AC0DE.8000006@incunabulum.net> References: <484AC0DE.8000006@incunabulum.net> Message-ID: <484AC399.8030809@semihalf.com> Bruce M Simpson wrote: > Ian Smith wrote: >> You're not keeping up :) Linux 2.6 startup with a dmesg / session: >> >> http://tinyhack.com/2008/06/05/porting-linux-kernel-26254-to-star-str9100-agestar/ > > Whups. I see he noticed the on-chip USB host controller is on the SoC's > internal bus, which isn't PCI. > > Does anyone know if Hans' new USB stack supports attachment of USB host > controllers which are not on PCI? I don't know Hans' new code, but can comment on our legacy USB stack: if the controller is EHCI-compliant (and I take it it is, as you mentioned USB2 previously), the attachment shouldn't be a big deal. The ehci(4) driver is well split into the core driver piece and the bus attachment, so it should be easy to provide your glue code. As an example, see our EHCI attachment code for Marvell Orion SoC: http://perforce.freebsd.org/fileViewer.cgi?FSPC=//depot/projects/arm/src/sys/dev/usb/ehci%5fmbus.c&REV=1 It's rather trivial, and we only had to deal with silicon bugs and introduce some workarounds according to errata. Rafal From gregg.drwho8 at gmail.com Sat Jun 7 22:08:03 2008 From: gregg.drwho8 at gmail.com (Gregg Levine) Date: Sat Jun 7 22:08:06 2008 Subject: Is this the right place to discuss embedded X86 boards? Message-ID: <18d205ed0806071442p7001ca20ya60df4db15af0a06@mail.gmail.com> Hello! I am in the process of developing the code, and probably everything else; Currently now it's on paper, but soon on hardware, for the Soekris boards. http://www.soekris.com So is this the appropriate place for these discussions? -- Gregg C Levine gregg.drwho8@gmail.com "This signature was once found posting rude messages in English in the Moscow subway." From kevlo at kevlo.org Sun Jun 8 04:27:40 2008 From: kevlo at kevlo.org (Kevin Lo) Date: Sun Jun 8 04:27:43 2008 Subject: How to purchase a Marvell ARM Board? In-Reply-To: <48497AEC.8020803@miralink.com> References: <484972BF.8050202@miralink.com> <484979AF.2040902@semihalf.com> <48497AEC.8020803@miralink.com> Message-ID: <1212897003.6887.29.camel@nsl> Sean Bruno wrote: > Rafal Jaworowski wrote: > > Sean Bruno wrote: > > > >> While at FreeBSD CAN, I sat in on the awesome ARM presentations(Rafal > >> Jaworowski) and was excited to locate and find a vendor who sells it. I > >> have come up with zero leads. > >> > >> Does anyone have a contact or source to purchase devel or eval boards? > >> > > > > Hi Sean, > > > > I'm not sure what are the channels, through which Marvell sells their eval > > systems, but can ask and get back. As a side note: there's a couple of > > consumer devices with Orion chips in them (D-Link 615 rev A1, Linkstation), > > which FreeBSD can run on, but this isn't probably what you really wanted, right? > > > > Rafal > > > No, not really. I'm hoping to get something with SATA, PCI and a USB > device controller ... :) How about the TS-7800 board from Technologic Systems? http://www.embeddedarm.com/products/board-detail.php?product=TS-7800 Kevin From imp at bsdimp.com Sun Jun 8 05:40:48 2008 From: imp at bsdimp.com (Warner Losh) Date: Sun Jun 8 05:40:51 2008 Subject: Is this the right place to discuss embedded X86 boards? In-Reply-To: <18d205ed0806071442p7001ca20ya60df4db15af0a06@mail.gmail.com> References: <18d205ed0806071442p7001ca20ya60df4db15af0a06@mail.gmail.com> Message-ID: <20080607.233852.41707210.imp@bsdimp.com> > So is this the appropriate place for these discussions? Yes. Warner From imp at bsdimp.com Sun Jun 8 05:40:51 2008 From: imp at bsdimp.com (Warner Losh) Date: Sun Jun 8 05:40:55 2008 Subject: Low cost ARM9 SoC board - NSD100/NCB3AST In-Reply-To: <484AC0DE.8000006@incunabulum.net> References: <484AC0DE.8000006@incunabulum.net> Message-ID: <20080607.233732.74673749.imp@bsdimp.com> > Does anyone know if Hans' new USB stack supports attachment of USB host > controllers which are not on PCI? Both the standard usb stack and usb4bsd stacks support the Atmel AT91RM9200, which has a OHCI controller on an internal bus. The ohci, uhci and ehci drivers are well suited for not being on the PCI bus, although the latter less so than the former two. Warner From sbruno at miralink.com Sun Jun 8 06:27:27 2008 From: sbruno at miralink.com (Sean Bruno) Date: Sun Jun 8 06:27:30 2008 Subject: How to purchase a Marvell ARM Board? In-Reply-To: <1212897003.6887.29.camel@nsl> References: <484972BF.8050202@miralink.com> <484979AF.2040902@semihalf.com> <48497AEC.8020803@miralink.com> <1212897003.6887.29.camel@nsl> Message-ID: <484B7BCD.3050309@miralink.com> Kevin Lo wrote: > Sean Bruno wrote: > >> Rafal Jaworowski wrote: >> >>> Sean Bruno wrote: >>> >>> >>>> While at FreeBSD CAN, I sat in on the awesome ARM presentations(Rafal >>>> Jaworowski) and was excited to locate and find a vendor who sells it. I >>>> have come up with zero leads. >>>> >>>> Does anyone have a contact or source to purchase devel or eval boards? >>>> >>>> >>> Hi Sean, >>> >>> I'm not sure what are the channels, through which Marvell sells their eval >>> systems, but can ask and get back. As a side note: there's a couple of >>> consumer devices with Orion chips in them (D-Link 615 rev A1, Linkstation), >>> which FreeBSD can run on, but this isn't probably what you really wanted, right? >>> >>> Rafal >>> >>> >> No, not really. I'm hoping to get something with SATA, PCI and a USB >> device controller ... :) >> > > How about the TS-7800 board from Technologic Systems? > > http://www.embeddedarm.com/products/board-detail.php?product=TS-7800 > > Kevin > > Wow! Thanks. That's pretty much what I was looking for. Sean From bugmaster at FreeBSD.org Mon Jun 9 11:06:57 2008 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Jun 9 11:07:01 2008 Subject: Current problem reports assigned to freebsd-embedded@FreeBSD.org Message-ID: <200806091106.m59B6pRG070694@freefall.freebsd.org> 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 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 5 problems total. From bugmaster at FreeBSD.org Mon Jun 16 11:06:52 2008 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Jun 16 11:07:06 2008 Subject: Current problem reports assigned to freebsd-embedded@FreeBSD.org Message-ID: <200806161106.m5GB6pk8036663@freefall.freebsd.org> 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 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 5 problems total. From bugmaster at FreeBSD.org Mon Jun 23 11:06:52 2008 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Jun 23 11:07:04 2008 Subject: Current problem reports assigned to freebsd-embedded@FreeBSD.org Message-ID: <200806231106.m5NB6puH064913@freefall.freebsd.org> 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 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 5 problems total. From gonzo at FreeBSD.org Mon Jun 23 12:57:09 2008 From: gonzo at FreeBSD.org (gonzo@FreeBSD.org) Date: Mon Jun 23 12:57:14 2008 Subject: misc/28255: [picobsd] picobsd documentation still references old ./build script Message-ID: <200806231254.m5NCsv3d084396@freefall.freebsd.org> Synopsis: [picobsd] picobsd documentation still references old ./build script State-Changed-From-To: open->closed State-Changed-By: gonzo State-Changed-When: Mon Jun 23 12:52:23 UTC 2008 State-Changed-Why: This PR is no longer relevant. picobsd documentation has been removed from the tree. http://www.freebsd.org/cgi/query-pr.cgi?pr=28255 From rgrover1 at gmail.com Mon Jun 30 07:53:58 2008 From: rgrover1 at gmail.com (Rohit Grover) Date: Mon Jun 30 07:54:01 2008 Subject: having trouble receiving serial data using my USB->serial adaptor Message-ID: <426bed110806300025j5a92080bx59cdb2248c77b8c0@mail.gmail.com> Hi, I am having trouble getting my BAFO 810 USB->serial adaptor to work. I have built the uplcom and ucom drivers into the kernel, and my USB->serial adaptor is recognized at boot, as can be inferred from the following lines from /var/run/dmesg.boot: ucom0: on uhub3 I am using minicom to drive /dev/cuaU0 at 115200 8N1. If I connect the Tx and Rx lines (pins 2 and 3) of the DB9 connector, I can get echoes of my keystrokes on the minicom terminal. Unfortunately, I am unable to connect to an embedded device which supports serial connections at 115200 8N1. When I plug the serial output connector of my adaptor to a NULL modem and then to the target embedded system, I don't see any serial output from the device on my minicom terminal. This same device communicates correctly with the serial port of my linux desktop with minicom and 115200 8N1. As a further experiment, I manually connected pins 2,3, and 5 of the serial end of my adaptor to pins 3,2, and 5 respectively of the embedded device, but still no luck. What am I missing? regards, From bugmaster at FreeBSD.org Mon Jun 30 11:06:55 2008 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Jun 30 11:07:00 2008 Subject: Current problem reports assigned to freebsd-embedded@FreeBSD.org Message-ID: <200806301106.m5UB6ssf095697@freefall.freebsd.org> 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 kern/42728 embedded [picobsd] many problems in src/usr.sbin/ppp/* after c 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 4 problems total. From volker at vwsoft.com Mon Jun 30 19:45:41 2008 From: volker at vwsoft.com (Volker) Date: Mon Jun 30 19:45:45 2008 Subject: having trouble receiving serial data using my USB->serial adaptor In-Reply-To: <426bed110806300025j5a92080bx59cdb2248c77b8c0@mail.gmail.com> References: <426bed110806300025j5a92080bx59cdb2248c77b8c0@mail.gmail.com> Message-ID: <4869337C.6050105@vwsoft.com> On 12/23/-58 20:59, Rohit Grover wrote: > Hi, > > I am having trouble getting my BAFO 810 USB->serial adaptor to > work. I have built the uplcom and ucom drivers into the kernel, > and my USB->serial adaptor is recognized at boot, as can be > inferred from the following lines from /var/run/dmesg.boot: > > ucom0: 0/0, rev 1.10/3.\ 00, addr 2> on uhub3 > > I am using minicom to drive /dev/cuaU0 at 115200 8N1. > > If I connect the Tx and Rx lines (pins 2 and 3) of the DB9 > connector, I can get echoes of my keystrokes on the minicom > terminal. > > Unfortunately, I am unable to connect to an embedded device which > supports serial connections at 115200 8N1. When I plug the serial > output connector of my adaptor to a NULL modem and then to the > target embedded system, I don't see any serial output from the > device on my minicom terminal. This same device communicates > correctly with the serial port of my linux desktop with minicom > and 115200 8N1. > > As a further experiment, I manually connected pins 2,3, and 5 of > the serial end of my adaptor to pins 3,2, and 5 respectively of > the embedded device, but still no luck. > > What am I missing? > > regards, > Rohit, hard to tell on the distance but if you're able to receive (using a loopback adapter), it sounds like either side is most likely requiring hardware handshake (DSR/DTR, RTS/CTS). Sometimes it helps to short cut the DCD line (to RTS/DSR), as some device refuse to send if DCD is not set. If you're owning a break out box, it should be snap to figure that out. At least you should check using a serial line tester (those little tools signaling line status using LEDs or use a Voltmeter to check for correct line status). Volker