Gerhard Pircher writes: > I'm working on a 2.6.23 kernel for the AmigaOne. I implemented the device > tree and the platform setup code, which all compiles fine. I built a > cuImage target, loaded it on my target machine with TFTP and booted it. > The kernel passes the platform setup code and then dies somewhere in the > driver init code (AFAICT), but before the keyboard driver is initialized > (thus magic sysrq key doesn't work). Can somebody help me to track down > this problem?
You appear to have a working 16550-style serial port which the udbg infrastructure sees. Thus you should be able to use xmon, talking to it via the serial port. Put "xmon" on the kernel command line and the kernel will drop into xmon early in the boot process (in setup_arch). Then, either the kernel will oops at some point and drop into xmon, and you can then inspect memory and registers and get a stack trace, or it will hang at some point. If it hangs, you can work out where it hangs by putting in breakpoints at various points and seeing which breakpoints you get to (this might take several boots). Paul. _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev