NWR04B: Toolchain Problems Redux
08 Aug 2005- July 9th: arm-elf-tools-20030314.sh from uClinux.org. Busybox fails when run as init with "undefined instruction" and "unknown data abort code."
- July 10th: toolchain from hri.sourceforge.net. BB fails with "undefined instruction".
- July 11: uClibc buildroot script. No copy of elf2flt. Tried latest snapshot, which does have elf2flt, but it failed to install.
- July 24th: uClinux toolchain again. BB fails with "bad data abort", "unknown data abort code" and "obsolete system call". Possibly including different versions of unistd.h?
- July 26th: ptxdist. uClibc appears to be built with for CPU with MMU/FPU, ignoring values set in original menuconfig.
- July 30th: 3.4 toolchain from uClinux site (hidden!). Tried compiling the kernel with this toolchain, but far too many errors relating to change in behaviour from 2.95.3. BB failed with "relocation outside program". STL failed to build. God, this is pissing me off.
3 Comments
From: Joe
10-August-2005-00:04:45
Don't give up, mang. When I find that Murphy bastard, I'll show him what for or five.
From: Saint Aardvark
11-August-2005-21:11:19
Thanks!
From: elconquuistadorn
25-November-2005-02:00:21
kernel.orgjustlinux.comThese steps worked for me when I upgraded redhat 2.4.20-8 to 2.4.32:
* download linux-2.4.32 from kernal.org to your /usr/src directory.
a) cd /usr/src
b) wget http://www.kernel.org/pub/linux/kernel/v2.4/linux-2.4.32.tar.gz
* expand file
d) tar -zxvf linux-2.4.32.tar.gz
* Check owner and group and make sure the files are listed as "root". If not, chown -r root /usr/src/linux-2.4.32/* and chrgp -r root /usr/src/linux-2.4.32/*
* Create symbolic link
e) ln -s linux-2.4.32 linux-2.4
*switch to symbolic link
f) cd /usr/src/linux-2.4
*prepare new kernel config
1) make mrproper
* Copy existing configuration to new configuration
2) cp /usr/src/linux-2.4.20-8/.config /usr/src/linux-2.4/
*if .config not present cd /usr/src/linux-2.4.20-8 and then make menuconfig and then save config and exit. Do step 2 again.
3) cd /usr/src/linux-2.4.20-8 and type make menuconfig. Look for "File Systems" and take note of "ext-3" quit and exit.
4) cd /usr/src/linux-2.4 and type make menuconfig and check "File systems" and take note of "ext-3". Make sure they have the same settings as step 3. HIT SAVE AND EXIT.
* Update GRUB and create vmlinuz-2.4.32, System.map-2.4.32 and initrd-2.4.32.img in the /boot directory.
5) cd /usr/src/linux-2.4 && make dep clean bzImage install
6) cd /usr/src/linux-2.4
* kernel modules
7) make modules
8) make modules_install
9) ls /boot
* If vmlinuz-2.4.32 System.map-2.4.32 initrd-2.4.32.img files are not present and/or you get error code 2 on steps 5, 7, or 8, go back to step f.
11) reboot
12) select 2.4.32
*Have grub set 2.4.32 as default kernel by changing default=1 to 0 in /etc/grub.conf.
References:
http://wiki.openswan.org/index.php/RedHat%209
RedHat Linux 9.0 Bible - Christopher Negus
http://www.justlinux.com/nhf/Compiling_Kernels/Kernel_Configuration_and_Compilation.html
Regards,
Nelson
Add a comment:
Name and email required; email is not displayed.
Related Posts
QRP weekend 08 Oct 2018
Open Source Cubesat Workshop 2018 03 Oct 2018
mpd crash? try removing files in /var/lib/mpd/ 11 Aug 2018