AnsweredAssumed Answered

Reduce boot time in BF548

Question asked by nik_ran on Feb 16, 2013
Latest reply on Feb 21, 2013 by Aaronwu

Hello,

 

     We are using "Blackfin-buildroot-2012R2-RC5" for BF548. We want to reduce the boot time. We are using sd card to load uImage and mounting sd card as part of our requirement. Please suggest a method to reduce the boot time  The console output which I am getting at boot time:

 

 

reading uImage

 

6199079 bytes read

** Too many args (max. 16) **

## Booting kernel from Legacy Image at 01000000 ...

   Image Name:   bf548-0.4-3.5.7-ADI-2012R2

   Created:      2013-02-16   6:21:13 UTC

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    6199015 Bytes = 5.9 MiB

   Load Address: 00001000

   Entry Point:  002153cc

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 002153cc

[    0.000000] Linux version 3.5.7-ADI-2012R2 (gcc version 4.3.5 (ADI-2012R2-RC2) ) #105 Sat Feb 16 11:51:10 IST 2013

[    0.000000] register early platform devices

[    0.000000] bootconsole [early_shadow0] enabled

[    0.000000] bootconsole [early_BFuart1] enabled

[    0.000000] early printk enabled on early_BFuart1

[    0.000000] Board Memory: 128MB

[    0.000000] Kernel Managed Memory: 96MB

[    0.000000] Memory map:

[    0.000000]   fixedcode = 0x00000400-0x00000490

[    0.000000]   text      = 0x00001000-0x0016c1d8

[    0.000000]   rodata    = 0x0016c1fc-0x001df6dc

[    0.000000]   bss       = 0x001e0000-0x001f2124

[    0.000000]   data      = 0x001f2140-0x0020c000

[    0.000000]     stack   = 0x0020a000-0x0020c000

[    0.000000]   init      = 0x0020c000-0x006fb000

[    0.000000]   available = 0x006fb000-0x05e00000

[    0.000000]   DMA Zone  = 0x05e00000-0x06000000

[    0.000000] Hardware Trace active and enabled

[    0.000000] Boot Mode: 3

[    0.000000] Reset caused by Software reset

[    0.000000] Blackfin support (C) 2004-2010 Analog Devices, Inc.

[    0.000000] Compiled for ADSP-BF548 Rev 0.4

[    0.000000] Warning: Unsupported Chip Revision ADSP-BF548 Rev 0.4 detected

[    0.000000] Blackfin Linux support by http://blackfin.uclinux.org/

[    0.000000] Processor Speed: 525 MHz core clock and 131 MHz System Clock

[    0.000000] NOMPU: setting up cplb tables

[    0.000000] Instruction Cache Enabled for CPU0

[    0.000000]   External memory: cacheable in instruction cache

[    0.000000]   L2 SRAM        : cacheable in instruction cache

[    0.000000] Data Cache Enabled for CPU0

[    0.000000]   External memory: cacheable (write-through) in data cache

[    0.000000]   L2 SRAM        : cacheable (write-back) in data cache

[    0.000000] Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 23876

[    0.000000] Kernel command line: root=/dev/mtdblock0 rw mem=96M max_mem=128M$ clkin_hz=25000000 earlyprintk=serial,uart1,57600 console=tty0 console=ttyBF1,57600 ip=192.168.9.30:192.168.9.118:192.168.9.1:255.255.255.0:bf548-ezkit:eth0:off g_ether.host_addr=00:50:C2:AD:40:81 g_ether.dev_addr=00:50:C2:AD:40:11 g_ether.iManufacturer="Lock" g_ether.iProduct="P" g_multi.iSerialNumber="1"

[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)

[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)

[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)

[    0.000000] Memory available: 88196k/98304k RAM, (5052k init code, 1452k kernel code, 640k data, 2048k dma, 916k reserved)

[    0.000000] NR_IRQS:295

[    0.000000] Configuring Blackfin Priority Driven Interrupts

[    0.000000] Console: colour dummy device 80x25

[    0.000000] console [tty0] enabled

[    0.000000] console [ttyBF1] enabled, bootconsole disabled

[    0.000000] console [ttyBF1] enabled, bootconsole disabled

[    0.012000] Calibrating delay loop... 1038.33 BogoMIPS (lpj=2076672)

