First, let me back up. I discovered that I was following the wrong set of directions for building Angstrom for my SAM9G25 dev board. I was using the generic "Build for AT91" instructions (
http://www.at91.com/linux4sam/bin/view/ ... m_for_AT91) instead of the "Build for SAM9x5" directions (
http://www.at91.com/linux4sam/bin/view/ ... gstrom_9x5). These have different kernel versions, and there were parts that I needed from the more recent kernel.
Anyway, I'm in the process of building Angstrom for the 9x5 and I'm having problems when it's trying to build linux-nios2. The error I'm getting is as follows:
NOTE: Preparing runqueue
NOTE: Executing RunQueue Tasks
NOTE: Running task 5 of 5 (ID: 4, /media/sda3/stuff/openembedded/recipes/linux/linux-nios2_2.6.34.bb, do_configure)
NOTE: package linux-nios2-2.6.34-r0: task do_configure: Started
ERROR: Logfile of failure stored in: /media/sda3/stuff/tmp/work/at91sam9x5ek-angstrom-linux-gnueabi/linux-nios2-2.6.34-r0/temp/log.do_configure.17517
Log data follows:
| + do_configure
| + '[' -e /media/sda3/stuff/tmp/work/at91sam9x5ek-angstrom-linux-gnueabi/linux-nios2-2.6.34-r0/linux-2.6/scripts/unifdef.c ']'
| + echo ''
| + '[' -e /media/sda3/stuff/tmp/work/at91sam9x5ek-angstrom-linux-gnueabi/linux-nios2-2.6.34-r0/./logo_linux_clut224.ppm ']'
| + '[' linux-gnueabi = linux-gnueabi -o linux-gnueabi = linux-uclibceabi ']'
| + echo CONFIG_AEABI=y
| + '[' 0 = 1 ']'
| + echo '# CONFIG_OABI_COMPAT is not set'
| + '[' arm = thumb ']'
| + '[' Angstrom = Angstrom -a yes = yes ']'
| + sed -i -e /CONFIG_ARM_ERRATA_430973/d /media/sda3/stuff/tmp/work/at91sam9x5ek-angstrom-linux-gnueabi/linux-nios2-2.6.34-r0/defconfig
| sed: can't read /media/sda3/stuff/tmp/work/at91sam9x5ek-angstrom-linux-gnueabi/linux-nios2-2.6.34-r0/defconfig: No such file or directory
NOTE: package linux-nios2-2.6.34-r0: task do_configure: Failed
ERROR: Function 'do_configure' failed (see /media/sda3/stuff/tmp/work/at91sam9x5ek-angstrom-linux-gnueabi/linux-nios2-2.6.34-r0/temp/log.do_configure.17517 for further information)
ERROR: Task 4 (/media/sda3/stuff/openembedded/recipes/linux/linux-nios2_2.6.34.bb, do_configure) failed with exit code '1'
ERROR: '/media/sda3/stuff/openembedded/recipes/linux/linux-nios2_2.6.34.bb' failed
The defconfig file definitely does not exist where its looking for it. However, I have no idea how to fix this issue. I haven't seen a reasonable defconfig for linux-nios2. Anyone else have similar issues?