On Wed, May 20, 2020 at 8:35 AM Vinay Hasyagar <[email protected]> wrote:
>
> Hi,
>
>
> I am using BBBW for learning Embedded Linux. I have taken an online course in 
> which BBB is being used. Also, they are using Angstrom distribution of Linux. 
> Since I did not get Angstrom distribution for BBBW I am using Debian 10.3 
> version from Beagleboard.ord. I am able to boot the board successfully from 
> this. But my question is, when I enter into U-boot login page by terminating 
> auto boot, I should be able to load kernel image at a specific address of 
> DDR3. But I am facing issue with this. I execute below commands to load the 
> kernel Image
>
> load mmc 1:1 0x82000000 /boot/vmlinuz-4.19.94.ti-r42
>
> where mmc is mmc interface
>            1 dev number (here I am using booting from eMMC i.e, MMC1)
>            1 is partition number. Since its debian ,eMMC has only one 
> partition i.e, rootfs
>            /boot/vmlinuz-4.19.94.ti-r42 is image name which is present inside 
> /boot/ folder
>
> This command executes successfully. It shows some 10590617 bytes read which 
> is the size of kernel image. But when I execute next command as below then I 
> get error.
>            bootm 0x82000000
> it gives Wrong Image format, Can't get kernel Image.

That is correct, "bootm" would be the wrong loader for "/boot/vmlinuz*"

bootm requires an file with a u-boot wrapper around it. (created by
u-boot's mkimage tool)..

Use "bootz" for a raw "/boot/vmlinuz*" file instead of "bootm"..

> Please help me with this. I tried with the address 0x80000000. But no 
> success, same error.
>
> Note: If you are using BBB and Angstrom distribution, then load command will 
> be "load mmc 1:2 0x82000000 /boot/uImage". This is given in online course. 
> For them its working

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYgkg%2BuSK%2BfghUajmmqVqWhiyeMCr-X8tnUaGigGGT96VQ%40mail.gmail.com.

Reply via email to