Skip to contentSkip to conversation

when set CONFIG_IPIPE=y, get error

Xenomai leejason 2 participants 2 messages Aug 7, 2015

lore
Share & tools
lore

leejason

author
#0 lore raw

linux-3.4.6 SOC: ti am335x

ahead of patch xenomai patch ,my kernel can run correctly. after patch pipe-core-3.4.6-arm-4.patch ,and set CONFIG_IPIPE=y. then Kernel hangs after “Starting kernel ..."
this is my log:
/**************start***************************************/NAND read: device 0 offset 0x280000, size 0x500000 5242880 bytes read: OK ## Booting kernel from Legacy Image at 80007fc0 ... Image Name: Linux-3.4.6 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3205680 Bytes = 3.1 MiB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK XIP Kernel Image ... OK OK Starting kernel ... /******************end***********************************/
open linux-tree/kernel/ipipe/Makefile then i got obj-$(CONFIG_IPIPE) += core.o timer.o

but i do not know witch function in core.c and timer.c affect my kernel .
could u help me with that?

i have disable CONFIG_CPU_FREQ CONFIG_KGDB CONFIG_CPU_IDLE and enable CONFIG_EARLY_PRINTK. and set bootargs console=ttyO0,115200n8 debug earlyprintk
Regards,

jason

#1 lore raw
Quoted 11 lines · leejason

linux-3.4.6 SOC: ti am335x

ahead of patch xenomai patch ,my kernel can run correctly. after patch pipe-core-3.4.6-arm-4.patch ,and set CONFIG_IPIPE=y. then Kernel hangs after “Starting kernel ..."
this is my log:
/**************start***************************************/NAND read: device 0 offset 0x280000, size 0x500000 5242880 bytes read: OK ## Booting kernel from Legacy Image at 80007fc0 ... Image Name: Linux-3.4.6 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3205680 Bytes = 3.1 MiB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK XIP Kernel Image ... OK OK Starting kernel ... /******************end***********************************/
open linux-tree/kernel/ipipe/Makefile then i got obj-$(CONFIG_IPIPE) += core.o timer.o

but i do not know witch function in core.c and timer.c affect my kernel .
could u help me with that?

i have disable CONFIG_CPU_FREQ CONFIG_KGDB CONFIG_CPU_IDLE and enable CONFIG_EARLY_PRINTK. and set bootargs console=ttyO0,115200n8 debug earlyprintk

Since you are using Xenomai 2.6.4, could you try the latest I-pipe patch supported by Xenomai 2.6.4, that is:
https://xenomai.org/downloads/ipipe/v3.x/arm/ipipe-core-3.14.44-arm-11.patch

Also, what kernel are you using, is it a vanilla kernel?

Signature · 2 lines
					    Gilles.
https://click-hack.org