>1) My understanding is that the board initially loads some simple
>U-Boot code from a ROM, then, based on the hardware switch settings
>in SW blocks 4 and 5, locates a place to load a more-extensive build
>of U-Boot, either from NOR, NAND, or the SD card. Is this correct?
>
[Platon] No. The board switches control the location of the RCW and
PBL structure and NOR Flash address manipulation. See the board Quick
Start Guide, Section 5 and the chip Reference Manual, Section 4.4.6.1.
u-Boot never reads any board switch. When you select NAND and SD card
as the RCW source code, u-Boot is fetched and executed from the same
memory. This is done with the aid of of PBL. It is correct that u-Boot
for non-directly addressable memories is two stages, but the both
stages are loaded from the same memory.
>2) Is it true that I can start U-Boot from the NOR flash copy and
>still configure U-Boot to boot Linux from the SD card or other media,
> or do they all have to be on the same media?
[Platon] Yes. It is controlled by u-Boot environment variables, where
u-Boot takes binaries required for the client OS (Linux in the case
of the SDK) from. Refer to the SDK Manual, Section 3.4.8
>However, if I modify the switches to boot from the SD card, the
>system hangs hopelessly without producing any console log data.
>The switch settings are as follows: I will refer to the switches by
>the number on the switch, ranging from 1 to 8. The SDK PDF Section
>3.4.2 says to boot from SD, Switch 1 in Switch Block 5 should be set
>to zero/off. It also says that in Switch Block 4, only Switch 3
>should be 1/on. Correct?
>
[Platon] Put a valid u-Boot+RCW+PBL binary onto your SD card before
attempting to boot from SD. Refer to the SDK Manual, Section 3.4.8.4
The switch settings are correct.
>4) Note the reference in the u-boot command in the sdk is to kernel.itb.
>Such a file is not generated by any of the builds I have found.
>Is the command incorrectly documented? Which build is supposed to
>build the right kernel file?
>
[Platon] This refers to a combined kernel+rootfs+dtb image.
See the SDK Manual , Section 2.1.4. Build fsl-image-kernelitb target.
Have a great day,
Platon
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------