From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeroen Hofstee Date: Fri, 19 Sep 2014 19:48:14 +0200 Subject: [U-Boot] After relocate the printf not working In-Reply-To: <1411135282961-189814.post@n7.nabble.com> References: <1411135282961-189814.post@n7.nabble.com> Message-ID: <541C6C5E.4050902@myspectrum.nl> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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