We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
練習環境:
mkimage
$ sudo apt-get install u-boot-tools
解壓至根目錄 /:
/
使用 2.4 與 1.0 kernel:
編譯命令:
make menuconfig; make dep; make Image
$ sudo dpkg --add-architecture i386 $ sudo apt-get update $ sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 $ sudo apt-get install gcc-multilib $ sudo apt-get install libsdl1.2debian:i386
set bootargs root=/dev/ram0 rw console=ttyS0,115200 mem=60M ramdisk=16384; bootm 30f00000 32000000
執行 gdb:
$ cd <path-to-kernel> $ /usr/local/arm/bin/arm-linux-gdb ./vmlinux
除錯指令:
target remote localhost:1234 b sys_open c
watch cdata p cdata x/4b cdata