2008-03-12 09:53:22     uImage error BF548

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

2008-03-12 09:53:22     uImage error BF548

Patrick Mc Donnell (IRELAND)

Message: 52389    Hi,

 

I have followed the steps given on the the website for downloading u-boot to the BF548 as shown:

 

    Boot over the UART and write U-Boot to one of the flashes

        build U-Boot with BFIN_BOOT_MODE set to <BFIN_BOOT_UART in <code>include/configs/bf548-ezkit.h

        set the Boot Mode to UART boot (SW1 to 7)

        Load it over the UART.

        build U-Boot with BFIN_BOOT_MODE set to BFIN_BOOT_SPI_MASTER in include/configs/bf548-ezkit.h

        set the Boot Mode to SPI Boot (SW1 to 3)

        reset the board

 

Now when i tftp down my kernel i get the following error as shown in file attached.

 

I also get the same error when i port the uImage given on the website down to my board.

 

What am I doing wrong?

 

Thanks,

Patrick

uImage_boot_error.rtf

QuoteReplyEditDelete

 

 

2008-03-12 11:15:56     Re: uImage error BF548

Mike Frysinger (UNITED STATES)

Message: 52394    what source tree are you compiling ?  what board are you using ?

 

you can just disable hard drive support in your kernel to work around the issue

QuoteReplyEditDelete

 

 

2008-03-13 05:46:21     Re: uImage error BF548

Patrick Mc Donnell (IRELAND)

Message: 52446    Hi Mike,

 

I am compiling uClinux-dist-2008R1-RC2 for a BF548-ezkit.

 

I understand that i could get over the error by disabling the HDD but i need the drive for my project.

 

I get the same error when i try boot the uImage that you compiled on the site too.

 

Thanks,

Pat

QuoteReplyEditDelete

 

 

2008-03-13 09:45:49     Re: uImage error BF548

Robin Getz (UNITED STATES)

Message: 52451    Patrick:

 

I have seen the same issue on other HD - but never the one that ships with the BF548 EZKit.

 

When I have seen it - it resumes booting if I wait 5-10 seconds (for something in the kernel to timeout).

 

Can you try that?

 

Thanks

-Robin

QuoteReplyEditDelete

 

 

2008-03-13 10:05:09     Re: uImage error BF548

Patrick Mc Donnell (IRELAND)

Message: 52455    Hi Robin,

 

It just sits on the last line:

 

physmap platform flash device: 00400000 at 20000000

 

I even left it for a few hours and when i came back to it, it was still sitting there.

 

Regards,

Pat

QuoteReplyEditDelete

 

 

2008-03-13 13:12:59     Re: uImage error BF548

Mike Frysinger (UNITED STATES)

Message: 52464    there have been fixes to the hard drive since the 2008R1 RC2 tarball so you should test the svn branch

QuoteReplyEditDelete

 

 

2008-03-13 13:43:21     Re: uImage error BF548

Robin Getz (UNITED STATES)

Message: 52468    Can you enable debug in the BF548 PATA driver? and repost the kernel output?

 

linux-2.6.x/drivers/ata/pata_bf54x.c

 

There are a bunch of dev_dbg that should get turned into printk if you have a "#define DEBUG 1" before the include to ./linux/device.h

 

Thanks

-Robin

QuoteReplyEditDelete

 

 

2008-03-13 23:37:19     Re: uImage error BF548

Sonic Zhang (CHINA)

Message: 52498   

 

Don't build 2008R1-RC2 for bf548-ezkit. There is a bug fixed against bf548-ezkit after RC2 is tagged. Please use the 2008R1-RC5 or wait for the finial release.

 

 

QuoteReplyEditDelete

 

 

2008-03-14 08:42:03     Re: uImage error BF548

Patrick Mc Donnell (IRELAND)

Message: 52541    Robin,

 

I have entered that line of code but from what i can see the kernel output is the same, which probably means i have done it wrong. I have attached both the kernel output and my pata_bf54x.c file.

 

I also downloaded the file uImage-SVN-bf548-ezkit from your site (nightly snapshots) and it ran through perfectly

 

I am looking for uClinux-dist-2008R1-RC5 as sonic said but i can't find it on the site, i can only find RC1 and RC2.

 

Regards,

Pat

pata_bf54x.c

Kernel_output.rtf

QuoteReplyEditDelete

 

 

2008-03-14 09:36:21     Re: uImage error BF548

Robin Getz (UNITED STATES)

Message: 52546    Patrick:

 

Just check the kernel out from svn branch.

 

try moving the define to the top of the file.

 

-Robin

QuoteReplyEditDelete

 

 

2008-03-14 13:01:09     Re: uImage error BF548

Patrick Mc Donnell (IRELAND)

Message: 52549    Robin,

 

When i moved the define to the top of the file i got the following.

 

Thanks,

Pat

Kernel_output.rtf

QuoteReplyEditDelete

 

 

2008-03-19 12:50:39     Re: uImage error BF548

Patrick Mc Donnell (IRELAND)

Message: 52761    Hi,

 

I have updated to 2008R1-RC8 and everything is working fine.

 

Thanks for all the help,

Pat

Outcomes