All times are UTC-06:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Wed Sep 14, 2011 1:48 pm 
Offline

Joined: Fri Aug 19, 2011 1:18 pm
Posts: 18
Location: Seattle, WA US
I've noticed that the built version of u-boot in git is

122372 Jul 16 13:56 build/u-boot.bin

the version in the updater is

165060 Aug 12 23:38 ubootsb.bin

the version in flash is about 148KiB based on dumping flash.

I suppose the real question is this, how do we build the release version of u-boot?


Top
   
 Post subject:
PostPosted: Wed Sep 14, 2011 4:36 pm 
Offline

Joined: Fri Aug 19, 2011 1:18 pm
Posts: 18
Location: Seattle, WA US
The git version of u-boot appears to halt with an exception. I built with the efikamx configuration using the latest arm cross compiler from CodeSourcery.

arm-2011.03-42-arm-none-eabi-i686-pc-linux-gnu

It halts with an abort exception. After some debugging it looks like this is a data abort and the cause is that the UART register block is not mapped to its physical address even though the driver is using physical addresses. In this case, 0x73fbc000.

It's also clear that the release version is different from the one in Git from start. The dcd header uses some different values in the Git version from the released build.


Top
   
 Post subject:
PostPosted: Wed Sep 14, 2011 4:59 pm 
Offline

Joined: Fri Aug 19, 2011 1:18 pm
Posts: 18
Location: Seattle, WA US
Looks like I was close but not quite accurate. The trouble doesn't seem to be an MMU mapping. It's much simpler. The UART enable bit isn't set so the SoC is aborting on any IO to the UART RX or TX registers.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
PowerDeveloper.org: Copyright © 2004-2012, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.
All other names and trademarks used are property of their respective owners. Privacy Policy
Powered by phpBB® Forum Software © phpBB Group