After relocate the printf not working
Hi!
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 the result is same. I have no idea whats the problem. Please help me!
--
View this message in context: http://u-boot.10912.n7.nabble.com/After-relocate-the-printf-not-working-tp189814.html
Sent from the U-Boot mailing list archive at Nabble.com.
Hello Viktor?
Quoted 30 lines · nohabviktor
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-procedureThe 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}{tIn: serial
Out: serial
Err: serial
uboot>I send a 'help' command:
Quoted 10 lines
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