开发板上的第一个应用程序也要折腾
错误描述: linux内核和文件系统搭建好了,自然是要跑一个hello world以表尊重,但是问题出现了. ./hello 提示: hello (46): undefined instruction: pc=(ptrval) CPU: 0 PID: 46 Comm: led2 Not tainted 5.2.6 #23 Hardware name: SMDK2440 PC is at 0xb6f05328 LR is at 0xb6f00734 pc : [<b6f05328>] lr : [<b6f00734>] psr: 80000010 sp : beeb6c00 ip : beeb6ea0 fp : b6f00418 r10: b6f00734 r9 : b6f00288 r8 : beeb6c20 r7 : b6f00000 r6 : 0002702c r5 : b6f006ec r4 : b6f00000 r3 : 00000001 r2 : 00026f10 r1 : 00001915 r0 : 000000a0 Flags: Nzcv IRQs on FIQs on Mode USER_32 ISA ARM Segment user Control: c000717f Table: 33034000 DAC: 00000055 Code: e59b2004