On Wed, Nov 6, 2013 at 4:25 PM, Robert Nelson <[email protected]> wrote:
>>> Nah it's the fdtaddress, for some reason "0x82ff8000" is getting
>>> overwritten by the uImage... (22.6MB in size)
>>>
>>> This works fine:
>>>
>>> run findfdt
>>> setenv bootargs console=${console}
>>> load mmc 0 0x80007fc0 uImage
>>> load mmc 0 0x87ff0000 ${fdtfile}
>>> bootm 0x80007fc0 - 0x87ff0000
>>
>> Yup, worked for me too. Must have simply not been providing enough
>> space before the fdt?
>>
>>>
>>> But using this might be better long term..
>>>
>>> run findfdt
>>> setenv bootargs console=${console}
>>> load mmc 0 ${loadaddr} uImage
>>> load mmc 0 ${fdtaddr} ${fdtfile}
>>> bootm ${loadaddr} - ${fdtaddr}
>>
>> not ${kloadaddr}?
>
> Environment size: 3870/131068 bytes
> U-Boot# echo ${kloadaddr}
>
> U-Boot# echo ${loadaddr}
> 0x80200000
> U-Boot#
>
> That doesn't exist...
>
> loadaddr is used by default in loaduimage
>
> loaduimage=load mmc ${bootpart} ${loadaddr} ${bootdir}/${bootfile}
k, I see that is the way it is in mainline and that kloadaddr was
something in the Angstrom patches not pushed upstream. I'll think
about if that needs to be pushed upstream.
>
>>
>> Is ${fdtaddr} really far enough away?
>
> I think by spec it's either a max of 64Mb or 128Mb away, or the end of
> the RAM segment??? Can't find the document at the moment.
>
K, I see this u-boot has it pretty darn far up out of the way in the
mainline code.
BTW, if anyone does want a link to my build, it is at:
http://beagle.s3.amazonaws.com/buildroot/2013-11-06-21:33:56/index.html
There are a few bugs I need to fix right away. This version builds
with a version of 'node' that doesn't work due to specification of the
floating point mechanism. Also, the .dtbo files don't get built/copied
into /lib/firmware.
uEnv.txt contents below seem to work nicely:
uenvcmd=i2c mw 0x24 1 0x3e;run findfdt;setenv bootargs
console=${console};load mmc 0 0x80007fc0 uImage;load mmc 0 ${fdtaddr}
${fdtfile};bootm 0x80007fc0 - ${fdtaddr}
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.