Re: [U-Boot] U-Boot on Xilinx ML510

2008-12-24 Thread Felix Radensky
Hi, Michal Michal Simek wrote: Hi Felix there is generic-ppc440 support. I think it is easy to support ml510 board. Please look to board/xilinx/ml507/xparameters.h. 1. You can change this file manually 2. you can generate this file. (I am not sure which BSP generate this file but IMHO

Re: [U-Boot] U-Boot on Xilinx ML510

2008-12-24 Thread Michal Simek
Hi Felix, Michal Simek wrote: Hi Felix there is generic-ppc440 support. I think it is easy to support ml510 board. Please look to board/xilinx/ml507/xparameters.h. 1. You can change this file manually 2. you can generate this file. (I am not sure which BSP generate this file but IMHO

Re: [U-Boot] Error in buffer data for NAND flash write, read on OMAP3430SDP.

2008-12-24 Thread Nishanth Menon
Radha Krishna said the following on 12/24/2008 01:37 AM: nand dua ...this commad is simple and executes nand erase,nand write and nand read APIs. Write data and read data are like 1,2,3,4,5131072. For comparing byte by byte data, using two buffers write_buffer, read_buffer both are of

Re: [U-Boot] Error in buffer data for NAND flash write, read on OMAP3430SDP.

2008-12-24 Thread Nishanth Menon
Nishanth Menon said the following on 12/24/2008 07:41 AM: Radha Krishna said the following on 12/24/2008 01:37 AM: I got the U-boot from the URL: https://omapzoom.org/gf/project/bootloader/frs/ I think you are with a really old U-Boot if the above is the place you picked it

Re: [U-Boot] [RFC][PATCH] Code Clean-up (weak functions)

2008-12-24 Thread Joakim Tjernlund
- There is no purely weak functions and therfore no longer code like: if (do_something) do_somthing(); All instances have been replaced by empty functions with an alias. e.g. void __do_something (args) {} do_something(args) __atttribute__((weak,

[U-Boot] u-boot configurations for custom board with MPC 8265

2008-12-24 Thread Jyotshna Cherukuri
Hi All, I am using a custom powerpc board with MPC8265 ( 66/200/300 Mhz) , 32MB of SDRAM ( 0x - 0x01FF)  and 8 MB of Flash Simm ( 0xFF80 -  0x) . I am modifying the MPC8260ads configurations to match my board but I don't see any messages being printed on the serial

Re: [U-Boot] [RFC][PATCH] Code Clean-up (weak functions)

2008-12-24 Thread Shinya Kuribayashi
Joakim Tjernlund wrote: - There is no purely weak functions and therfore no longer code like: if (do_something) do_somthing(); All instances have been replaced by empty functions with an alias. e.g. void __do_something (args) {} do_something(args) __atttribute__((weak,

Re: [U-Boot] [RFC][PATCH] Code Clean-up (weak functions)

2008-12-24 Thread Remy Bohmer
Hello All, All instances have been replaced by empty functions with an alias. e.g. void __do_something (args) {} do_something(args) __atttribute__((weak, alias(__do_something))); Good to know. This doc also helps: http://docs.sun.com/app/docs/doc/817-1984/chapter2-11?l=ena=view

Re: [U-Boot] [RFC][PATCH] Code Clean-up (weak functions)

2008-12-24 Thread Shinya Kuribayashi
Remy Bohmer wrote: Create a default fallback routine that can be used if there is no strong implementation: --- __attribute__((weak)) unsigned long long printk_clock(void) { return sched_clock();

[U-Boot] debug uboot from ram for x86 board

2008-12-24 Thread LanceZ
Hi there, I am trying to add some codes(driver) to u boot, but I do not have jtag or other debugging tools. what I can use are :serial port/ethernet, so I can use tftp and loadb to download the bin to ram. Currently, I tried to use loadb to load the sample(hello_world) to ram and then execute