Another question about the bootloader...
I've been trying to build different kernels in the hope of getting USB OTG or hostmode to work. I did manage to build and install a slightly modified version of the stock irex kernel by replacing the kernel.bin with the new zImage and rootfs.bin with a new jffs2 file in System/updates. The DR800 then went through its firmware upgrade process as normal, and booted up with the new kernel. Strangely though it didn't install the new root filesystem. Maybe I built it with the wrong arguments (?)
Anyway so far so good. Then I made some more ambitious changes to the kernel, went through the same procedure and found that it wouldn't boot. I even tried building a bleeding edge 3.0.0 kernel, with the same result. It would be good to get a bootlog from doing this to see if I can work out where in the boot process it is crashing. Modifying /etc/syslog.conf allows a syslog to be created. But logging to a file on the SD card is no good because the DR800 crashes before mounting the SD card. And logging to the internal flash memory is no good because it gets erased when I reflash. (OK slight contradiction, if I could reliably replicate the scenario where the kernel gets reflashed but the root filesystem doesn't it might just work, but I've not been able to make this happen).
So having got this far I thought I'd put the question out there whether anyone else has experimented along these lines or has any other information about the boot loader.
|