Boot freezing

Discussion about U-Boot and the kernel.

Boot freezing

Postby AlesRuda » Fri Jan 02, 2015 10:24 pm

Hi,

I use Zedboard and I need reserve 32MB of physical memory for FPGA. I set kernel boot param mem=480M. ArchLinux booting process freeze.


$this->bbcode_second_pass_code('', 'Copying Linux from SD to RAM...
Device: zynq_sdhci
Manufacturer ID: 74
OEM: 4a45
Name: SDU1
Tran Speed: 50000000
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 29.5 GiB
Bus Width: 4-bit
reading ARBot.bit
4045678 bytes read in 293 ms (13.2 MiB/s)
design filename = "ARBot_routed.ncd;HW_TIMEOUT=FALSE;UserID=0xFFFFFFFF"
part number = "7z020clg484"
date = "2014/05/07"
time = "22:33:08"
bytes in bitstream = 4045564
zynq_load: Align buffer at 100072 to 100080(swap 1)
reading uImage
3775648 bytes read in 274 ms (13.1 MiB/s)
reading devicetree.dtb
8142 bytes read in 13 ms (611.3 KiB/s)
## Booting kernel from Legacy Image at 03000000 ...
Image Name: Linux-3.13.0-1-ARCH
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3775584 Bytes = 3.6 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
## Flattened Device Tree blob at 02a00000
Booting using the fdt blob at 0x2a00000
Loading Kernel Image ... OK
Loading Device Tree to 1fb4e000, end 1fb52fcd ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.')



Can anybody help me?

Thanks

Ales
AlesRuda
 
Posts: 5
Joined: Fri Jan 02, 2015 1:02 pm

Re: Boot freezing

Postby AlesRuda » Sun Jan 04, 2015 4:34 pm

I found solution. Problem is in u-boot and implementation of bootm command.
Bootm place fdt outside of memory available for kernel (mem=480M).

Flattened Device Tree blob at 02a00000
Booting using the fdt blob at 0x2a00000
Loading Kernel Image ... OK
Loading Device Tree to 1fb4e000, end 1fb52fcd ... OK

Simple solution is change CONFIG_SYS_SDRAM_SIZE to (480 * 1024 * 1024) in zynq_zed.h and recompile u-boot.

Ales
AlesRuda
 
Posts: 5
Joined: Fri Jan 02, 2015 1:02 pm


Return to U-Boot/Kernel

Who is online

Users browsing this forum: No registered users and 6 guests