
Hello,
2008/9/25 Andrew Dyer amdyer@gmail.com:
Many (most?) ARM kernel ports use a format called ATAGS to pass information to the linux kernel at startup.CONFIG_CMDLINE_TAG tells u-boot to include ATAGS support, there are a variety of tags that can
Oh, I see now. The TAG structures are defined in $(u-boot)/include/asm-arm/setup.h --- great deal of various tags (video, memory, initrd and so on).
be included with different CONFIG options. Have a look at lib_arm/bootm.c - where the kernel actually gets called is in line 125, like so: theKernel(0, machid, bd->bi_boot_params)
where the arguments get put into registers r0, r1, r2 and are 0, the machine ID, and a pointer to the ATAGS structure respectively.
Thanks a lot for such a useful and clear explanation.