kuba_moo
Posts: 5
Joined: Tue Mar 17, 2015 12:47 pm

u-boot very slow kernel loading

Mon Jun 15, 2015 1:49 pm

I'm using latest u-boot to enable dual-boot on my CM-based board. Everything works fine except the MMC performance. This is a sample boot log:

Code: Select all

U-Boot 2015.07-rc2-dirty (Jun 11 2015 - 17:03:17 +0200)
                                                       
DRAM:  412 MiB
WARNING: Caches not enabled
RPI Compute Module         
MMC:   bcm2835_sdhci: 0
reading uboot.env      
In:    serial    
Out:   lcd   
Err:   lcd
Net:   Net Initialization Skipped
No ethernet found.               
Hit any key to stop autoboot:  0 
Booting normal system...         
switch to partitions #0, OK
mmc0(part 0) is current device
reading zImage                
4003816 bytes read in 48930 ms (79.1 KiB/s)
As you can see it takes almost a minute to load the kernel. Does anyone else, who is using u-boot, experience a similar problem? I'm not sure if it's related to the fact that I'm using the Compute module's on-board memory. Have anyone used u-boot on a SD card-based system successfully?
Any input would be greatly appreciated, thanks!

Vogtinator
Posts: 1
Joined: Wed Jun 17, 2015 3:57 pm

Re: u-boot very slow kernel loading

Wed Jun 17, 2015 4:03 pm

I also encountered this issue on the newest openSUSE rpi2 builds and it's indeed very annoying...

A fix was published on the mailing list: http://lists.denx.de/pipermail/u-boot/2 ... 16852.html
I tested it and it seems to work fine, loading speed exceeds 1.4 MiB/s.
I uploaded my working build: https://www.dropbox.com/s/jw6xgfg3adwcy ... ?dl=0&s=sl

Return to “General discussion”