1 | # tar -xzf pi.package.2004-04-14.tar.gz |
1 | # rpm –i IBMJava2-SDK-ppc-1.4.1-2.0.ppc.rpm |
1 2 3 | # export PATH=/opt/IBMJava2-ppc-141/jre/bin: /opt/IBMJava2-ppc-141/binPATH # export JDKDIR=/opt/IBMJava2-ppc-141 |
1 | # export JAVA64=64 |
1 | # ls –l /usr/src/linux |
1 2 | lrwxrwxrwx 1 root root 17 May 19 09:56 /usr/src/linux -> linux-2.4.19.SuSE |
1 | # cp -r /usr/src/linux-2.4.19.SuSE /usr/src/linux-2.4.19.SuSE.bak |
1 2 | # rm /usr/src/linux # ln -s /usr/src/linux-2.4.19.SuSE.bak /usr/src/linux |
1 | # cd /usr/src/linux |
1 2 3 | # patch --strip 1 -–verbose </piperf/patches/ppc64/pi.SuSE.2419.patch >/tmp/patch.log |
1 | # grep –i fail /tmp/patch.log |
1 2 3 | # patch --strip 1 --verbose </piperf/patches/pi.driver.2004-04-01.patch >/tmp/driver.log |
1 | # grep –i fail /tmp/driver.log |
1 | # export DISPLAY=minotaur.austin.ibm.com:0.0 |
1 2 | # make dep CROSS_COMPILE=powerpc64-linux- SUBARCH=ppc64 ARCH=ppc64 zImage modules modules_install |
1 | # cp arch/ppc64/boot/zImage /boot/piperf.zImage |
1 2 3 | image=/boot/piperf.zImage label=piperf.zImage root=/dev/sda3 |
欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) | Powered by Discuz! 7.0.0 |