Embedded Linux

2005-02-22 Thread Gin








Don’t know if anyone
has a good tool package in mind that I can use to develop an Embedded Linux. We
want a linux that is just enough to run the flash_rom program+usb support and
we hope it would be small enough so we can fit it into a Bios chip. It’s all for the convenience of updating Bios in the future. As you image, we are closed to support
Linuxbios officially in our products.

 

 

gin








Re: Embedded Linux

2005-02-22 Thread Stefan Reinauer
* Gin <[EMAIL PROTECTED]> [050222 10:07]:
> Don't know if anyone has a good tool package in mind that I can use to
> develop an Embedded Linux. We want a linux that is just enough to run
> the flash_rom program+usb support and we hope it would be small enough
> so we can fit it into a Bios chip. It's all for the convenience of
> updating Bios in the future. As you image, we are closed to support
> Linuxbios officially in our products.

If it's just about reading a file from usb and writing it to flash, you
might want to have a look at filo. It should be easy to integrate the
functionality of flash_rom into it, so you don't need a full blown linux
system in flash. 
Otherwise it is very much dependent on your flash size whether you can
fit Linux in there or not. 512k _might_ be enough if you really squeeze,
but unlikely.


___
Linuxbios mailing list
Linuxbios@clustermatic.org
http://www.clustermatic.org/mailman/listinfo/linuxbios


RE: Embedded Linux

2005-02-22 Thread Gin
>If it's just about reading a file from usb and writing it to flash, you
>might want to have a look at filo. It should be easy to integrate the
>functionality of flash_rom into it, so you don't need a full blown
linux
>system in flash. 

That will be a good idea if FILO can launch the flash_rom program but I
thought FILO is excepting a bootable image. 
So I guess the effort will be in "How to make FILO run an executable?"
Don't' know if I miss anything.

gin

___
Linuxbios mailing list
Linuxbios@clustermatic.org
http://www.clustermatic.org/mailman/listinfo/linuxbios


Porting Linuxbios to Via P4m266A

2005-02-22 Thread sherlock
Hi all

I ve been lurking on this list for some time.
Has linuxbios been ported to the Via p4m266A mobo?
(vt8633, vt8235, IT8705)
If not can i do it?. 
Basically i would like to boot from a usb thumb drive 
(transcend 512Mb). The problem is that the bios 
recognizes the usb only as a floppy and if it is a 
dos fat16 partition. This makes grub and lilo unusable 
(unless i waste 16 mb on a dos partition). I am able 
to use syslinux though. 

here is what lspci says
00:00.0 Host bridge: VIA Technologies, Inc.: Unknown device 3148
00:01.0 PCI bridge: VIA Technologies, Inc. VT8633 [Apollo Pro266 AGP]
00:10.0 USB Controller: VIA Technologies, Inc. UHCI USB (rev 80)
00:10.1 USB Controller: VIA Technologies, Inc. UHCI USB (rev 80)
00:10.2 USB Controller: VIA Technologies, Inc. UHCI USB (rev 80)
00:10.3 USB Controller: VIA Technologies, Inc.: Unknown device 3104 (rev 82)
00:11.0 ISA bridge: VIA Technologies, Inc.: Unknown device 3177
00:11.1 IDE interface: VIA Technologies, Inc. Bus Master IDE (rev 06)
00:11.5 Multimedia audio controller: VIA Technologies, Inc. AC97 Audio 
Controller (rev 50)
00:12.0 Ethernet controller: VIA Technologies, Inc. Ethernet Controller (rev 74)
01:00.0 VGA compatible controller: S3 Inc.: Unknown device 8d04

attached  output of lspci -v

Btw I am good with a solder iron and do some work with 
microntrollers pcs and assorted hardware.

rgds
jtd


p4m266a
Description: Binary data


LinuxBios support for the ELAN SC520

2005-02-22 Thread Robin Randhawa
Greetings List and Hi Ron!

