Here is what I am seeing with core-image-minimal

32612024 bytes read in 11244 ms (2.8 MiB/s)
18179 bytes read in 30 ms (590.8 KiB/s)
## Booting kernel from Legacy Image at 00100000 ...
   Image Name:   Linux-3.12.0
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    32611960 Bytes = 31.1 MiB
   Load Address: 00008000
   Entry Point:  00008000
## Flattened Device Tree blob at 00000100
   Booting using the fdt blob at 0x00000100
   Loading Kernel Image ... OK
OK
   Loading Device Tree to 03ff8000, end 03fff702 ... OK

Starting kernel ...


If I make the uBoot image ~3 MB just using core-image-minimal-initramfs, I get 
different results. Here are the relevant part of my uboot configuration:


fdtaddr=0x00000100
fdtimage=/boot/socfpga_mitysom5csx.dtb
fdtimagesize=0x2000
mmcboot=setenv bootargs console=ttyS0,115200 root=${mmcroot} rw rootwait;bootm 
${loadaddr} - ${fdtaddr}
mmcload=mmc rescan;${mmcloadcmd} mmc 0:${mmcloadpart} ${loadaddr} 
${bootimage};${mmcloadcmd} mmc 0:${mmcloadpart} ${fdtaddr} ${fdtimage}
mmcloadcmd=ext2load
mmcloadpart=2
mmcroot=/dev/mmcblk0p2

----------------------------------------
Nick Crast
Associate Software Engineer
Saab Sensis Corporation
Phone: 315-445-5703
Email: nicholas.cr...@saabsensis.com


-----Original Message-----
From: Khem Raj [mailto:raj.k...@gmail.com] 
Sent: Tuesday, August 26, 2014 4:01 PM
To: Crast, Nicholas
Cc: yocto@yoctoproject.org
Subject: Re: [yocto] Using uboot to boot a large uimage

On 14-08-26 18:41:22, Crast, Nicholas wrote:
> I am currently attempting to boot with an initramfs built into my uimage 
> using uboot. 
> 
> However, I cannot get it to boot correctly. If I make the uimage totally 
> bare-bones, and just use core-image-minimal-initramfs, then it hangs huring 
> init at the waiting for devices... printout. Going and gutting the init 
> script, I can get to single user mode and it looks like the filesystem is 
> there.
> 
> I want a more full system, so I included core-image-boot and 
> core-image-basic. I figured this would initialize better. When I do this, my 
> uImage jumps up to ~50MB. U-boot then hangs at "starting kernel..."
> 

core-image-minimal should boot you into shell console. That should have been 
enough

> I don't think that the uimage is clobbering the device tree, because the 
> device tree is loaded at 0x100, and the uimage is loaded at 0x8000. 
> 

make sure that memory is not overlapping and is initiaized

-
This message is intended only for the addressee and may contain information 
that is company confidential or privileged.  Any technical data in this message 
may be exported only in accordance with the U.S. International Traffic in Arms 
Regulations (22 CFR Parts 120-130) or the Export Administration Regulations (15 
CFR Parts 730-774). Unauthorized use is strictly prohibited and may be 
unlawful. If you are not the intended recipient, or the person responsible for 
delivering to the intended recipient, you should not read, copy, disclose or 
otherwise use this message. If you have received this email in error, please 
delete it, and advise the sender immediately. 
-          
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to