[Soekris] Soekris Bios
Dear Soren, If you open source the Soekris bios I will give you a dozen bagels. Also, if you come to Edmonton, Alberta I will buy you a case of beer and we can get drunk... you can even vomit on my shoes if that's your thing. Bestpals, Slice ___ Soekris-tech mailing list Soekris-tech@lists.soekris.com http://lists.soekris.com/mailman/listinfo/soekris-tech
[Soekris] Workaround for IDE hang after soft reset
As many of you have noticed the net5501 IDE controller doesn't fancy coming back after a soft reset when it's been in DMA mode. And unlike CS5535, the CS5536 doesn't have a dedicated IDE controller reset register. As a quick workaround I added an MSR call to whack the companion chip on the way out. That did the trick and the net5501 found the disk correctly during POST. When I went to add this reset the proper way I found out that Linux already has code to do this. Apparently this is a known problem on the CS5536. Set CONFIG_X86_REBOOTFIXUPS=y in your .config and you're all set. BSD folks: The trick is to reboot by writing 0x1 to GLCP_SYS_RST (MSR address 0x51700014) or DIVIL_SOFT_RESET (MSR address 0x51400017). Martin ___ Soekris-tech mailing list Soekris-tech@lists.soekris.com http://lists.soekris.com/mailman/listinfo/soekris-tech
Re: [Soekris] Workaround for IDE hang after soft reset
In message [EMAIL PROTECTED], Martin K. Petersen writes: As many of you have noticed the net5501 IDE controller doesn't fancy coming back after a soft reset when it's been in DMA mode. It's not just the IDE controller, it's also the network interfaces. Soren just sent me a test-bios that seems to have fixed both of these issues by using a bigger hammer for warm reset. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. ___ Soekris-tech mailing list Soekris-tech@lists.soekris.com http://lists.soekris.com/mailman/listinfo/soekris-tech
Re: [Soekris] OS FAQ
The creation is in the top right corner, but I can see you found it :) I've just used the standard wiki template :) On 10/3/07, Heather Lockridge [EMAIL PROTECTED] wrote: Uh, I can get to the Wiki. How do I create an account? I can't find any page to do so. Maybe I am looking in the wrong place? Thanks, Heather - Original Message From: René Luckow [EMAIL PROTECTED] To: soekris-tech@lists.soekris.com Sent: Wednesday, October 3, 2007 6:41:17 AM Subject: Re: [Soekris] OS FAQ Haha, yeah, that would propably help, my bad :P http://soekris.info On 10/3/07, Marc Balmer [EMAIL PROTECTED] wrote: René Luckow wrote: I've now setup a mediawiki with the extension ConfirmAccount and SpamBlacklist. I've set edit to be restricted to registered users only, so you guys need to create an account. At this point I will pretty much confirm all accounts, I can't imagine anyone going through the trouble of creating an account and then waiting for a confirmation just to spam, so I think that should just be standard practice? If any of you guys have any good ideas of stuff to install or changes just mail me, preferably at my work mail: [EMAIL PROTECTED] or here on the list. hmm, what's the URL of the wiki? If any of you kind souls will ad Bill's excellent stuff to the wiki in some clever way, I'm not an expert on how it's supposed to be set up. On 9/29/07, Egbert Jan [EMAIL PROTECTED] wrote: GOOD WORK,Bill! Once moved to Wiki it will be the starting point for us soekris owners to add more info. Egbert Jan (NL) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bill Maas Sent: Saturday, September 29, 2007 12:54 PM To: soekris-tech@lists.soekris.com Subject: Re: [Soekris] OS FAQ Hi, just to put my brains and fingers where my mouth is, I wrote a soekris-tech FAQ Draft: http://stsx.xs4all.nl/soekris.html It's a quick and dirty setup - feel free to modify it in any way. I've left out any OS-specific details, just the general introduction. It's a start. I think it looks pretty real. At least I feel I've done my part, for now - I'll leave it up to others find it a suitable home. Greetings, Bill ___ 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 -- Kind regards René Luckow ___ Soekris-tech mailing list Soekris-tech@lists.soekris.com http://lists.soekris.com/mailman/listinfo/soekris-tech Check out the hottest 2008 models today at Yahoo! Autos. http://autos.yahoo.com/new_cars.html -- Kind regards René Luckow ___ Soekris-tech mailing list Soekris-tech@lists.soekris.com http://lists.soekris.com/mailman/listinfo/soekris-tech
Re: [Soekris] Workaround for IDE hang after soft reset
At 03:46 AM 10/3/2007, Poul-Henning Kamp wrote: In message [EMAIL PROTECTED], Martin K. Petersen writes: As many of you have noticed the net5501 IDE controller doesn't fancy coming back after a soft reset when it's been in DMA mode. It's not just the IDE controller, it's also the network interfaces. Soren just sent me a test-bios that seems to have fixed both of these issues by using a bigger hammer for warm reset. Is this the same underlying reason why typing reboot from the loader prompt of a RELENG_6 image will not reboot the box ? (I even tried turning off DMA, but not sure if its really being turned off at this point) e.g. FreeBSD/i386 boot Default: 0:ad(0,a)÷÷ò boot: 0:ad(0,a)/boot/loaderConsoles: serial port BIOS drive C: is disk0 BIOS 639kB/523264kB available memory FreeBSD/i386 bootstrap loader, Revision 1.1 ([EMAIL PROTECTED], Sat Sep 15 01:52:01 EDT 2007) Loading /boot/defaults/loader.conf /boot/kernel/kernel text=0x258e14 data=0x2bed4+0x16018 syms=[0x4+0x359d0+0x4+0x45239] - Hit [Enter] to boot immediately, or any other key for command prompt. Type '?' for a list of commands, 'help' for more detailed help. OK set hw.ata.ata_dma=0 OK set hw.ata.atapi_dma=0 OK reboot Rebooting... and it will just hang there never to reboot until the box is power cycled. Normal reboots (e.g if I let the OS fully boot and then do a normal shutdown -r now) seems to work for the most part. However, I think the odd one has failed (1 in 100 or so) but I am not entirely sure since its been somewhat rare. ---Mike ___ Soekris-tech mailing list Soekris-tech@lists.soekris.com http://lists.soekris.com/mailman/listinfo/soekris-tech
Re: [Soekris] OS FAQ
I auth users, so it should work in a second(when I've confirmed you :) ) On 10/3/07, Donald Day [EMAIL PROTECTED] wrote: I recently created an account 'pcarsrule' along with a password and it fails to authenticate dwd --- René Luckow [EMAIL PROTECTED] wrote: The creation is in the top right corner, but I can see you found it :) I've just used the standard wiki template :) On 10/3/07, Heather Lockridge [EMAIL PROTECTED] wrote: Uh, I can get to the Wiki. How do I create an account? I can't find any page to do so. Maybe I am looking in the wrong place? Thanks, Heather - Original Message From: René Luckow [EMAIL PROTECTED] To: soekris-tech@lists.soekris.com Sent: Wednesday, October 3, 2007 6:41:17 AM Subject: Re: [Soekris] OS FAQ Haha, yeah, that would propably help, my bad :P http://soekris.info On 10/3/07, Marc Balmer [EMAIL PROTECTED] wrote: René Luckow wrote: I've now setup a mediawiki with the extension ConfirmAccount and SpamBlacklist. I've set edit to be restricted to registered users only, so you guys need to create an account. At this point I will pretty much confirm all accounts, I can't imagine anyone going through the trouble of creating an account and then waiting for a confirmation just to spam, so I think that should just be standard practice? If any of you guys have any good ideas of stuff to install or changes just mail me, preferably at my work mail: [EMAIL PROTECTED] or here on the list. hmm, what's the URL of the wiki? If any of you kind souls will ad Bill's excellent stuff to the wiki in some clever way, I'm not an expert on how it's supposed to be set up. On 9/29/07, Egbert Jan [EMAIL PROTECTED] wrote: GOOD WORK,Bill! Once moved to Wiki it will be the starting point for us soekris owners to add more info. Egbert Jan (NL) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bill Maas Sent: Saturday, September 29, 2007 12:54 PM To: soekris-tech@lists.soekris.com Subject: Re: [Soekris] OS FAQ Hi, just to put my brains and fingers where my mouth is, I wrote a soekris-tech FAQ Draft: http://stsx.xs4all.nl/soekris.html It's a quick and dirty setup - feel free to modify it in any way. I've left out any OS-specific details, just the general introduction. It's a start. I think it looks pretty real. At least I feel I've done my part, for now - I'll leave it up to others find it a suitable home. Greetings, Bill ___ 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 -- Kind regards René Luckow ___ Soekris-tech mailing list Soekris-tech@lists.soekris.com http://lists.soekris.com/mailman/listinfo/soekris-tech Check out the hottest 2008 models today at Yahoo! Autos. http://autos.yahoo.com/new_cars.html -- Kind regards René Luckow ___ Soekris-tech mailing list Soekris-tech@lists.soekris.com http://lists.soekris.com/mailman/listinfo/soekris-tech Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and lay it on us. http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 -- Kind regards René Luckow ___ Soekris-tech mailing list Soekris-tech@lists.soekris.com http://lists.soekris.com/mailman/listinfo/soekris-tech
Re: [Soekris] Controlling Error LED's on 5501
In message [EMAIL PROTECTED], Mike Tancsa writes: At 09:51 AM 9/17/2007, Poul-Henning Kamp wrote: In message [EMAIL PROTECTED], Jean-Michel Vansteene writes: Here is the patch for FreeBSD-current to access the net5501 error-led. I've asked the releng team for permission to commit. More a FreeBSD question, but any chance to MFC the geod changes as well as the vr changes to RELENG_6 ? I have been using the watchdog with the following diff and it seems to work well on RELENG_6 Yes, as soon as we finish debugging the remaining issues in -current I will mfc all that's necessary. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. ___ Soekris-tech mailing list Soekris-tech@lists.soekris.com http://lists.soekris.com/mailman/listinfo/soekris-tech
Re: [Soekris] Controlling Error LED's on 5501
At 10:25 AM 10/3/2007, Poul-Henning Kamp wrote: In message [EMAIL PROTECTED], Mike Tancsa writes: At 09:51 AM 9/17/2007, Poul-Henning Kamp wrote: In message [EMAIL PROTECTED], Jean-Michel Vansteene writes: Here is the patch for FreeBSD-current to access the net5501 error-led. I've asked the releng team for permission to commit. More a FreeBSD question, but any chance to MFC the geod changes as well as the vr changes to RELENG_6 ? I have been using the watchdog with the following diff and it seems to work well on RELENG_6 Yes, as soon as we finish debugging the remaining issues in -current I will mfc all that's necessary. OK, sounds good! In terms of testing on CURRENT, is there anything we can do on this side to test ? We have a number of 5501s we are planning to deploy in Novmeber on the bench right now we could use to stress test whatever you would find useful. ---Mike ___ Soekris-tech mailing list Soekris-tech@lists.soekris.com http://lists.soekris.com/mailman/listinfo/soekris-tech
Re: [Soekris] Controlling Error LED's on 5501
In message [EMAIL PROTECTED], Mike Tancsa writes: At 10:25 AM 10/3/2007, Poul-Henning Kamp wrote: Yes, as soon as we finish debugging the remaining issues in -current I will mfc all that's necessary. OK, sounds good! In terms of testing on CURRENT, is there anything we can do on this side to test ? We have a number of 5501s we are planning to deploy in Novmeber on the bench right now we could use to stress test whatever you would find useful. Right we've been working to get UDMA working on the ATA controller, and the warm reboot problem fixed. I think those are in shape now, so as soon as Soren releases 1.32f or later and re@ gives me permission, that stuff goes in. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. ___ Soekris-tech mailing list Soekris-tech@lists.soekris.com http://lists.soekris.com/mailman/listinfo/soekris-tech
Re: [Soekris] net5501 BIOS Update
On Oct 3, 2007, at 19:51 , Soren Kristensen wrote: Hi Everybody, I just posted a net5501 BIOS update with: comBIOS vers 1.32h * fixed IDE DMA enable issue on net5501 * fixed soft reboot issue on net5501 * change initial clear screen to scroll lines This all works fine now. There might still be issues with Ultra-DMA detect/setting, I would be happy to get a few success/failure reports, just email me directly. Under NetBSD -current, the controller reports Ultra-DMA mode 4 capability, the drive I have is Ultra-DMA mode 5 and they end up communicating at Ultra 4. Looks OK, if Ultra-DMA mode 4 (Ultra/66) is actually the top speed of the controller. viaide0 at pci0 dev 20 function 2 viaide0: Advanced Micro Devices CS5536 IDE Controller (rev. 0x01) viaide0: bus-master DMA support present viaide0: primary channel wired to compatibility mode viaide0: primary channel interrupting at irq 14 atabus0 at viaide0 channel 0 [SNIP] wd0 at atabus0 drive 0: TOSHIBA MK3017GAS wd0: drive supports 16-sector PIO transfers, LBA addressing wd0: 28615 MB, 58140 cyl, 16 head, 63 sec, 512 bytes/sect x 58605120 sectors wd0: 32-bit data port wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100) wd0(viaide0:0:0): using PIO mode 4, Ultra-DMA mode 4 (Ultra/66) (using DMA) -- aew PGP.sig 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
[Soekris] PCI card in Net5501
I am trying to use a PV-149a (4-Channel Brooktree-based capture card, see http://www.provideo.com.tw/DVRCard_149P.htm ) in the PCI slot. When I power the unit up with the card in place, the power LED will flash on briefly and then turn off and stay off. I tried an assortment of other card (SCSI, RS-232, Ethernet) without problem, so I suspect the problem is the current draw of the board but I have been unable to get the specs from the manufacturer. There is a 2.5 ATA drive in the box, which according to manufacturers spec draws 2.7W during writing/seeking. What is the max current a PCI card can draw when using the 40W power supply? Or is this not power problem? -- aew PGP.sig 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] Combination of EXT2 JFFS2 (as RootFS) don't boot Soekris net4521
Hi, The Initrd and Ram disk support in linux kernel along with JFFS2 related stuff solved the problem related to reboot. Sorry Stuart ... for using wrong forum for discussion But It will be very helpful if you have a special forum for OS related issues ... Thanks for having discussion with me ... Regards, ** Bhagyashri Katole Project Engineer NISG, C-DAC Pune,India ___ Soekris-tech mailing list Soekris-tech@lists.soekris.com http://lists.soekris.com/mailman/listinfo/soekris-tech
Re: [Soekris] net5501 BIOS Update
At 07:51 PM 10/3/2007, Soren Kristensen wrote: Hi Everybody, I just posted a net5501 BIOS update with: comBIOS vers 1.32h * fixed IDE DMA enable issue on net5501 * fixed soft reboot issue on net5501 Hi, Unfortunately, I still see the soft reboot issue on FreeBSD. e.g. from the bootloader prompt, if I try to reboot, the box will hang and never reboot Nothing fancy about my bios settings, other than the speed is set to 9600 POST: 012345689bcefghips1234ajklnopqr,,,tvwxy comBIOS ver. 1.32h 20071004 Copyright (C) 2000-2007 Soekris Engineering. net5501 0512 Mbyte MemoryCPU Geode LX 500 Mhz Pri Sla LEXAR ATA FLASH LBA 994-16-63 501 Mbyte Slot Vend Dev ClassRev Cmd Stat CL LT HT Base1Base2 Int --- 0:01:2 1022 2082 1010 0006 0220 08 00 00 A000 10 0:06:0 1106 3053 0296 0117 0210 08 40 00 E101 A0004000 11 0:07:0 1106 3053 0296 0117 0210 08 40 00 E201 A0004100 05 0:08:0 1106 3053 0296 0117 0210 08 40 00 E301 A0004200 09 0:09:0 1106 3053 0296 0117 0210 08 40 00 E401 A0004300 12 0:20:0 1022 2090 06010003 0009 02A0 08 40 80 6001 6101 0:20:2 1022 209A 01018001 0005 02A0 08 00 00 0:21:0 1022 2094 0C031002 0006 0230 08 00 80 A0005000 15 0:21:1 1022 2095 0C032002 0006 0230 08 00 00 A0006000 15 1 Seconds to automatic boot. Press Ctrl-P for entering Monitor. 1 FreeBSD 2 FreeBSD Default: 1 /boot.config: -hConsoles: serial port BIOS drive C: is disk0 BIOS 639kB/523264kB available memory FreeBSD/i386 bootstrap loader, Revision 1.1 ([EMAIL PROTECTED], Sat Sep 15 01:52:01 EDT 2007) Loading /boot/defaults/loader.conf /boot/kernel/kernel text=0x258e14 data=0x2bed4+0x16018 syms=[0x4+0x359d0+0x4+0x45239] - Hit [Enter] to boot immediately, or any other key for command prompt. Type '?' for a list of commands, 'help' for more detailed help. OK reboot Rebooting... at this point its totally hung and needs a power cycle dmesg looks like the following Copyright (c) 1992-2007 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 6.2-STABLE #1: Tue Sep 18 11:35:06 EDT 2007 [EMAIL PROTECTED]:/usr/obj/nanobsd-soekris5501/usr/src/sys/nano5501 Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Geode(TM) Integrated Processor by AMD PCS (499.90-MHz 586-class CPU) Origin = AuthenticAMD Id = 0x5a2 Stepping = 2 Features=0x88a93dFPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CLFLUSH,MMX AMD Features=0xc040MMX+,3DNow+,3DNow real memory = 536870912 (512 MB) avail memory = 520265728 (496 MB) K6-family MTRR support enabled (2 registers) cpu0 on motherboard pcib0: Host to PCI bridge pcibus 0 on motherboard pci0: PCI bus on pcib0 Geode LX: Soekris net5501 comBIOS ver. 1.32h 20071004 Copyright (C) 2000-2007 MFGPT bar: f0016200 pci0: encrypt/decrypt, entertainment crypto at device 1.2 (no driver attached) vr0: VIA VT6105M Rhine III 10/100BaseTX port 0xe100-0xe1ff mem 0xa0004000-0xa00040ff irq 11 at device 6.0 on pci0 miibus0: MII bus on vr0 ukphy0: Generic IEEE 802.3u media interface on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto vr0: Ethernet address: 00:00:24:c8:e2:24 vr1: VIA VT6105M Rhine III 10/100BaseTX port 0xe200-0xe2ff mem 0xa0004100-0xa00041ff irq 5 at device 7.0 on pci0 miibus1: MII bus on vr1 ukphy1: Generic IEEE 802.3u media interface on miibus1 ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto vr1: Ethernet address: 00:00:24:c8:e2:25 vr2: VIA VT6105M Rhine III 10/100BaseTX port 0xe300-0xe3ff mem 0xa0004200-0xa00042ff irq 9 at device 8.0 on pci0 miibus2: MII bus on vr2 ukphy2: Generic IEEE 802.3u media interface on miibus2 ukphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto vr2: Ethernet address: 00:00:24:c8:e2:26 vr3: VIA VT6105M Rhine III 10/100BaseTX port 0xe400-0xe4ff mem 0xa0004300-0xa00043ff irq 12 at device 9.0 on pci0 miibus3: MII bus on vr3 ukphy3: Generic IEEE 802.3u media interface on miibus3 ukphy3: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto vr3: Ethernet address: 00:00:24:c8:e2:27 isab0: PCI-ISA bridge at device 20.0 on pci0 isa0: ISA bus on isab0 atapci0: GENERIC ATA controller port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe000-0xe00f at device 20.2 on pci0 ata0: ATA channel 0 on atapci0 ata1: ATA channel 1 on atapci0 ohci0: OHCI (generic) USB controller mem 0xa0005000-0xa0005fff irq 15 at device 21.0 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: OHCI (generic) USB controller on ohci0 usb0: USB revision 1.0 uhub0: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 4 ports with 4 removable, self powered pci0: serial bus, USB at device 21.1 (no driver attached) orm0: ISA