Date: Tue, 13 Nov 2012 15:58:21 +0100 From: Mattia Rossi <mattia.rossi.mailinglists@gmail.com> To: freebsd-arm@freebsd.org Subject: Re: Proposed patchset to support DreamPlug on freebsd 9 and 10. Message-ID: <50A2600D.8030002@gmail.com> In-Reply-To: <1352817134.1217.106.camel@revolution.hippie.lan> References: <CANuCnH_ZFiJCThSf5eCAzhZLOeZ769woHOrT9vTY9Dpo72Zgwg@mail.gmail.com> <1352732526.1217.29.camel@revolution.hippie.lan> <50A125D6.50508@gmail.com> <1352743496.1217.39.camel@revolution.hippie.lan> <50A1F8EE.4070205@gmail.com> <33A18E14-78CE-45F0-ABBC-E21952606E62@netsense.nl> <1352817134.1217.106.camel@revolution.hippie.lan>
next in thread | previous in thread | raw e-mail | index | archive | help
Am 13.11.2012 15:32, schrieb Ian Lepore: > On Tue, 2012-11-13 at 10:39 +0100, Johan Henselmans wrote: >> I have just compiled and run a freebsd-current with a patchset I found on http://jessewhite.ca/dreamplug-freebsd/ on a dreamplug which starts with serialnumber DS2-1213. >> >> According to the discussion on the FreedomBox mailinglist there seem to be different varieties depending on the first four digits of the serial number. I bought mine in july 2012, direct from GlobalScale. It came with a 4 GB SDHC card. >> >> I use the internal card, formatted with a fat and a ufs partition. >> >> I used the latest Freebsd-current (12-nov-2012) as a base system, apparently with clang as a compiler. I then gitted the freebsd tree from github into /usr/local/src/bsdcode/freebsd, to make it easier to differentiate between the /usr/src/ 'prodcution' tree and the /usr/local/src/bsdcode/freebsd 'arm test' tree. >> >> All I did was twiddle with the kernel config file to replace the ZERO_COPY_SOCKETS option that is now replaced by SOCKET_SEND_COW and SOCKET_RECV_PFLIP, and remove the IPFIREWALL_FORWARD option, which is now always compile in. >> >> #removed in freebsd10 >> #options IPFIREWALL_FORWARD >> >> # eliminating data copies on socket reads and writes. >> # man 9 zero_copy >> #options ZERO_COPY_SOCKETS >> #bsd 10 >> options SOCKET_SEND_COW >> options SOCKET_RECV_PFLIP >> >> and made sure the root was internally. >> >> options ROOTDEVNAME=\"ufs:/dev/da0s2\" >> >> >> >> I have a few problems: >> >> First: >> I am getting errors from the sdhc driver: >> >> >> errors like >> (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error >> (da0:umass-sim0:0:0:0): Retrying command >> (da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 0 0 16 6 6f 0 0 40 0 >> (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error >> (da0:umass-sim0:0:0:0): Retrying command >> >> are popping up all the time in the console (I have a JTAG console via screen /dev/ttyU1 115200) >> >> Second: >> >> the ethernet addresses do not seem to be recognized by the kernel: >> >> root@dreamplug-bsd:~ # ifconfig -a >> >> mge1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500 >> options=8000b<RXCSUM,TXCSUM,VLAN_MTU,LINKSTATE> >> ether 00:00:00:00:00:00 >> nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> >> media: Ethernet autoselect (1000baseT <full-duplex>) >> status: active >> >> >> I'd be happy to help to find out which dts files have to be used for which dreamplug, and how we can make sure this thing will be a first class FreeBSD citizen. > I never got as far as trying the sd interface, but I did have both > ethernet ports working well. Hmm, I did have an SD card in there and it worked fine.. damn, can't wait to get back to that thing. But that was on freebsd9 compiled with gcc. Mat
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50A2600D.8030002>