Hi Hamiliton: This is the thread I have posted on the freescale forum. Just for reference for anyone need it: http://forums.freescale.com/t5/i-MX-Microprocessors/How-does-iMX51-EVK-load-U-Boot/td-p/62637
2010/11/20 Hamilton Vera <hamilton.lis...@gmail.com> > Matt actually we are using an IMX51 BBG based board, maybe you can > compare some code (I have no access to the code right now ) > > Does your board work with previous versions of android/uboot? Do you > even get a Uboot prompt? > > []´s > > On Sat, Nov 20, 2010 at 6:41 AM, Matt Shao <low...@gmail.com> wrote: > > Hi Hamilton: > > "as far as I know the behavior should be the same no matter > > what bootloader you are using." > > Yes! I definitely agree. > > And yes, I also tried to find the answer from the MX51 data > > Sheet(MCIMX51RM.pdf), but actually, I think the datasheet does NOT make > > things clearly. > > There is no chapter: "System Boot", but the chapter talks about how > to > > use IOMUX and Pin hardware configuration to decide where to Boot device. > > But it does not say how the BOOT ROM deals with the external ROM > > code(NAND/SD...) > > Actually, we have one board that design base on the MX51 EVK and we > > found after insert the R9.1 Android UBoot code, we could not got any UART > > trace. > > But with the same board, if we are using WinCE6 code, the board can > boot > > normally! > > So I have to understand what happened inside and try to figure out > why > > uboot can NOT boot(with our new board) or why uboot can boot(with EVK > > board)... > > I also post the problem on freescale forums, but still in waiting a > good > > answer... > > 2010/11/19 Hamilton Vera <hamilton.lis...@gmail.com> > >> > >> Hi Matt, as far as I know the behavior should be the same no matter > >> what bootloader you are using. > >> > >> Probably you already have this pdf (MCIMX51RM.pdf), but maybe you can > >> find some useful hint: > >> > >> > >> > http://cache.freescale.com/files/dsp/doc/ref_manual/MCIMX51RM.pdf?fpsp=1&WT_TYPE=Reference%20Manuals&WT_VENDOR=FREESCALE&WT_FILE_FORMAT=pdf&WT_ASSET=Documentation > >> > >> Please let me know about your improvements, I am also working with > >> IMX51 and uboot is working dandy. > >> > >> Thanks! > >> > >> Hamilton Vera > >> > >> On Thu, Nov 18, 2010 at 3:45 PM, Matt Shao <low...@gmail.com> wrote: > >> > hi Guys: > >> > > >> > Does any one knows how does the iMX51 boot with U-Boot? > >> > (Currently we are using boot from SD) > >> > Does the internel BOOT ROM will copy the whole U-Boot from the SD > to > >> > the > >> > DDRRAM? > >> > If so, where can I found the code? > >> > After review the code, I do not find any SD operation related to > >> > that. > >> > In the flash_header.s, I can only found IOMUX and DDR2 > initialize... > >> > In the startup.s(arm_cortexa8), I also do not found any SD card > >> > operation > >> > In the board.c(libarm), of course not again. > >> > > >> > So I really wonder, where is the actually place that the iMX51 > could > >> > copy the U-Boot to the DDRRAM? > >> > > >> > PS. As far as I know, the iMX51 BOOTRAM will copy 8K code from > the > >> > SD > >> > card into the internel RAM and then run in the Internel RAM, the 8K > code > >> > should then copy the whole bootloader into DDRRAM and then jump to the > >> > DDRRAM, that's the way how iMX51 windows CE6 works... > >> > Any comments is highly appreciated!! > >> > Thank you guys! > >> > > >> > -- > >> > unsubscribe: > >> > android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com> > >> > website: http://groups.google.com/group/android-porting > >> > > >> > >> > >> > >> -- > >> Hamilton Vera > >> int Administrator (char Network[],char ComputationalSystems[]) > >> http://hvera.wordpress.com > > > > > > > > -- > Hamilton Vera > int Administrator (char Network[],char ComputationalSystems[]) > http://hvera.wordpress.com > -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting