On Wed, Jul 12, 2017 at 2:29 PM, Kenny Koller
<
ke...@understoryweather.com> wrote:
> Can someone help me understand the output of U-Boot? Please see my questions
> inline in green below. Also is there a sort Theory of Ops for U-Boot? I
> found a User Manual at the DENX site but nothing about the details of the
> boot sequence and how/where it searches for things. Thanks.
best details:
https://lists.denx.de/listinfo/u-boot
> U-Boot SPL 2017.01 (Jun 28 2017 - 23:47:37)
> Trying to boot from MMC1MMC partition switch failed
>
>
> I know what a partition is. What is a partition switch?
>
> *** Warning - MMC partition switch failed, using default environment
>
> Was it trying to read the environment from a partition or boot? We haven't
> launched U-Boot yet so what environment is this? Loaded to memory? Where?
>
>
> reading u-boot.img
> reading u-boot.img
>
>
> Why is U-Boot being read twice?
it tried to raw read u-boot.img but switch to the 1st partition in the
second read.
the function called is:
env import -t -r $loadaddr $filesize
nothing get's echoed..
>
> Importing environment from mmc0 ...
> switch to partitions #0, OK
> mmc0 is current device
> Scanning mmc 0:1...
> switch to partitions #0, OK
> mmc0 is current device
> SD/MMC found on device 0
> 5655304 bytes read in 389 ms (13.9 MiB/s)
> 34643 bytes read in 43 ms (786.1 KiB/s)I## Flattened Device Tree blob at
> 88000000
>
> Booting using the fdt blob at 0x88000000
> Loading Device Tree to 8fff4000, end 8ffff752 ... OK
>
>
> What is going on here? The DT was at 8800.0000 is it being moved?
u-boot's relocating things..
raw mode is much cleaner:
https://gist.github.com/RobertCNelson/a61e391168cdd4485a641097cc780aec
Regards,
--
Robert Nelson
https://rcn-ee.com/