Re: [Qemu-devel] U-Boot patch for qemu -M mips

2007-10-04 Thread Vlad Lungu
Thiemo Seufer wrote: Vlad Lungu wrote: Thiemo Seufer wrote: Vlad Lungu wrote: [snip] +long int initdram(int board_type) +{ + /* Sdram is setup by assembler code */ + /* If memory could be changed, we should return the true value here */ + return

Re: [Qemu-devel] U-Boot patch for qemu -M mips

2007-10-04 Thread Thiemo Seufer
Vlad Lungu wrote: [snip] put some info somewhere (RAM, register, emulated DIP-dwitch), like RAM size, endianness of the CPU. Endianness is rather pointless. If your U-Boot binary doesn't explode immediately you got the right endianness. :-) It doesn't actually explode, it sort of

Re: [Qemu-devel] U-Boot patch for qemu -M mips

2007-10-04 Thread vlad
Vlad Lungu wrote: [snip] put some info somewhere (RAM, register, emulated DIP-dwitch), like RAM size, endianness of the CPU. Endianness is rather pointless. If your U-Boot binary doesn't explode immediately you got the right endianness. :-) It doesn't actually explode, it sort of almost

Re: [Qemu-devel] U-Boot patch for qemu -M mips TAKE 2

2007-10-04 Thread Vlad Lungu
Now with board config file included, so it can be built :-) Thiemo, I'll think about the memory size issue and get back to you on that. How about a git repo for U-Boot, if this thing takes off? Vlad --- diff --git a/Makefile

Re: [Qemu-devel] U-Boot patch for qemu -M mips TAKE 2

2007-10-04 Thread Vlad Lungu
Wolfgang Denk wrote: In message [EMAIL PROTECTED] you wrote: Now with board config file included, so it can be built :-) Thiemo, I'll think about the memory size issue and get back to you on that. How about a git repo for U-Boot, if this thing takes off? We actually have already a

Re: [Qemu-devel] U-Boot patch for qemu -M mips TAKE 2

2007-10-04 Thread Wolfgang Denk
In message [EMAIL PROTECTED] you wrote: Now with board config file included, so it can be built :-) Thiemo, I'll think about the memory size issue and get back to you on that. How about a git repo for U-Boot, if this thing takes off? We actually have already a lot of them - the master

Re: [Qemu-devel] U-Boot patch for qemu -M mips

2007-10-03 Thread Vlad Lungu
Thiemo Seufer wrote: Vlad Lungu wrote: Fix for mips GOT relocation bug, NE2000 bugs, add support for qemu -M mips target. [snip] diff --git a/board/qemu-mips/config.mk b/board/qemu-mips/config.mk [snip] +# +# AMD development board AMD Alchemy DbAu1x00, MIPS32 core

Re: [Qemu-devel] U-Boot patch for qemu -M mips

2007-10-03 Thread Thiemo Seufer
Vlad Lungu wrote: [snip] +long int initdram(int board_type) +{ + /* Sdram is setup by assembler code */ + /* If memory could be changed, we should return the true value here */ + return MEM_SIZE*1024*1024; Qemu gets the amount of RAM passed via a command line

Re: [Qemu-devel] U-Boot patch for qemu -M mips

2007-10-03 Thread Vlad Lungu
Thiemo Seufer wrote: Vlad Lungu wrote: [snip] +long int initdram(int board_type) +{ + /* Sdram is setup by assembler code */ + /* If memory could be changed, we should return the true value here */ + return MEM_SIZE*1024*1024; Qemu gets the amount of

Re: [Qemu-devel] U-Boot patch for qemu -M mips

2007-10-03 Thread Thiemo Seufer
Vlad Lungu wrote: Thiemo Seufer wrote: Vlad Lungu wrote: [snip] +long int initdram(int board_type) +{ + /* Sdram is setup by assembler code */ + /* If memory could be changed, we should return the true value here */ + return MEM_SIZE*1024*1024;

[Qemu-devel] U-Boot patch for qemu -M mips

2007-10-02 Thread Vlad Lungu
Fix for mips GOT relocation bug, NE2000 bugs, add support for qemu -M mips target. Patch is against U-Boot master branch. -- diff --git a/Makefile b/Makefile index 85885b1..8f650d2 100644 --- a/Makefile +++

Re: [Qemu-devel] U-Boot patch for qemu -M mips

2007-10-02 Thread Thiemo Seufer
Vlad Lungu wrote: Fix for mips GOT relocation bug, NE2000 bugs, add support for qemu -M mips target. [snip] diff --git a/board/qemu-mips/config.mk b/board/qemu-mips/config.mk new file mode 100644 index 000..39eb60a --- /dev/null +++ b/board/qemu-mips/config.mk @@ -0,0 +1,32 @@