Date: Tue, 07 Oct 2008 05:15:06 +0100 From: Bruce M Simpson <bms@incunabulum.net> To: freebsd-embedded@freebsd.org Subject: Freecom FSG3 pc Message-ID: <48EAE24A.2070205@incunabulum.net>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------010405070808070703080904 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I tried booting a kernel on the FSG3 once again. The board will power from both 5V and 12V supply voltages, this is mostly to deal with driving a PATA drive. The default Redboot config can be rewritten with fconfig -l, which is useful -- it expects to load a Linux zImage style kernel from the first partition, see here: http://www.nslu2-linux.org/wiki/FSG3/FisCmds It is necessary to hold down the config reset button at the back to get Redboot to init the network ports. You need to CTRL-C it to stop it loading a recovery Linux kernel image. Kernel config is mostly as per NSLU2, but with some twists. There is an onboard Via VT6421A SATA/PATA controller, and an NEC EHCI controller, however neither of them appear to probe on the PCI bus. it looks like neither of them are activated by the firmware so they most likely need to have base addresses set up from scratch by the PCI code, something I believe we don't yet support? It appears the PHY on board should be supported by the "rlswitch" driver. I keep getting this even with full miibus compiled in: %%% npe0: <IXP NPE-B> on ixp0 npe0: [MPSAFE] npe0: [ITHREAD] npe0: using npe.0.mac=A override npe0: using npe.0.mii=A override npe0: remember to fix rx q setup npe0: using npe.0.phy=5 override npe0: Cannot find my PHY. device_attach: npe0 attach returned 6 npe1: <IXP NPE-C> on ixp0 npe1: [MPSAFE] npe1: [ITHREAD] npe1: using npe.1.mac=B override npe1: using npe.1.mii=A override npe1: remember to fix rx q setup npe1: using npe.1.phy=4 override npe1: Cannot find my PHY. device_attach: npe1 attach returned 6 %%% I've tried forcing the PHY numbers to what's in a Linux dmesg (5 and 4 respectively), hints look like this: %%% hint.npe.0.at="ixp0" hint.npe.0.mac="A" hint.npe.0.mii="A" hint.npe.0.phy=5 hint.npe.1.at="ixp0" hint.npe.1.mac="B" hint.npe.1.mii="A" hint.npe.1.phy=4 %%% No joy, even if I switch the PHY numbers around. Which datasheets am I going to have to look at? ... I've attached a boot.log for the curious. cheers BMS --------------010405070808070703080904 Content-Type: text/plain; name="boot.log" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="boot.log" +Ethernet eth0: MAC address 00:01:db:00:54:d0 IP: 192.168.123.150/255.255.255.0, Gateway: 192.168.123.1 Default server: 0.0.0.0, DNS server IP: 192.168.123.1 RedBoot(tm) bootstrap and debug environment [ROM] Red Hat certified release, version 1.94 - built 11:47:48, Jun 10 2005 Platform: Freecom Storage Gateway (FSG) (XScale) BE Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc. RAM: 0x00000000-0x04000000, 0x0001db58-0x03fd0000 available FLASH: 0x50000000 - 0x50400000, 32 blocks of 0x00020000 bytes each. FREECOM ermergency button pressed! == Executing boot script in 5.000 seconds - enter ^C to abort ^C RedBoot> help load Load a file load [-r] [-v] [-d] [-h <host>] [-m <varies>] [-c <channel_number>] [-b <base_address>] <file_name> RedBoot> load -h 192.168.123.17 -v -b 0x200000 kernel Using default protocol (TFTP) Address offset = 0x40000000 Entry point: 0x00200100, address range: 0x00200000-0x00423518 RedBoot> go GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2008 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 8.0-CURRENT #9: Tue Oct 7 05:08:49 BST 2008 root@anglepoise.lon.incunabulum.net:/home/obj/nanobsd.testusb/arm/home/bms/svn/head/sys/FSG3 Preloaded elf kernel "elf kernel" at 0xc043a2bc. CPU: IXP425 266MHz rev 1 (ARMv5TE) (XScale core) DC enabled IC enabled WB enabled LABT branch prediction enabled 32KB/32B 32-way Instruction cache 32KB/32B 32-way write-back-locking Data cache real memory = 67108864 (64 MB) Physical memory chunk(s): 0x10544000 - 0x13ec5fff, 60301312 bytes (14722 pages) avail memory = 59650048 (56 MB) ULE: setup cpu 0 firmware: 'npe_fw' version 0: 35900 bytes loaded at 0xc0419b04 random: <entropy source, Software, Yarrow> mem: <memory> null: <null device, zero device> ixp0: <Intel IXP425> on motherboard pcib0: <IXP425 PCI Bus> on ixp0 pci0: <PCI bus> on pcib0 pci0: domain=0, physical bus=0 ixpclk0: <IXP425 Timer> on ixp0 ixpiic0: <IXP425 GPIO-Based I2C Interface> on ixp0 iicbb0: <I2C bit-banging driver> on ixpiic0 iicbus0: <Philips I2C bus> on iicbb0 master-only iic0: <I2C generic I/O> on iicbus0 x1226rtc0: <Intersil/Xicor X1226 RTC> at addr 0x6f on iicbus0 x1226rtc0: registered as a time-of-day clock (resolution 1000us) ixpwdog0: <IXP425 Watchdog Timer> on ixp0 uart0: <Non-standard ns8250 class UART with FIFOs> on ixp0 uart0: [FILTER] uart0: fast interrupt uart0: console (115200,n,8,1) uart1: <Non-standard ns8250 class UART with FIFOs> on ixp0 uart1: [FILTER] uart1: fast interrupt ixpqmgr0: <IXP425 Q-Manager> on ixp0 ixpqmgr0: [MPSAFE] ixpqmgr0: [ITHREAD] ixpqmgr0: [MPSAFE] ixpqmgr0: [ITHREAD] npe0: <IXP NPE-B> on ixp0 npe0: [MPSAFE] npe0: [ITHREAD] npe0: using npe.0.mac=A override npe0: using npe.0.mii=A override npe0: remember to fix rx q setup npe0: using npe.0.phy=4 override npe0: Cannot find my PHY. device_attach: npe0 attach returned 6 npe1: <IXP NPE-C> on ixp0 npe1: [MPSAFE] npe1: [ITHREAD] npe1: using npe.1.mac=B override npe1: using npe.1.mii=A override npe1: remember to fix rx q setup npe1: using npe.1.phy=5 override npe1: Cannot find my PHY. device_attach: npe1 attach returned 6 ixpclk0: [FILTER] Timecounter "IXP425 Timer" frequency 66666600 Hz quality 1000 Timecounters tick every 10.000 msec lo0: bpf attached Trying to mount root from ufs:/dev/da0s1a Manual root filesystem specification: <fstype>:<device> Mount <device> using filesystem <fstype> eg. ufs:/dev/da0a ? List valid disk boot devices <empty line> Abort manual input mountroot> --------------010405070808070703080904--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48EAE24A.2070205>