Compile Error for M5282EVB
A message that is not in the archive (sent off-list or not yet received): [email protected]
Dear Stuart,
Quoted 4 lines · in message <[email protected]> you wrote:
Thanks for the pointer. I could not find a "
CFG_CMD_" or "CONFIG_" that was specific to NFS, so I used "CFG_CMD_NET" in theM5282EVB.hconfig file. This seemed to work.
Why didn't you find CFG_CMD_NFS ?
Quoted 2 lines
I've built my own initialization routine. but I'm not sure how I load the U-Boot. I believe it's a 3 step process.
What do you mean with "load" here?
Quoted 3 lines
1) initialize the board
2) load a version of U-Boot into SRAM
3) use that version to load U-Boot into Flash
Or: use a tool like a BDM/JTAG debugger to program the U-Boot image to flash in just one step.
Quoted 2 lines
is this correct? and do I need to compile an separate version of U-Boot to run in SRAM?
If you want to use a SRAM based version, you will probably have to modify U-Boot for it (except your board has jumpers to swap SRAM and flash in the memory map).
Best regards,
Wolfgang Denk
Signature · 3 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de How much net work could a network work, if a network could net work?
Wolfgang,
Quoted 1 line · Wolfgang Denk
Why didn't you find
CFG_CMD_NFS?
I only looked into the Readme and not the code....
I tried CFG_CMD_NFS but I also need to add BOOTP along with Stephan Linz's patch for net/bootp.c. After that u-boot compiled.
Quoted 2 lines
Or: use a tool like a BDM/JTAG debugger to program the U-Boot image to flash in just one step.
I looked at gdb's documentation, but could not find anything. Is there a linux based utility that would use the bdm?
Quoted 3 lines
If you want to use a SRAM based version, you will probably have to modify U-Boot for it (except your board has jumpers to swap SRAM and flash in the memory map).
except I don't have the external SRAM populated.....
Thanks
Stuart