[    0.040000] pid_max: default: 32768 minimum: 301

[    0.044000] Mount-cache hash table entries: 512

[    0.052000] devtmpfs: initialized

[    0.064000] Blackfin Scratchpad data SRAM: 4 KB

[    0.068000] Blackfin L1 Data A SRAM: 16 KB (16 KB free)

[    0.072000] Blackfin L1 Data B SRAM: 16 KB (16 KB free)

[    0.076000] Blackfin L1 Instruction SRAM: 48 KB (42 KB free)

[    0.080000] Blackfin L2 SRAM: 128 KB (128 KB free)

[    0.088000] NET: Registered protocol family 16

[    0.096000] Blackfin DMA Controller

[    0.100000] ezkit_init(): registering device resources

[    0.132000] bio: create slab <bio-0> at 0

[    0.140000] usbcore: registered new interface driver usbfs

[    0.144000] usbcore: registered new interface driver hub

[    0.148000] usbcore: registered new device driver usb

[    0.156000] i2c-bfin-twi i2c-bfin-twi.0: Blackfin on-chip I2C TWI Contoller, regs_base@ffc00700

[    0.160000] i2c-bfin-twi i2c-bfin-twi.1: Blackfin on-chip I2C TWI Contoller, regs_base@ffc02200

[    0.168000] Advanced Linux Sound Architecture Driver Version 1.0.25.

[    0.176000] FS-Cache: Loaded

[    0.180000] CacheFiles: Loaded

[    0.228000] NET: Registered protocol family 2

[    0.232000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)

[    0.236000] TCP established hash table entries: 4096 (order: 3, 32768 bytes)

[    0.240000] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)

[    0.248000] TCP: Hash tables configured (established 4096 bind 4096)

[    0.252000] TCP: reno registered

[    0.256000] UDP hash table entries: 256 (order: 0, 4096 bytes)

[    0.260000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)

[    0.264000] NET: Registered protocol family 1

[    1.764000] debug-mmrs: setting up Blackfin MMR debugfs

[    1.796000] msgmni has been set to 172

[    1.800000] io scheduler noop registered (default)

[    1.808000] bfin-uart: Blackfin serial driver

[    1.812000] bfin-uart.1: ttyBF1 at MMIO 0xffc02000 (irq = 48) is a BFIN-UART

[    1.820000] bfin-dma: initialized

[    1.824000] bfin-otp: initialized

[    1.836000] bfin_simple_timer: module loaded

[    1.844000] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)

[    1.848000] musb-hdrc: kernel must blacklist external hubs

[    1.852000] musb-hdrc musb-hdrc: USB OTG mode controller at ffc03c00 using DMA, IRQ 82

[    1.856000] input: bf54x-keys as /devices/platform/bf54x-keys/input/input0

[    1.864000] i2c /dev entries driver

[    1.872000] bfin_wdt: initialized: timeout=20 sec (nowayout=0)

[    1.880000] dma_alloc_init: dma_page @ 0x02a97000 - 512 pages at 0x05e00000

[    1.916000] TCP: cubic registered

[    1.924000] NET: Registered protocol family 17

[    1.960000] mmc0: host does not support reading read-only switch. assuming write-enable.

[    1.964000] mmc0: new SD card at address 1234

[    1.968000] mmcblk0: mmc0:1234 SA02G 1.83 GiB

[    1.976000]  mmcblk0: p1

[   13.984000] ALSA device list:

[   13.988000]   No soundcards found.

[   13.992000] Freeing unused kernel memory: 5052k freed

[   14.356000] usb0: MAC 00:50:c2:ad:40:11

[   14.360000] usb0: HOST MAC 00:50:c2:ad:40:81

[   14.376000]  gadget: Ethernet Gadget, version: Memorial Day 2008

[   14.380000]  gadget: g_ether ready

[   14.384000] musb-hdrc musb-hdrc: MUSB HDRC host driver

[   14.388000] musb-hdrc musb-hdrc: new USB bus registered, assigned bus number 1

[   14.400000] hub 1-0:1.0: USB hub found

[   14.408000] hub 1-0:1.0: 1 port detected

[   15.056000]  gadget: high-speed config #2: RNDIS

 

Thanks and Regards,

Nikhil.

Outcomes