From mboxrd@z Thu Jan 1 00:00:00 1970 From: Detlev Zundel Date: Thu, 17 Apr 2008 17:03:59 +0200 Subject: [U-Boot-Users] questions about stand alone application - flash a LED In-Reply-To: <200804142118.18422.casainho@gmail.com> (J. P. Casainho's message of "Mon, 14 Apr 2008 21:18:18 +0100") References: <48032361.25bb720a.38ba.1253@mx.google.com> <200804142118.18422.casainho@gmail.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, >> You can use the go CMD to test your app. >> Here post my used step. >> >> Write a simple code.It's just include a function definition >> void _start() >> { >> } >> Then compile it.After do that use following step: >> ppc_82xx-ld -Bstatic -Ttext 0x00001000 board/bname/ttt.o -o ttt.elf It just occured to me that you are overwriting the InstructionTLBMiss exception vector here. Are you sure you want to do this? This is one of the reasons why in examples/Makefile always 0x40000 is chosen for the standalone apps: ifeq ($(ARCH),ppc) LOAD_ADDR = 0x40000 endif Cheers Detlev -- A stated design goal of Motif was to give the X Window System the window management capabilities of HP's circa-1988 window manager and the visual elegance of Microsoft Windows. We kid you not. -- The UNIX Haters Handbook -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de