2008-08-18 23:33:30     uClinux for BF536 crashes on boot

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

2008-08-18 23:33:30     uClinux for BF536 crashes on boot

Harvey Sugar (UNITED STATES)

Message: 60619   




I am trying to get uClinux to run on a simple BF536 based board.  I download the image via TFTP using uBoot.  Then boot the image via bootelf.  The image appears to be decompressed and loaded but then resets the processor almost imediately:


Bytes transferred = 5008473 (4c6c59 hex)

bfin> bootelf 1000000

Loading .text @ 0x00001000 (949792 bytes)

Loading .rodata @ 0x000e9000 (214036 bytes)

Loading __ksymtab @ 0x0011d414 (14120 bytes)

Loading __ksymtab_gpl @ 0x00120b3c (3544 bytes)

Loading __ksymtab_strings @ 0x00121914 (42208 bytes)

Loading __param @ 0x0012bdf4 (240 bytes)

Loading .data @ 0x0012c000 (65536 bytes)

Loading .data_l1.cacheline_aligned @ 0x0013c000 (192 bytes)

Loading .init.text @ 0x0013c0c0 (96688 bytes)

Loading .init.data @ 0x00153a70 (3072 bytes)

Loading .init.setup @ 0x00154670 (576 bytes)

Loading .initcall.init @ 0x001548b0 (384 bytes)

Loading .con_initcall.init @ 0x00154a30 (4 bytes)

Loading .init.ramfs @ 0x00154a34 (3090190 bytes)

Loading .text_l1 @ 0xffa00000 (8208 bytes)

sh_addr: FFA00000, p_paddr: 00447142

Loading from: 01448000 to 00447142, size: 8208

Clearing .bss @ 0x0044a000 (60624 bytes)

## Starting application at 0x0013d000 ...



U-Boot 1.1.6 (ADI-2008R1) (Aug 18 2008 - 22:39:37)


CPU:   ADSP bf536-0.2 (Detected Rev: 0.2)

Board: iDirect BF536 MIDAS board

       Support: http://blackfin.uclinux.org/

Clock: VCO: 400 MHz, Core: 400 MHz, System: 100 MHz

RAM:   64 MB

In:    serial

Out:   serial

Err:   serial

Net:   Blackfin EMAC

MAC:   5E:58:5A:6D:6C:55

I2C:   ready

Hit any key to stop autoboot:  5



I can build the distribution, download it to a BF537-EZKIT and it works fine. I am using:


uClinux-dist-2008R1-RC8, u-boot-1.1.6-2008R1,


Starting with this working kernel. the only configuration changes that I made for my own board is to change the processor type to BF536, disable UART0 and enable UART1, enable SPI master FLASH.  u-boot was modified for a lower clock rate and to use SPI FLASH and UART1 instead of UART0.




2008-08-19 00:12:59     Re: uClinux for BF536 crashes on boot

Sonic Zhang (CHINA)

Message: 60621   


Can you boot the same image for your bf536 board on bf537-ezkit?


We can't repliate your issue to boot bf536 image on bf537-ezkit.






2008-08-19 00:33:52     Re: uClinux for BF536 crashes on boot

Mike Frysinger (UNITED STATES)

Message: 60623   


show the output of "printenv" under u-boot


you can also review this page: