1 Jan 07:05
HowTo about debugging tux3 with qemu and gdb
sniper <s3c24xx <at> gmail.com>
2009-01-01 06:05:44 GMT
2009-01-01 06:05:44 GMT
The following is the HowTo about debugging tux3 with qemu and gdb. But it requires two nodes hda and hdb in /dev, I advice you to repost the filesystem with pre-created these nodes. cd /dev mknode -m 644 hda b 3 0 mknode -m 644 hdb b 3 64 And it also requires commenting the following line in file /etc/inittab #1:23:respawn:/sbin/getty 38400 tty1 HowTo about debugging tux3 with qemu and gdb: # Get a kernel tree: wget http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.26.5.tar.bz2 tar -xjf linux-2.6.26.5.tar.bz2 cd linux-2.6.26.5 # Get the Christmas tux3 patch and patch the kernel: wget http://tux3.org/patches/tux3-2.6.26.5-4 patch <tux3-2.6.26.5-4 -p1 # Build kernel with tux3: make defconfig make CONFIG_TUX3=y CONFIG_DEBUG_INFO=y CONFIG_FRAME_POINTER=y sudo make # Get the Christmas tux3 userspace snapshot: wget http://tux3.org/downloads/snapshots/tux3-20081230.tar.gz tar -xzf tux3-20081230.tar.gz(Continue reading)
RSS Feed