Hi all,
I'm having a problem with my linux crashing with error message "undefined instruction" and I'm hoping somebody had similar problem. The offending instruction is "add lr, pc, #10" and it's located early in the kernel boot process (in the file head.s). The hex code for that instruction is "e28fe068" and looking at the manual for s3c2440 it does seem like invalid code. But I'm using a ARM compilers so I have no idea why image file has incorrect code for instruction.
I would greatly appreciate any thoughts as on what might be the problem.
Thanks
"undefined instruction"
Re: "undefined instruction"
add this flags in your makefile
-march=armv4t -mtune=arm920t
-march=armv4t -mtune=arm920t
Re: "undefined instruction"
Thanks for the tip, qazwsx. I tried it but it still crashes.
There's something fundamentally wrong that I must doing in compiling the kernel. I inserted simple patch into the assembly code that displays simple message and it doesn't work. On the other hand, I downloaded uImage for another board and I got the "unrecognized/unsupported machine ID"- now that's the kind of error I was expecting.
There's something fundamentally wrong that I must doing in compiling the kernel. I inserted simple patch into the assembly code that displays simple message and it doesn't work. On the other hand, I downloaded uImage for another board and I got the "unrecognized/unsupported machine ID"- now that's the kind of error I was expecting.
Who is online
Users browsing this forum: No registered users and 5 guests