[meta-xilinx] Problems booting
Martin Townsend
martin.townsend at xsilon.com
Wed Jan 22 05:08:48 PST 2014
Hi Nathan,
Here's some more info:
Yes I'm currently using a nfsroot. I'm using the 3.10 Linux Kernel
provided by the meta-xilinx layer. I've added the following packages
recently to my image
net-snmp-client net-snmp-mibs net-snmp-server I've noticed that the
snmpd process hogs the CPU, I'm wondering if this is the problem. I've
taken them out and it seems to be running ok again.
Here's the build header:
Loading cache: 100% |###########################################| ETA:
00:00:00
Loaded 1736 entries from dependency cache.
Parsing recipes: 100% |#########################################| Time:
00:00:00
Parsing of 1349 .bb files complete (1348 cached, 1 parsed). 1736
targets, 69 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.20.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-13.10"
TARGET_SYS = "microblazeel-poky-linux"
MACHINE = "ml605-microblazeel"
DISTRO = "poky"
DISTRO_VERSION = "1.5.1"
TUNE_FEATURES = "microblaze v8.40 little-endian reorder barrel-shift
pattern-compare divide-hard multiply-high"
TARGET_FPU = "fpu-soft"
meta = "dora:3cf2d232529c4fd6b58f87ddbf3df9d805e4180f"
meta-oe
meta-networking = "dora:191499a2b54d04855284347ce5a067f998646be4"
meta-yocto
meta-yocto-bsp = "dora:3cf2d232529c4fd6b58f87ddbf3df9d805e4180f"
meta-xilinx = "dora:aa7d677515ab7d45bbd3bdd6c5383f4143147c6d"
meta-xsilon = "master:ae950d5c60eebb3b88c45b910b3192456037185e"
and my machine.conf
#@TYPE: Machine
#@NAME: ml605-microblazeel
#@DESCRIPTION: Machine support for Xilinx ML605 Embedded Kit TRD.
#
# Note: None
#
TARGET_CPU = "microblazeel"
MACHINE_FEATURES := ""
#SOC_FAMILY := "microblaze"
require conf/machine/include/tune-microblaze.inc
require conf/machine/include/ml605-xilinx-default.inc
TUNE_FEATURES_tune-microblaze += "v8.40 little-endian reorder
barrel-shift pattern-compare divide-hard multiply-high"
SERIAL_CONSOLE = "115200 ttyUL0"
USE_VT = "0"
MACHINE_DEVICETREE :=
"ml605-microblazeel/ml605-microblazeel.device-tree.dts"
MACHINE_KCONFIG := "\
ml605-microblazeel/ml605-microblazeel.kconfig.cfg \
ml605-microblazeel/ml605-microblazeel-ethernet-driver.kconfig.cfg \
ml605-microblazeel/ml605-microblazeel-mem-settings.kconfig.cfg"
MACHINE_XPARAMETERS := "ml605-microblazeel/ml605-microblazeel.xparameters.h"
... bunch of stuff to enable certain kernel modules relating to 6LoWPAN.
Cheers,
Martin.
On 22/01/14 05:22, Nathan Rossi wrote:
>> -----Original Message-----
>> From:meta-xilinx-bounces at yoctoproject.org [mailto:meta-xilinx-
>> bounces at yoctoproject.org] On Behalf Of Martin Townsend
>> Sent: Wednesday, January 22, 2014 2:53 AM
>> To:meta-xilinx at yoctoproject.org
>> Subject: [meta-xilinx] Problems booting
>>
>> Hi,
>>
>> For some reason I've started getting these errors during boot. It still
>> boots to the login prompt but I was wondering if anyone else has come
>> across this or knows how to go about fixing it. I'm building for
>> Microblazeel (ML605 board).
> Hi Martin,
>
> I am not seeing this issue with the qemumicroblaze or kc705-trd-microblazeel machines. Could you provide some additional details so I can get it reproducible on my side.
>
> Key details are Yocto build info (the header of a build normally contains enough information), and the machine .conf/dts (either of which should provide enough info).
> Additionally which kernel and version/commit are you building?
>
> Also just to confirm it appears you are doing an nfsroot correct?
>
> Thanks,
> Nathan
>
>> Cheers,
>> Martin.
>>
>> INIT: version 2.88 booting
>> Starting Bootlog daemon: bootlogd: cannot allocate pseudo tty: No such
>> file or directory
>> bootlogd.
>> [ 21.827969] kernel task_size exceed
>> [ 21.852175] Oops: Exception in kernel mode, sig: 11
>> [ 21.912423] CPU: 0 PID: 131 Comm: rc Not tainted 3.10.0xsilon-poky #1
>> [ 21.989488] task: c3910580 ti: c3a68000 task.ti: c3a68000
>> [ 22.054040] Registers dump: mode=C3A69ED0
>> [ 22.104059] r1=00000005, r2=00000000, r3=00000000, r4=FFFFFFFA
>> [ 22.174890] r5=C0478C30, r6=00000800, r7=C3A69F68, r8=00000000
>> [ 22.245722] r9=1010A3C0, r10=00000000, r11=BF9390B0, r12=480DE45C
>> [ 22.319671] r13=00000000, r14=00000003, r15=C0005FE8, r16=00000000
>> [ 22.394673] r17=C0001948, r18=FFFFFFFC, r19=1010C108, r20=481BBFF4
>> [ 22.469669] r21=481C0470, r22=1005C324, r23=100C6FF8, r24=1010CE28
>> [ 22.544654] r25=00000000, r26=00000000, r27=00000000, r28=00000000
>> [ 22.619657] r29=00000000, r30=1007E164, r31=C3910580, rPC=C0001948
>> [ 22.694652] msr=000046A2, ear=FFFFFFFA, esr=00000472, fsr=1010C108
>> /etc/rcS.d/S37populate-volatile.sh: line 143: 129
>> Done cat ${CFGFILE}
>> 130 | grep -v "^#"
>> 131 Segmentation fault | while read LINE; do
>> eval `echo "$LINE" | sed -n "s/\(.*\)\ \(.*\) \(.*\)\ \(.*\)\
>> \(.*\)\ \(.*\)/TTYPE=\1 ; TUSER=\2; TGROUP=\3; TMODE=\4; TNAME=\5
>> TLTARGET=\6/p"`; TNAME=${ROOT_DIR}${TNAME}; [ "${VERBOSE}" != "no" ] &&
>> echo "Checking for -${TNAME}-."; [ "${TTYPE}" = "l" ] && {
>> TSOURCE="$TLTARGET"; [ "${VERBOSE}" != "no" ] && echo "Creating link
>> -${TNAME}- pointing to -${TSOURCE}-."; link_file "${TSOURCE}"
>> "${TNAME}"; continue; }; [ -L "${TNAME}" ] && { [ "${VERBOSE}" != "no" ]
>> && echo "Found link."; NEWNAME=`ls -l "${TNAME}" | sed -e 's/^.*->
>> \(.*\)$/\1/'`; echo ${NEWNAME} | grep -v "^/" > /dev/null && {
>> TNAME="`echo ${TNAME} | sed -e 's@\(.*\)/.*@\1@'`/${NEWNAME}"; [
>> "${VERBOSE}" != "no" ] && echo "Converted relative linktarget to
>> absolute path -${TNAME}-."; } || { TNAME="${NEWNAME}"; [ "${VERBOSE}" !=
>> "no" ] && echo "Using absolute link target -${TNAME}-."; }; }; case
>> "${TTYPE}" in
>> "f")
>> [ "${VERBOSE}" != "no" ] && echo "Creating file
>> -${TNAME}-."; create_file "${TNAME}" &
>> ;;
>> "d")
>> [ "${VERBOSE}" != "no" ] && echo "Creating directory
>> -${TNAME}-."; mk_dir "${TNAME}"
>> ;;
>> *)
>> [ "${VERBOSE}" != "no" ] && echo "Invalid type
>> -${TTYPE}-."; continue
>> ;;
>> esac;
>> done
>> Configuring network interfaces... ifup skipped for nfsroot interface eth0
>> run-parts: /etc/network/if-pre-up.d/nfsroot exited with code 1
>> net.ipv4.conf.default.rp_filter = 1
>> net.ipv4.conf.all.rp_filter = 1
>>
>> _______________________________________________
>> meta-xilinx mailing list
>> meta-xilinx at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/meta-xilinx
More information about the meta-xilinx
mailing list