Re: [Soekris] CPUTYPE for net5501 and FreeBSD 7.2
CPUTYPE=k6-3 in make.conf on my net5501 (FreeBSD 7.1) On 22 Apr 2009, at 21:12, Maxim Khitrov wrote: > On Wed, Apr 22, 2009 at 1:47 PM, Poul-Henning Kamp > wrote: >> In message <26ddd1750904221039w7f16bf87k9a12a83001017...@mail.gmail.com >> >, Maxim >> Khitrov writes: >> >>> which CPUTYPE should be used for Geode LX 800? >> >> Here are the lines I use: >> >> cpu I486_CPU >> cpu I586_CPU >> cpu I686_CPU >> options CPU_GEODE >> options CPU_SOEKRIS >> >> >> The important bit is the last two. > > Thanks, but that is for the kernel configuration, what do you use for > CPUTYPE in make.conf? By the way, I think you can remove I486_CPU and > I686_CPU lines from the kernel since geode is a 586. > > - Max > ___ > Soekris-tech mailing list > Soekris-tech@lists.soekris.com > http://lists.soekris.com/mailman/listinfo/soekris-tech Александр Вырланович -- Системный Администратор ПИК "СМК" ___ Soekris-tech mailing list Soekris-tech@lists.soekris.com http://lists.soekris.com/mailman/listinfo/soekris-tech
Re: [Soekris] CPUTYPE for net5501 and FreeBSD 7.2
On Wed, Apr 22, 2009 at 8:02 PM, Nix wrote: > On 22 Apr 2009, Maxim Khitrov told this: > >> choices seem to be 'pentium-mmx' and 'k6-2'. There is some talk about >> geode-specific option developed for OLPC program, but it is not yet >> available in the gcc version that comes with FreeBSD 7. > > I think that's GCC 4.3.1, right? (My FreeBSD system is dead of fan > failure and pining for the fjords right now, so it's hard to check.) No, "gcc version 4.2.1 20070719 [FreeBSD]". > This version certainly does support the Geode. (Geodes aren't very new > so it would be surprising if GCC didn't support it by now.) > >> The interesting bit is that I used the following command to determine >> what mtune option is used when I set it to 'native': >> >> # gcc -v -x c -E -mtune=native /dev/null -o /dev/null 2>&1 | grep >> mtune | sed -e 's/.*mtune=//' >> athlon > > You want -march=native. -mtune=native doesn't do full-blown CPUID tuning > but simply wires in the CPU GCC was configured for. (This is not ideal. > See gcc/config/i386/driver-i386.c, specifically the skipping of precise > detection in host_detect_local_cpu(), and the code 200-odd lines down > gcc/config/i386/i386.c:override_options().) (The documentation, here, > says what *should* happen, not what *does*, alas.) When I use -march=native, gcc still selects athlon for both options. > -mtune=geode or -march=geode is what you're looking for. Doesn't work for this version of gcc: /dev/null:0: error: bad value (geode) for -march= switch /dev/null:0: error: bad value (geode) for -mtune= switch - Max ___ Soekris-tech mailing list Soekris-tech@lists.soekris.com http://lists.soekris.com/mailman/listinfo/soekris-tech
[Soekris] Problems booting from transcend 2GB CF in net4801 after bios upgrade
After a bios upgrade from (1.27a -> 1.33) my Trancend CompactFlash 2GB 120x is no longer bootable, stating the error: No Boot device available, enter monitor. Downgrading to 1.31 or 1.30 did not fix it either. Trying back to 1.28 or 1.27a resulted in the error: Error, Old revision of BIOS image. My best guess is a geometry as I did not build the NanoBSD image with the exact right geometry specifications, but could not find much in the changelog with regards why did suddenly could cause failure. Any advice on how to revert to 1.27a or to get it working at 1.33? /Rick -- http://rickvanderzwet.nl ___ Soekris-tech mailing list Soekris-tech@lists.soekris.com http://lists.soekris.com/mailman/listinfo/soekris-tech
Re: [Soekris] CPUTYPE for net5501 and FreeBSD 7.2
2009/4/22 Patrick Lamaizière : > Le Wed, 22 Apr 2009 14:56:05 -0400, > Maxim Khitrov : > >> >>which CPUTYPE should be used for Geode LX 800? >> > >> > Here are the lines I use: >> > >> > cpu I486_CPU >> > cpu I586_CPU >> > cpu I686_CPU >> > options CPU_GEODE >> > options CPU_SOEKRIS >> > >> > >> > The important bit is the last two. >> >> One more thing - according to documentation CPU_GEODE is for SC1100 >> "because the i8254 timecounter is toast." As I understand, this option >> should not be used with LX 800. > > But it seems that CPU_GEODE is not used at all? Actually, Poul-Henning seems to be right. If you look in /sys/conf/files.i386 you'll see that CPU_GEODE option enables the compilation of geode.c (I'm not that familiar with the kernel build process, but I'm assuming that this is what happens). That source file does have some code applicable to net5501, so I agree that the CPU_GEODE option should be used. Wish someone would update the documentation though. One other thing I found is that you can use device glxsb to get access to the hardware crypto device on the LX 800. :) - Max ___ Soekris-tech mailing list Soekris-tech@lists.soekris.com http://lists.soekris.com/mailman/listinfo/soekris-tech
Re: [Soekris] CPUTYPE for net5501 and FreeBSD 7.2
Maxim Khitrov wrote: > Actually, Poul-Henning seems to be right That is always my operating assumption. ;-) -- Michael Sierchio +1 415 378 1182 PO Box 9036ku...@tenebras.com Berkeley CA 94709 http://xijiaoshan.blogspot.com ___ Soekris-tech mailing list Soekris-tech@lists.soekris.com http://lists.soekris.com/mailman/listinfo/soekris-tech
Re: [Soekris] CPUTYPE for net5501 and FreeBSD 7.2
2009/4/23 Alexander Vyrlanovich : > CPUTYPE=k6-3 in make.conf on my net5501 (FreeBSD 7.1) Yep, I think this is the best option until gcc is updated. I ended up trying to build world with CPUTYPE=athlon and on first boot was greeted by a bunch of "exited on signal 4" and "Illegal instruction: 4" messages. Now rebuilding everything with k6-3. I still don't know if pentiumpro is a better option, maybe I'll do some benchmarks later on. Спасибо :) ___ Soekris-tech mailing list Soekris-tech@lists.soekris.com http://lists.soekris.com/mailman/listinfo/soekris-tech
[Soekris] GSM/UMTS/3G addon board for 5501
Someone here had a good experience adding this functionality using any of 5501 slots? If yes, can he/she share his experience and suggest the board model and OS used? Many thanks. Marco -- +--- http://www.winstonsmith.info ---+ | il Progetto Winston Smith: scolleghiamo il Grande Fratello | | the Winston Smith Project: unplug the Big Brother | | Marco A. Calamari mar...@marcoc.it http://www.marcoc.it | | DSS/DH: 8F3E 5BAE 906F B416 9242 1C10 8661 24A9 BFCE 822B | + PGP RSA: ED84 3839 6C4D 3FFE 389F 209E 3128 5698 --+ signature.asc Description: This is a digitally signed message part ___ Soekris-tech mailing list Soekris-tech@lists.soekris.com http://lists.soekris.com/mailman/listinfo/soekris-tech
Re: [Soekris] Problems booting from transcend 2GB CF in net4801 after bios upgrade
Hi Rick, geometry issues usually don't result in "No boot device" errors, they just cause the boot loader to fail. After all, sector 0 is sector 0, no matter what geometry is used. AFAIK. Bill On Thu, 2009-04-23 at 15:18 +0200, Rick van der Zwet wrote: > After a bios upgrade from (1.27a -> 1.33) my Trancend CompactFlash 2GB > 120x is no longer bootable, stating the error: > >No Boot device available, enter monitor. > > Downgrading to 1.31 or 1.30 did not fix it either. Trying back to 1.28 > or 1.27a resulted in the error: > >Error, Old revision of BIOS image. > > My best guess is a geometry as I did not build the NanoBSD image with > the exact right geometry specifications, but could not find much in > the changelog with regards why did suddenly could cause failure. > > Any advice on how to revert to 1.27a or to get it working at 1.33? > /Rick ___ Soekris-tech mailing list Soekris-tech@lists.soekris.com http://lists.soekris.com/mailman/listinfo/soekris-tech
Re: [Soekris] CPUTYPE for net5501 and FreeBSD 7.2
it would be interesting to get comparisons to 486, and original pentium optimizations too, to see if these fancy options are worth the effort and time at all. Maxim Khitrov [mkhit...@gmail.com] wrote: > 2009/4/23 Alexander Vyrlanovich : > > CPUTYPE=k6-3 in make.conf on my net5501 (FreeBSD 7.1) > > Yep, I think this is the best option until gcc is updated. I ended up > trying to build world with CPUTYPE=athlon and on first boot was > greeted by a bunch of "exited on signal 4" and "Illegal instruction: > 4" messages. Now rebuilding everything with k6-3. I still don't know > if pentiumpro is a better option, maybe I'll do some benchmarks later > on. > > ?? :) > ___ > Soekris-tech mailing list > Soekris-tech@lists.soekris.com > http://lists.soekris.com/mailman/listinfo/soekris-tech -- "I'm not aware of any specific concerns," Pentagon spokesman Bryan Whitman said, according to Reuters. Whitman added he was speaking generally and not talking about specific incidents. ___ Soekris-tech mailing list Soekris-tech@lists.soekris.com http://lists.soekris.com/mailman/listinfo/soekris-tech