Ron, its been a while since I made on offlist enquiry about Linuxbios
support for AMD's ELANSC520 microcontroller. Couldn't get my hands on
the devel board hence the delay. Apologies for the same! I'll have the
board by the weekend so I thought now would be a good time to get my
perspective right.

Here's the spill:

I've been asked to get Linux 2.6.x up on a BIOS-less custom devel board
built around this controller and would love to collaborate and get some
help from this community. I would love to put up my experience if it
would help others.

But first, some pre-requisites. I have some degree of expertise with
deeply embedded RTOS' such as eCos (did a port to a multicore board) and
bootloaders such as RedBoot but have never ventured strictly into the
Linux BSP domain, though I call myself a Linux power user (not in any
way grandiose!) and have done a fair amount of Linux Device Driver work.

After a bit of digging around, I've narrowed down my choice of
bootloaders to telios' ALIOS and Linuxbios from you good people. Alios
seems to support only the ELAN SC400 and I am not sure of the existing
Linuxbios support for the ELAN SC520.

Could someone please inform me if this microcontroller is currently
supported ?

My strategy, based on AMD's recommendations for the SC520 is to come up
with bootstrap code which does the following (from scratch if I have no
other option, but I'm hoping that Linuxbios will come to the rescue!) :

1. From the reset vector (which just 16Kb from the top of physical mem),
jump to a more spacious area
2. Switch to protected mode
3. Bring up the DRAM
4. Copy a Linux elf image which is at some safe location in ROM to the
DRAM
5. Jump to it

Now while that may sound fine and dandy, I am plagued by very basic and
fundamental questions which I will pop up as things move along.

Since this micro is core compatible with a pentium, I intend using
standard pentium GNU tools.

For the moment, I would really appreciate pointers to experiences,
documentation, tutorials et al. I could supply more info as needed.

Thanks a tonne and keep up the good work!

Cheers,
Robin

___
Linuxbios mailing list
Linuxbios@clustermatic.org
http://www.clustermatic.org/mailman/listinfo/linuxbios


Re: LinuxBios support for the ELAN SC520

2005-02-22 Thread Stefan Reinauer
* Robin Randhawa <[EMAIL PROTECTED]> [050222 16:40]:
> After a bit of digging around, I've narrowed down my choice of
> bootloaders to telios' ALIOS and Linuxbios from you good people. Alios
> seems to support only the ELAN SC400 and I am not sure of the existing
> Linuxbios support for the ELAN SC520.
> 
> Could someone please inform me if this microcontroller is currently
> supported ?
 
I've started a port a while ago but I never found the time to get it
working. I'll dig it up so you can have a look somewhen this week.

Stefan

___
Linuxbios mailing list
Linuxbios@clustermatic.org
http://www.clustermatic.org/mailman/listinfo/linuxbios


Re: yet another reason to use linuxbios in laptops I guess

2005-02-22 Thread Ronald G. Minnich
yeah, I hit this problem 2 weeks ago. Tried to put an X24 minicard into a 
T41 and got the same error. 

I hate fuctory BIOS.

ron

___
Linuxbios mailing list
Linuxbios@clustermatic.org
http://www.clustermatic.org/mailman/listinfo/linuxbios


Re: LinuxBios support for the ELAN SC520

2005-02-22 Thread Robin Randhawa
Hi Stefan.
Thanks for your prompt response.
That would be nice.

Will look forward to checking out your code. Do let me know when you
would be able to hand it over,

Cheers and thanks,
Robin

On Tue, 2005-02-22 at 16:58 +0100, Stefan Reinauer wrote:
>* Robin Randhawa <[EMAIL PROTECTED]> [050222 16:40]:
>> After a bit of digging around, I've narrowed down my choice of
>> bootloaders to telios' ALIOS and Linuxbios from you good people. Alios
>> seems to support only the ELAN SC400 and I am not sure of the existing
>> Linuxbios support for the ELAN SC520.
>> 
>> Could someone please inform me if this microcontroller is currently
>> supported ?
> 
>I've started a port a while ago but I never found the time to get it
>working. I'll dig it up so you can have a look somewhen this week.
>
>Stefan
>

___
Linuxbios mailing list
Linuxbios@clustermatic.org
http://www.clustermatic.org/mailman/listinfo/linuxbios


Re: Porting Linuxbios to Via P4m266A

2005-02-22 Thread Ronald G. Minnich
I would love it if you could do that port. You need to get data from via 
on how the chips work. That is your first step.

ron

___
Linuxbios mailing list
Linuxbios@clustermatic.org
http://www.clustermatic.org/mailman/listinfo/linuxbios


Re: yet another reason to use linuxbios in laptops I guess

2005-02-22 Thread Bryan O'Sullivan
On Tue, 2005-02-22 at 08:59 -0700, Ronald G. Minnich wrote:
> yeah, I hit this problem 2 weeks ago. Tried to put an X24 minicard into a 
> T41 and got the same error. 

Far from an ideal solution, but:

http://www.srcf.ucam.org/~mjg59/thinkpad/hacks.html

http://www.clustermatic.org/mailman/listinfo/linuxbios


Re: Embedded Linux

2005-02-22 Thread Stefan Reinauer
* Gin <[EMAIL PROTECTED]> [050222 12:47]:
> >If it's just about reading a file from usb and writing it to flash, you
> >might want to have a look at filo. It should be easy to integrate the
> >functionality of flash_rom into it, so you don't need a full blown
> linux
> >system in flash. 
> 
> That will be a good idea if FILO can launch the flash_rom program but I
> thought FILO is excepting a bootable image. 
> So I guess the effort will be in "How to make FILO run an executable?"
> Don't' know if I miss anything.

The idea is rather to add the code of flash_rom into filo and have
filo's filesystem layer only load the flash image from usb. This should
be doable in a whole of 30k I would bet. Since both filo and flash_rom
are rather small and clean, integration should not be too much of an
effort. Otherwise you would have to add minimal console and libc 
functionality to flash_rom which filo already has.

   Stefan
___
Linuxbios mailing list
Linuxbios@clustermatic.org
http://www.clustermatic.org/mailman/listinfo/linuxbios


Re: Embedded Linux

2005-02-22 Thread yhlu
Why waste time on that?

USB stick should be big enough to put (kernel+Initrd)elf in it.

LinuxBIOS-->FILO in Etherboot-->ELF on USB-->console... flash_rom and
get image from USB too.

YH


On Tue, 22 Feb 2005 20:43:47 +0100, Stefan Reinauer <[EMAIL PROTECTED]> wrote:
> * Gin <[EMAIL PROTECTED]> [050222 12:47]:
> > >If it's just about reading a file from usb and writing it to flash, you
> > >might want to have a look at filo. It should be easy to integrate the
> > >functionality of flash_rom into it, so you don't need a full blown
> > linux
> > >system in flash.
> >
> > That will be a good idea if FILO can launch the flash_rom program but I
> > thought FILO is excepting a bootable image.
> > So I guess the effort will be in "How to make FILO run an executable?"
> > Don't' know if I miss anything.
> 
> The idea is rather to add the code of flash_rom into filo and have
> filo's filesystem layer only load the flash image from usb. This should
> be doable in a whole of 30k I would bet. Since both filo and flash_rom
> are rather small and clean, integration should not be too much of an
> effort. Otherwise you would have to add minimal console and libc
> functionality to flash_rom which filo already has.
> 
>   Stefan
> ___
> Linuxbios mailing list
> Linuxbios@clustermatic.org
> http://www.clustermatic.org/mailman/listinfo/linuxbios
>
___
Linuxbios mailing list
Linuxbios@clustermatic.org
http://www.clustermatic.org/mailman/listinfo/linuxbios


Any update on linuxbios for laptops

2005-02-22 Thread Justin Rietz
I have been following/searching this mailing list, and
haven't been able to find whether or not there has /
will be a successful attempt at linuxbios on a laptop.
 Any news?  Thanks.

-Justin
___
Linuxbios mailing list
Linuxbios@clustermatic.org
http://www.clustermatic.org/mailman/listinfo/linuxbios


Porting nVidia's Crush chip - I seem to be having smbus trouble.

2005-02-22 Thread Ken Fuchs
I'm porting LinuxBIOS to nVidia's CK8-04 (nForce4) chip.  Currently, the
serial port is working and I believe the soft reset is working OK.

It seems that the smbus is not being setup properly.  Any suggestions
are most welcome.  Attached below is the serial output.

I will follow up with more useful tracing info from the serial port
later such as enabling CONFIG_SERIAL_POST.  Any other suggestions for
tracing and debug are welcome too.

Sincerely,

Ken Fuchs <[EMAIL PROTECTED]>

--

LinuxBIOS-1.1.7.0-Fallback Thu Feb 17 17:02:23 CST 2005 starting...
setting up resource mapdone.
(0,1) link=01
(1,0) link=01
02 nodes initialized.
SBLink=00
NC node|link=00
NC node|link=02
busn=06
ht reset -


LinuxBIOS-1.1.7.0-Fallback Thu Feb 17 17:02:23 CST 2005 starting...
setting up resource mapdone.
(0,1) link=01
(1,0) link=01
02 nodes initialized.
SBLink=00
NC node|link=00
NC node|link=02
busn=06
PCI: 00:01.00
PCI: 00:02.00
PCI: 00:02.01
PCI: 00:02.02
PCI: 00:03.00
PCI: 00:03.01
PCI: 00:05.00
PCI: 00:05.01
PCI: 00:07.00
PCI: 00:08.00
PCI: 00:09.00
PCI: 00:0a.00
PCI: 00:0b.00
PCI: 00:0c.00
PCI: 00:0d.00
PCI: 00:0e.00
PCI: 00:0f.00
PCI: 00:18.00
PCI: 00:18.01
PCI: 00:18.02
PCI: 00:18.03
PCI: 00:19.00
PCI: 00:19.01
PCI: 00:19.02
PCI: 00:19.03
Ram1.00
Ram1.01
Ram2.00
No memory for this cpu
Ram2.01
No memory for this cpu
Ram3
Clearing initial memory region:
___
Linuxbios mailing list
Linuxbios@clustermatic.org
http://www.clustermatic.org/mailman/listinfo/linuxbios


Re: Porting nVidia's Crush chip - I seem to be having smbus trouble.

2005-02-22 Thread yhlu
Which MB you are using?
___
Linuxbios mailing list
Linuxbios@clustermatic.org
http://www.clustermatic.org/mailman/listinfo/linuxbios


Re: Any update on linuxbios for laptops

2005-02-22 Thread Ronald G. Minnich


On Tue, 22 Feb 2005, Justin Rietz wrote:

> I have been following/searching this mailing list, and
> haven't been able to find whether or not there has /
> will be a successful attempt at linuxbios on a laptop.

we need a cooperative company. IBM *almost* was one, but it did not work 
out. I tried linspire, and there was interest, but not at the high levels. 

It's hard.

ron
___
Linuxbios mailing list
Linuxbios@clustermatic.org
http://www.clustermatic.org/mailman/listinfo/linuxbios


Re: Porting nVidia's Crush chip - I seem to be having smbus trouble.

2005-02-22 Thread Ronald G. Minnich


On Tue, 22 Feb 2005, Ken Fuchs wrote:

> I'm porting LinuxBIOS to nVidia's CK8-04 (nForce4) chip.  Currently, the
> serial port is working and I believe the soft reset is working OK.

sure wish we could get a release. Are you doing reverse engineering or ...

thanks

ron
___
Linuxbios mailing list
Linuxbios@clustermatic.org
http://www.clustermatic.org/mailman/listinfo/linuxbios