2008-04-17 15:52:33     Problems with custom compiled blackfin uClinux image

Document created by Aaronwu Employee on Aug 6, 2013
Version 1Show Document
  • View in full screen mode

2008-04-17 15:52:33     Problems with custom compiled blackfin uClinux image

Paulo Silva (BRAZIL)

Message: 54435    Sires,


I am trying to boot a customized compiled uClinux image for Blackfin processor in the skyeye emulator,

but I'm having problems loading the file system, after the system boot.


I need to know if my compilation is wrong (I don't have a Blackfin board available right now to test this assumption)

of if there is some special option on compilation to enable the system loading in skyeye.


The boot message I get is shown below:




big_endian is false.

arch: blackfin

mach info: name bf533, mach_init addr 0x8097a80

uart_mod:0, desc_in:, desc_out:, converter:

exec file "images/linux"'s format is elf32-little.

load section .text: addr = 0x00001000  size = 0x000acce8.

load section .init: addr = 0x000adce8  size = 0x0000a6c4.

load section .text_l1: lma = 0x000b83ac (vma = 0xffa00000)  size = 0x000000cc.

not load section .data_l1: addr = 0xff800000  size = 0x00000000 .

load section .data: addr = 0x000b8478  size = 0x00023568.

not load section .bss: addr = 0x000db9e0  size = 0x00013048 .

not load section .comment: addr = 0x00000000  size = 0x00002d5a .

load section .romfs: addr = 0x000eea28  size = 0x00800000.

call ARMul_InitSymTable,kernel filename is images/linux.

start addr is set to 0x00001000 by exec file.

Linux version (paulo@m01sys052xp) (gcc version 3.4.4 (Blackfin 05R4 20051205)) #12 Thu Apr 17 15:45:35 BRT 2008

Blackfin support (C) 2004 Analog Devices, Inc.

ADSP-BF533 Rev. 0.0

Warning: Unsupported Chip Revision ADSP-BF533 Rev. 0.0 detected


Blackfin uClinux support by <a target="_blank" href="http://blackfin.uclinux.org/">blackfin.uclinux.org

Processor Speed: 110 MHz core clock and 22 Mhz System Clock

Board Memory: 128MB

Memory map:

  text = 0x001000-0x0adce8

  data = 0x0b8478-0x0db9e0

  bss  = 0x0db9e0-0x0eea28

  rootfs = 0x8000000-0x8000000

  stack = 0x0ba000-0x0bc000

Hardware Trace Enabled

Built 1 zonelists

Kernel command line:

Configuring Blackfin Priority Driven Interrupts

PID hash table entries: 1024 (order: 10, 16384 bytes)

Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)

Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)

Physical pages: 8000

Memory available: 128768k/130334k RAM, (40k init code, 691k kernel code, 217k data, 0k dma)

Blackfin Scratchpad data SRAM: 4 KB

Blackfin DATA_A SRAM: 32 KB

Blackfin DATA_B SRAM: 32 KB

Security Framework v1.0.0 initialized

Capability LSM initialized

Mount-cache hash table entries: 512

Linux NoNET1.0 for Linux 2.6

Blackfin DMA Controller for BF533

stamp_init(): registering device resources

Real Time Clock Driver v1.10e


Dynamic Power Management Controller: major=10, minor = 254

DPMC Driver v0.1

BlackFin BF533 serial driver version 2.00 With DMA Support

io scheduler noop registered

io scheduler cfq registered

RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize

VFS: Cannot open root device "<NULL>" or unknown-block(0,0)

Please append a correct "root=" boot option

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)




I've realized in this dump two strange things. First, in the Memory map, the rootfs block begins and ends at the 0x8000000 address,

which turns it to 0 (ZERO) size. Second, the "root=" boot option (the system cannot load the "<NULL>" root device).


I suppose if I correct these two problems, I can load the system on skyeye, but I can't find any uClinux build option

(given by "make menuconfig") that configures system boot options, nor I can find how to set the rootfs image address. I know,

only, how to define the file or directory that contains the rootfs model structure.


Other information:


Linux version (from 'uname --all'):

Linux m01sys052xp 2.6.22-14-generic #1 SMP Tue Dec 18 08:02:57 UTC 2007 i686 GNU/Linux


Distribuição do uClinux:

Blackfin uClinux-dist-R05R4-RC2



bfin-gcc-3.4.05r4-6.i386 with uClib





Can anyone help me?




2008-04-17 16:19:01     Re: Problems with custom compiled blackfin uClinux image

Mike Frysinger (UNITED STATES)

Message: 54436    the rootfs is automatically appended by the uclinux-dist build system


i dont know if skype allows you to set the kernel command line, but if not, you can hardcode it yourself in the kernel configuration menu