[U-Boot] After relocate the printf not working

Jeroen Hofstee jeroen at myspectrum.nl
Fri Sep 19 19:48:14 CEST 2014


Hello Viktor?

On 19-09-14 16:01, nohabviktor wrote:
> I have a LPC1788 board with 32Mbyte RAM and NAND flash and I followed the
> nxp instructions:
> http://www.lpcware.com/content/project/lpc177x8x-u-boot-port/u-boot-build-procedure
>
> The result is:
> U-Boot 2011.06 (Aug 16 2011 - 16:47:50)
>
> NXP LPC1788 Cortex-M3
> DRAM: 32 MiB
> Flash: e1zƒ K!A
> NAND: y2x#Mi
> #foeid !f pide 65472+ vedsigz 0@&1
> #fojd !f pide 65408+ vedsigz 0@&1
> pro!whoe "sadiyg fd "hocK!tae
> naf_rued_Zbt:8 at adnaf_rued_Zbt:8 at ad``lokk ad40x000000120000ztae
> naf_rued_Zbt:8 at ad``lokk ad40x000000140x00ztae
> naf_rued_Zbt:8 at adnaf_rued_Zbt:8 at ad``lokk ad40x000000180000
> tae
> naf_rued_Zbt:8 at ad``lokk ad40x0000001a0000ztae
> naf_rued_Zbt:8 at adnaf_rued_Zbt:8 at ad``lokk ad40x0000001e0000ztae
> sd rom(kffpt 40000 fa9xed***0Wa
> {viznm-|tdenv() failedL!usYxg `fa}{t
>
> In: serial
> Out: serial
> Err: serial
> uboot>
>
> I send a 'help' command:
>
> uboot> he
> Uncmow0coMkan0'he'x9 trl 'uboot>
> uboot>
>
> I switch on the debug mode and I realized the printf and vsprintf not
> working correctly after the relocated on the ram.  The puts function is
> works fine all the time. I tried the u-boot.hex from the nxp and tthe result
> is same. I have no idea whats the problem. Please help me!
>
>

I doubt there are NXP people active over here, so you might need
to ask it themselves. Google says [1] might have support for mentioned
board. (I have no idea though if it builds or boots).

Regards,
Jeroen

[1] 
https://github.com/EmcraftSystems/u-boot/blob/master/board/nxp/ea-lpc1788/board.c


More information about the U-Boot mailing list