RB532 Linux kernel hangs during initialisation
|Reported by:||tjalling.hattink@…||Owned by:||developers|
|Priority:||high||Milestone:||Barrier Breaker 14.07|
|Keywords:||rb532 lockup cf||Cc:|
When booting Kamikaze (r5626) on the routerboard RB532 it will lockup after trying to initialise the cf card. I've already discussed this defect with nbd in irc.
The problem is caused by patching the wrong area in the target images with the command line. The solution is to use offset 2064 instead of 4112 in the target/image/rb532/Makefile (see line 28). This at least works when using the default 3.4.6 gcc compiler, but I'm not sure if the location is the same for other compilers.
A better fix would be looking for the location of the _image_cmdline symbol in the vmlinux file using objdump and use that location as patch destination, instead of hardcoding it in the file.