From: Umar Qureshey <Umar@au...> - 2002-05-24 21:09:04
I am looking into porting armboot to a custom 7312-based board. I would
like to know what the the following defines in the
armboot-1.0.2/include/configs file mean (explanations a bit more elaborate
than found in the comments in the file itself requested :-))
CONFIG_SERIALx where x is defined as the "Serial line we use." What does
Serial line actually mean in this context? I noticed different
boards have different x values.
CFG_MEMTEST_END these two are obviously coupled together. All the
boards have the same value for this define.
CFG_LOAD_ADDR all boards have different values. Comment in file says
"Default load address." Elaborations on this?
CFG_HZ I know this has to do with flash programming. Would this
info be obtained from the documentation of flash chip one is
CFG_MAX_FLASH_SECT I would like to use jffs2 on the flash chip. What is
this and how does one determine this?
CFG_ENV_ADDR This is described as "Addr of environment sector." What
CFG_ENV_SIZE Has to do with above. Elaborations on this?
Furthermore, any light shed on these would be helpful since I do not know
much about JFFS2:
Finally, what is the CONFIG_BOOTCOMMAND define?
I would like to use perhaps bootp to download the kernel over ethernet.
Since I will be using the ep7312 as the basis for my port, the
config_ep7312.h file defines CONFIG_BOOTCOMMAND as "bootp; bootm"... I need
clarifications on this. What is bootm? If I wanna use tftp to download the
kernel image over ethernet, would I add tftp to the above string (as has
been done in config_lart and config_dnp1110)??
Apologies if some of these questions are trivial. This is probably the
first set in a series ;) Thanks for any help.
All the best,
Get latest updates about Open Source Projects, Conferences and News.