Re: [coreboot] how could i get the hexadecimal content in memory ataddress FFFF0000-FFFFFFF0?

2008-07-14 Thread Joseph Smith
> -Original Message- > From: Star Liu [mailto:[EMAIL PROTECTED] > Sent: Monday, July 14, 2008 7:29 PM > To: [EMAIL PROTECTED] > Subject: Re: [coreboot] how could i get the hexadecimal content in memory > ataddress -FFF0? > > On Mon, Jul 14, 2008 at 8:09 PM, <[EMAIL PROTECTE

Re: [coreboot] how could i get the hexadecimal content in memory at address FFFF0000-FFFFFFF0?

2008-07-14 Thread Peter Stuge
On Tue, Jul 15, 2008 at 07:15:24AM +0800, Star Liu wrote: > > I suggest you use flashrom > > thank you, flashrom works on my computer now, so i got the bios bin > file, though it didn't work 1 month ago :) Great! :) //Peter -- coreboot mailing list coreboot@coreboot.org http://www.coreboot.or

Re: [coreboot] how could i get the hexadecimal content in memory at address FFFF0000-FFFFFFF0?

2008-07-14 Thread Star Liu
On Mon, Jul 14, 2008 at 6:00 PM, Peter Stuge <[EMAIL PROTECTED]> wrote: > I suggest you use flashrom to read the contents of your system > firmware flash chip into a file. Then you can use xxd or hexdump -C > to print the contents of that file. See more about flashrom on: > http://coreboot.org/Flas

Re: [coreboot] [Fwd: Re: [patch][v2] cs5536 usb port4 configuration - new v3 patch]

2008-07-14 Thread Marc Jones
Stefan Reinauer wrote: > Marc Jones wrote: >> Marc Jones wrote: >> >>> Carl-Daniel Hailfinger wrote: >>> Hi Marc, please ignore my other mail regarding your equivalent v2 patch. I had not seen this mail yet and assumed divergence. Overall, I like the current style a

[coreboot] r696 - coreboot-v3/southbridge/amd/cs5536

2008-07-14 Thread svn
Author: mjones Date: 2008-07-15 01:04:48 +0200 (Tue, 15 Jul 2008) New Revision: 696 Modified: coreboot-v3/southbridge/amd/cs5536/cs5536.c Log: There was a programming error which made most USB port4 setup wrong. This patch uses byte pointer and the MMIO read and write functions. Signed-off-by

Re: [coreboot] SeaBIOS VGA ROM

2008-07-14 Thread Kevin O'Connor
On Mon, Jul 14, 2008 at 05:27:05PM -0500, [EMAIL PROTECTED] wrote: > > On Sun, Jul 13, 2008 at 11:59:59AM -0400, Tom Sylla wrote: > > > > Along the way, you have mentioned that SeaBIOS should run > > > the VGA ROM instead of coreboot. How do I build my ROM to > > > make that happen? My VGA is int

Re: [coreboot] C Programming

2008-07-14 Thread Star Liu
On Tue, Jul 15, 2008 at 1:06 AM, Eric W. Biederman <[EMAIL PROTECTED]> wrote: > I expect rather you need to do what the manpage for strcasestr > recommends and do: > > #define _GNU_SOURCE > > #include thank you! you are right, i need the #define _GNU_SOURCE for the strcasestr to comp

Re: [coreboot] SeaBIOS VGA ROM

2008-07-14 Thread Peter Stuge
On Mon, Jul 14, 2008 at 05:27:05PM -0500, [EMAIL PROTECTED] wrote: > Does this imply that SeaBIOS doesn't include VGABIOS by default? It does not. > Is VGABIOS the only open source VGA BIOS supported by coreboot? I believe VGABIOS is the only open source VGA BIOS that exists. Does VGABIOS work

Re: [coreboot] SeaBIOS VGA ROM

2008-07-14 Thread Ken.Fuchs
> On Sun, Jul 13, 2008 at 11:59:59AM -0400, Tom Sylla wrote: > > Along the way, you have mentioned that SeaBIOS should run > > the VGA ROM instead of coreboot. How do I build my ROM to > > make that happen? My VGA is integrated, so I usually > > prepend the ROM, and coreboot runs it. How will Sea

Re: [coreboot] NEOWARE EON 4000S

2008-07-14 Thread Uwe Hermann
On Mon, Jul 14, 2008 at 05:25:24PM +0200, Hannes Hegewald wrote: > Great, the irqpoll option did it!! Can we do something to make it work > even without the irqpoll option? Maybe creating a new irq_table.c ?! I > will also run getpir once more and compare the two files. Yep, please do. If you

Re: [coreboot] freedos on OLPC - question

2008-07-14 Thread Kevin O'Connor
On Mon, Jul 14, 2008 at 03:14:15PM -0400, Guylhem Aznar wrote: > > I'm not sure if you're looking to run natively or via an emulator. If > > you're looking to run natively then I imagine it may require some > > effort to get it up and running. If you're looking to run via an > > emulator, then it

Re: [coreboot] freedos on OLPC - question

2008-07-14 Thread Kevin O'Connor
Hi Guylhem, I'm CC'ing the coreboot mailing list as they seem to know a bit about OLPC and I know very little. On Mon, Jul 14, 2008 at 12:01:21PM -0400, Guylhem Aznar wrote: > Hello > > I saw you where porting Boch bios to Gcc, and you had an active > repository on http://git.linuxtogo.org/?p=ke

Re: [coreboot] C Programming

2008-07-14 Thread Eric W. Biederman
> thank you, i think there is something wrong with the gcc or > strcasestr, but it doesn't matter, i can manually convert it by > (char*)((long)strcasestr(a,b)) I doubt it. I expect rather you need to do what the manpage for strcasestr recommends and do: #define _GNU_SOURCE #inclu

Re: [coreboot] (GSoC__SCSI boot)GSOC Midterm survey and new problem(Vendor ID mismatch)

2008-07-14 Thread Zhang Rui
2008/7/14, Kevin O'Connor <[EMAIL PROTECTED]>: >[...] > Right - seabios needs to be using its stack in order to call 16bit > functions. You probably need to save and restore the stack. > Completely untested, but something like: > > movl %esp, %esi > movl $BUILD_STACK_ADDR, %esp > ljmp 0x10, $1f

Re: [coreboot] NEOWARE EON 4000S

2008-07-14 Thread Uwe Hermann
Hi, On Sun, Jul 13, 2008 at 07:13:02PM +0200, Hannes Hegewald wrote: > My console for the serial port was already set up correctly and worked > with the factory bios. I also see the nice white background with the tux > in the corner. OK, that's good. > As I already told you, the boot proces

Re: [coreboot] how could i get the hexadecimal content in memory ataddress FFFF0000-FFFFFFF0?

2008-07-14 Thread joe
> Then you can use xxd or hexdump -C I use dd with hexdump -C, it works pretty good. Thanks, Joseph Smith Set-Top-Linux www.settoplinux.org -- coreboot mailing list coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot

Re: [coreboot] [PATCH] Support for the ASI MB-5BLGP (Neoware Eon 4000s)

2008-07-14 Thread Carl-Daniel Hailfinger
On 14.07.2008 11:59, Juergen Beisert wrote: > Hi Carl-Daniel, > > On Montag, 14. Juli 2008, Carl-Daniel Hailfinger wrote: > >> I think I have figured out where to merge your code into the existing >> Geode LX CAR code. >> > > The Geode LX lacks these cache test registers! Only the GX1 suppo

Re: [coreboot] why my program segmentation fault?

2008-07-14 Thread George Danchev
Quoting Star Liu <[EMAIL PROTECTED]>: > I wrote a program to copy the memory content of - to a > file, but it says "Segmentation fault", (i use AMD64 lenny, so the > address is long), how could i fix it? thanks! you should only fclose() if Memory != NULL, so your function would be

Re: [coreboot] why my program segmentation fault?

2008-07-14 Thread Peter Stuge
Please do stop cross-posting. On Mon, Jul 14, 2008 at 05:31:18PM +0800, Star Liu wrote: > I wrote a program to copy the memory content of - > to a file, but it says "Segmentation fault", (i use AMD64 lenny, so > the address is long), how could i fix it? In Linux your program is ru

Re: [coreboot] how could i get the hexadecimal content in memory at address FFFF0000-FFFFFFF0?

2008-07-14 Thread Peter Stuge
On Mon, Jul 14, 2008 at 06:27:33PM +0800, Star Liu wrote: > > I suggest you use flashrom > > thank you, but i'm the unlucky one whose PC is not supported by > flashrom :) Maybe we can change that. Also, flashrom has recently gotten support for reading out flash chip contents also on unsupported h

Re: [coreboot] how could i get the hexadecimal content in memory at address FFFF0000-FFFFFFF0?

2008-07-14 Thread Star Liu
On Mon, Jul 14, 2008 at 6:00 PM, Peter Stuge <[EMAIL PROTECTED]> wrote: > Hi Star, > > It is often considered quite unpolite to cross-post to several > mailing lists, unless the issue genuinely requires all different > list participants to be involved. Yes, I agree with you, I won't do it in the f

Re: [coreboot] [PATCH] Support for the ASI MB-5BLGP (Neoware Eon 4000s)

2008-07-14 Thread Peter Stuge
On Mon, Jul 14, 2008 at 10:55:03AM +0200, Carl-Daniel Hailfinger wrote: > I think I have figured out where to merge your code into the > existing Geode LX CAR code. Is it really a good idea to have the same stage0 for GX1 and LX? //Peter -- coreboot mailing list coreboot@coreboot.org http://ww

Re: [coreboot] C Programming

2008-07-14 Thread Star Liu
On Mon, Jul 14, 2008 at 5:46 PM, Peter Stuge <[EMAIL PROTECTED]> wrote: > On Mon, Jul 14, 2008 at 06:16:06AM +0800, Star Liu wrote: >> I hope I'm not posting to the wrong place, if so, please remind me :) >> I'm making some practice on C programming, so that I can get into the >> linux world. > > W

Re: [coreboot] how could i get the hexadecimal content in memory at address FFFF0000-FFFFFFF0?

2008-07-14 Thread Peter Stuge
Hi Star, It is often considered quite unpolite to cross-post to several mailing lists, unless the issue genuinely requires all different list participants to be involved. On Mon, Jul 14, 2008 at 04:02:42PM +0800, Star Liu wrote: > I know from cpu manual that when machine starts, it executes > in

Re: [coreboot] [PATCH] Support for the ASI MB-5BLGP (Neoware Eon 4000s)

2008-07-14 Thread Juergen Beisert
Hi Carl-Daniel, On Montag, 14. Juli 2008, Carl-Daniel Hailfinger wrote: > On 14.07.2008 10:21, Juergen Beisert wrote: > > Hi Carl-Daniel, > > > > On Montag, 14. Juli 2008, Carl-Daniel Hailfinger wrote: > >> thanks a lot for the code. > >> > >> On 13.07.2008 22:50, Juergen Beisert wrote: > >>> On S

Re: [coreboot] C Programming

2008-07-14 Thread Peter Stuge
On Mon, Jul 14, 2008 at 06:16:06AM +0800, Star Liu wrote: > I hope I'm not posting to the wrong place, if so, please remind me :) > I'm making some practice on C programming, so that I can get into the > linux world. Well it seems you're programming a CGI application, so I think this list isn't th

[coreboot] why my program segmentation fault?

2008-07-14 Thread Star Liu
I wrote a program to copy the memory content of - to a file, but it says "Segmentation fault", (i use AMD64 lenny, so the address is long), how could i fix it? thanks! #include #include void CopyMemoryToFile(char* FilePath, long StartAddress, long OffSet) { FILE* Memory

Re: [coreboot] [PATCH] Support for the ASI MB-5BLGP (Neoware Eon 4000s)

2008-07-14 Thread Carl-Daniel Hailfinger
Hi Jürgen, On 14.07.2008 10:21, Juergen Beisert wrote: > Hi Carl-Daniel, > > On Montag, 14. Juli 2008, Carl-Daniel Hailfinger wrote: > >> thanks a lot for the code. >> >> On 13.07.2008 22:50, Juergen Beisert wrote: >> >>> On Sonntag, 13. Juli 2008, Carl-Daniel Hailfinger wrote: >>>

Re: [coreboot] [PATCH] Support for the ASI MB-5BLGP (Neoware Eon 4000s)

2008-07-14 Thread Juergen Beisert
Hi Carl-Daniel, On Montag, 14. Juli 2008, Carl-Daniel Hailfinger wrote: > thanks a lot for the code. > > On 13.07.2008 22:50, Juergen Beisert wrote: > > On Sonntag, 13. Juli 2008, Carl-Daniel Hailfinger wrote: > >> On 13.07.2008 21:37, Juergen Beisert wrote: > >>> On Sonntag, 13. Juli 2008, Uwe He

[coreboot] how could i get the hexadecimal content in memory at address FFFF0000-FFFFFFF0?

2008-07-14 Thread Star Liu
I know from cpu manual that when machine starts, it executes instruction at FFF0, and then execute some code at -FFF0, i hope i can get these machine code directly from my memory, any tool to help me display the hexadecimal or binary content? thanks! -- Regards! Star Shanghai, Chi