mister_wavey wrote:So your toolchain works now? Great.
I just recompiled the model answer for lesson 2 and booted the pi with it. The screen does show the normal coloured pattern, but the OK LED flashes about twice a second in a loop forever.
If you're not seeing this, it could be that you aren't copying the kernel.img to the sd card correctly.
How are you doing the copying?
Can you also do an 'ls -la' on the root of the sdcard to see if there are other files present? I seem to remember something about .Trash from mac causing problems for some.
Thanks for your prompt reply. I use cp /path to kernel.img /media/A1.... (mmcblk0p2) to copy the kernel.img. It comes form my server across a wifi network to a small laptop with an sd card slot.
The output from ls-la on my sd card boot partition is as follows:-
linux-jys7:/media/A1B1-918F # ls -la
total 36584
drwx------ 2 martin users 16384 Jan 1 1970 .
drwxr-xr-x 4 root root 80 Sep 12 19:50 ..
-rw-r--r-- 1 martin users 2458128 Aug 13 22:38 arm128_start.elf
-rw-r--r-- 1 martin users 2458128 Aug 13 22:38 arm192_start.elf
-rw-r--r-- 1 martin users 2458128 Aug 13 22:38 arm224_start.elf
-rw-r--r-- 1 martin users 631184 Aug 13 22:38 arm240_start.elf
-rw-r--r-- 1 martin users 16536 Aug 13 22:38 bootcode.bin
-rw-r--r-- 1 martin users 142 Aug 16 02:22 cmdline.txt
-rw-r--r-- 1 martin users 1180 Aug 16 02:22 config.txt
-rw-r--r-- 1 martin users 137 Aug 16 03:02 issue.txt
-rw-r--r-- 1 martin users 4115364 Aug 13 22:38 kernel_cutdown.img
-rw-r--r-- 1 martin users 16256148 Aug 13 22:38 kernel_emergency.img
-rw-r--r-- 1 martin users 6231036 Aug 13 22:38 kernel.img
-rw-r--r-- 1 martin users 275235 Aug 13 22:38 loader.bin
-rw-r--r-- 1 martin users 2458128 Aug 13 22:38 start.elf
linux-jys7:/media/A1B1-918F #
This is before I inserted the new kernel file
There are 3 kernel image files. I am not sure what to do with the other 2