From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <162274.76484.qm@domain.hid> Date: Tue, 30 Mar 2010 15:40:57 +0000 (GMT) From: Chtourou Sonda MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="0-1818053329-1269963657=:76484" Subject: Re: [Xenomai-help] Problem to cross-compile Xenomai user-space support List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Patrice Kadionik Cc: xenomai@xenomai.org --0-1818053329-1269963657=:76484 Content-Type: multipart/alternative; boundary="0-1392521979-1269963657=:76484" --0-1392521979-1269963657=:76484 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Patrice,=C2=A0=0A Thanks a lot for your answer and for the tutorial.=0A I had used xenomai-2.5.0 and I had modified (ligne 11) one file: xenomai-2.= 5.0/src/testsuite/unit/check-vdso.c=0A extern unsigned long xeno_sem_heap[2]; --> unsigned long xeno_sem_heap[2];= =0A Then, I had no more error to cross-compile Xenomai user-space support.=0A =C2=A0 But, when I run the kernel on the board 1s40, the xenomai didn't start. I e= xplain:=0A =C2=A0 As motioned in the tutorial=0A(http://uuu.enseirb.fr/~kadionik/nios2-xenoma= i/Xenomai%20on%20NIOS%20II%20Softcore%20Processor%20Guide-v1.1.pdf):=C2=A0= =0A The main points to respect are:=0A =E2=80=A2 Peripheral name.=0A =E2=80=A2 IRQ attributions.=0A =E2=80=A2 Memory mapping for each peripheral.=0A =C2=A0 I had respected the Peripheral name and the Memory mapping for=0Aeach perip= heral. But for IRQ attribution, if I put (as shown on=0Aattached document f= igure1):=0A IRO =3D 1 for hrtimer=C2=A0=0A IRQ =3D 2 for hrclock=0A IRQ =3D 3 for sys_clk_timer=0A =C2=A0 =C2=A0 On the board, I got only this message:=0A ---------------------------------------------------------------------------= -------------------------------------------------------------------=0A ---------------------------------------------------------------------------= -------------------------------------------------------------------=0A Uncompressing Linux... Ok, booting the kernel=0A ---------------------------------------------------------------------------= -------------------------------------------------------------------=0A ---------------------------------------------------------------------------= -------------------------------------------------------------------=0A So, the kernel can't boot.=0A =C2=A0 But if I put (as shown on figure2):=0A IRO =3D 7 for hrtimer=C2=A0=0A IRQ =3D 8 for hrclock=0A IRQ =3D 1 for sys_clk_timer=0A On the borad, I've got this message:=0A =C2=A0 ---------------------------------------------------------------------------= -------------------------------------------------------------------=0A ---------------------------------------------------------------------------= -------------------------------------------------------------------=0A =C2=A0 =C2=A0 Uncompressing Linux... Ok, booting the kernel.=0A Linux version 2.6.30 (root@domain.hid) (gcc version 3.4.6) #40 PREEMPT Tue = Mar 30 10:45:46 CEST 2010=0A =C2=A0 =C2=A0 uClinux/Nios II=0A Built 1 zonelists in Zone order, mobility grouping off. Total pages: 4064= =0A Kernel command line:=C2=A0=0A NR_IRQS:32=C2=A0=0A PID hash table entries: 64 (order: 6, 256 bytes)=C2=A0=0A I-pipe 1.1-00: pipeline enabled.=C2=A0=0A Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)=C2=A0=0A Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)=C2=A0=0A Memory available: 11772k/4324k RAM, 0k/0k ROM (1932k kernel code, 2391k dat= a)=0A Calibrating delay loop... 24.06 BogoMIPS (lpj=3D120320)=C2=A0=0A Mount-cache hash table entries: 512=C2=A0=0A net_namespace: 264 bytes=C2=A0=0A NET: Registered protocol family 16=C2=A0=0A init_BSP(): registering device resources=C2=A0=0A bio: create slab at 0=C2=A0=0A NET: Registered protocol family 2=C2=A0=0A IP route cache hash table entries: 1024 (order: 0, 4096 bytes)=C2=A0=0A TCP established hash table entries: 512 (order: 0, 4096 bytes)=C2=A0=0A TCP bind hash table entries: 512 (order: -1, 2048 bytes)=0A TCP: Hash tables configured (established 512 bind 512)=0A TCP reno registered=0A NET: Registered protocol family 1=0A I-pipe: Domain Xenomai registered.=0A Xenomai: hal/nios2 started.=0A Xenomai: system init failed, code -19.=0A Xenomai: native skin init failed, code -19.=0A Xenomai: starting POSIX services.=0A Xenomai: POSIX skin init failed, code -19.=0A Xenomai: RTDM skin init failed, code -19.=0A io scheduler noop registered=0A io scheduler deadline registered (default)=0A ttyJ0 at MMIO 0x810820 (irq =3D 4) is a Altera JTAG UART=0A console [ttyJ0] enabled=0A ttyS0 at MMIO 0x810840 (irq =3D 5) is a Altera UART=0A ttyS1 at MMIO 0x8108e0 (irq =3D 8) is a Altera UART=0A smc91x.c: v1.1, sep 22 2004 by Nicolas Pitre =0A eth0: SMC91C11xFD (rev 1) at 80800300 IRQ 7 [nowait]=0A eth0: Invalid ethernet MAC address. Please set using ifconfig=0A dm9000 Ethernet Driver, V1.31=0A TCP cubic registered=0A NET: Registered protocol family 17=0A RPC: Registered udp transport module.=0A RPC: Registered tcp transport module.=0A Freeing unused kernel memory: 2076k freed (0x1232000 - 0x1438000)=0A Shell invoked to run file: /etc/rc=C2=A0=0A Command: hostname uClinux=C2=A0=0A Command: mount -t proc proc /proc -o noexec,nosuid,nodev=C2=A0=0A Command: mount -t sysfs sysfs /sys -o noexec,nosuid,nodev=C2=A0=0A Command: mount -t devpts devpts /dev/pts -o noexec,nosuid=C2=A0=0A Command: mount -t usbfs none /proc/bus/usb=0A mount: mounting none on /proc/bus/usb failed: No such file or directory=0A Command: mkdir /var/tmp=0A Command: mkdir /var/log=0A Command: mkdir /var/run=0A Command: mkdir /var/lock=0A Command: mkdir /var/empty=0A Command: ifconfig lo 127.0.0.1=0A Command: route add -net 127.0.0.0 netmask 255.0.0.0 lo=0A Command: cat /etc/motd=0A Welcome to=0A ____ _ _=0A / __| ||_|=0A _ _| | | | _ ____ _ _ _ _=0A | | | | | | || | _ \| | | |\ \/ /=0A | |_| | |__| || | | | | |_| |/ \=0A | ___\____|_||_|_| |_|\____|\_/\_/=0A | |=0A |_|=0A =C2=A0 For further information check:=0A http://www.uclinux.org/=0A =C2=A0 Execution Finished, Exiting=0A =C2=A0 Sash command shell (version 1.1.1)=0A />=0A ---------------------------------------------------------------------------= -------------------------------------------------------------------=0A ---------------------------------------------------------------------------= -------------------------------------------------------------------=0A =C2=A0 So, the xenomai didn't start:=0A =C2=A0 I-pipe: Domain Xenomai registered.=0A Xenomai: hal/nios2 started.=0A Xenomai: system init failed, code -19.=0A Xenomai: native skin init failed, code -19.=0A Xenomai: starting POSIX services.=0A Xenomai: POSIX skin init failed, code -19.=0A Xenomai: RTDM skin init failed, code -19.=0A =C2=A0 =C2=A0 =C2=A0 So, I wonder if the number IQR had caused this error.=0A What should I do?=C2=A0=0A =C2=A0 RQ: In the configuration of the xenomai, I chose the default parameter:=0A ---------------------------------------------------------------------------= -------------------------------------------------------------------=0A ---------------------------------------------------------------------------= -------------------------------------------------------------------=0A =C2=A0 linux-n0mi:/home/sonda/Desktop/nios2-linux/uClinux-dist #=0Amake vendor_hws= elect=0ASYSPTF=3D/home/sonda/Desktop/f/standard/std_1s40.ptf=C2=A0=0A make ARCH=3Dnios2 -C vendors vendor_hwselect=C2=A0=0A make[1]: entrant dans le r=C3=A9pertoire =C2=AB /home/sonda/Desktop/nios2-l= inux/uClinux-dist/vendors =C2=BB=C2=A0=0A make -C=0A/home/sonda/Desktop/nios2-linux/uClinux-dist/vendors/Altera/nios2= /.=0Adir_v=3D/home/sonda/Desktop/nios2-linux/uClinux-dist/vendors/Altera/ni= os2/.=0A-f=0A/home/sonda/Desktop/nios2-linux/uClinux-dist/vendors/vendors-c= ommon.mak=0Avendor_hwselect=C2=A0=0A make[2]: entrant dans le r=C3=A9pertoire =C2=AB /home/sonda/Desktop/nios2-l= inux/uClinux-dist/vendors/Altera/nios2 =C2=BB=C2=A0=0A [ -d /home/sonda/Desktop/nios2-linux/uClinux-dist/romfs/$i ] || mkdir -p /h= ome/sonda/Desktop/nios2-linux/uClinux-dist/romfs=C2=A0=0A make ARCH=3Dnios2 CROSS_COMPILE=3Dnios2-linux-uclibc- -C=0A/home/sonda/Desk= top/nios2-linux/uClinux-dist/../linux-2.6=0AO=3D/home/sonda/Desktop/nios2-l= inux/uClinux-dist/linux-2.6.x hwselect=C2=A0=0A make[3]: entrant dans le r=C3=A9pertoire =C2=AB /home/sonda/Desktop/nios2-l= inux/linux-2.6 =C2=BB=C2=A0=0A no emulation specific options.=C2=A0=0A no emulation specific options.=C2=A0=0A GEN /home/sonda/Desktop/nios2-linux/uClinux-dist/linux-2.6.x/Makefile=C2=A0= =0A scripts/kconfig/conf -s arch/nios2/Kconfig=C2=A0=0A *=C2=A0=0A * Restart config...=C2=A0=0A *=C2=A0=0A *=C2=A0=0A * Real-time sub-system=C2=A0=0A *=C2=A0=0A Xenomai (XENOMAI) [Y/n/?] (NEW) y=C2=A0=0A Nucleus (XENO_OPT_NUCLEUS) [Y/n] (NEW) y=C2=A0=0A Pervasive real-time support in user-space (XENO_OPT_PERVASIVE) [Y/n/?] (NEW= ) y=C2=A0=0A Priority coupling support (XENO_OPT_PRIOCPL) [Y/n/?] (NEW) y=C2=A0=0A Optimize as pipeline head (XENO_OPT_PIPELINE_HEAD) [Y/n/?] (NEW) y=C2=A0=0A Extra scheduling classes (XENO_OPT_SCHED_CLASSES) [N/y/?] (NEW) n=C2=A0=0A Number of pipe devices (XENO_OPT_PIPE_NRDEV) [32] (NEW) 32=C2=A0=0A Number of registry slots (XENO_OPT_REGISTRY_NRSLOTS) [512] (NEW) 512=C2=A0= =0A Size of the system heap (Kb) (XENO_OPT_SYS_HEAPSZ) [256] (NEW) 256=C2=A0=0A Size of the private stack pool (Kb) (XENO_OPT_SYS_STACKPOOLSZ) [128] (NEW) = 128=C2=A0=0A Size of private semaphores heap (Kb) (XENO_OPT_SEM_HEAPSZ) [12] (NEW) 12=C2= =A0=0A Size of global semaphores heap (Kb) (XENO_OPT_GLOBAL_SEM_HEAPSZ) [12] (NEW)= 12=C2=A0=0A Statistics collection (XENO_OPT_STATS) [Y/n/?] (NEW) y=C2=A0=0A Debug support (XENO_OPT_DEBUG) [N/y/?] (NEW) n=C2=A0=0A Shared interrupts (XENO_OPT_SHIRQ) [N/y/?] (NEW) n=C2=A0=0A *=C2=A0=0A * Timing=C2=A0=0A *=C2=A0=0A Enable periodic timing (XENO_OPT_TIMING_PERIODIC) [N/y/?] (NEW) n=C2=A0=0A Virtual tick duration in aperiodic mode (us) (XENO_OPT_TIMING_VIRTICK) [100= 0] (NEW) 1000=C2=A0=0A Scheduling latency (ns) (XENO_OPT_TIMING_SCHEDLAT) [0] (NEW) 0=C2=A0=0A *=C2=A0=0A * Scalability=C2=A0=0A *=C2=A0=0A O(1) scheduler (XENO_OPT_SCALABLE_SCHED) [N/y/?] (NEW) n=C2=A0=0A Timer indexing method=C2=A0=0A > 1. Linear (XENO_OPT_TIMER_LIST) (NEW)=C2=A0=0A 2. Tree (XENO_OPT_TIMER_HEAP) (NEW)=C2=A0=0A 3. Hash (XENO_OPT_TIMER_WHEEL) (NEW)=C2=A0=0A choice[1-3?]: 1=C2=A0=0A *=C2=A0=0A * Native API=C2=A0=0A *=C2=A0=0A Native API (XENO_SKIN_NATIVE) [Y/n/?] (NEW) y=C2=A0=0A Message pipes (XENO_OPT_NATIVE_PIPE) [Y/n/?] (NEW) y=C2=A0=0A Bytes in buffer space (XENO_OPT_NATIVE_PIPE_BUFSZ) [1024] (NEW) 1024=C2=A0= =0A Counting semaphores (XENO_OPT_NATIVE_SEM) [Y/n/?] (NEW) y=C2=A0=0A Event flags (XENO_OPT_NATIVE_EVENT) [Y/n/?] (NEW) y=C2=A0=0A Mutexes (XENO_OPT_NATIVE_MUTEX) [Y/n/?] (NEW) y=C2=A0=0A Condition variables (XENO_OPT_NATIVE_COND) [Y/n/?] (NEW) y=C2=A0=0A Message queues (XENO_OPT_NATIVE_QUEUE) [Y/n/?] (NEW) y=C2=A0=0A Buffers (XENO_OPT_NATIVE_BUFFER) [Y/n/?] (NEW) y=C2=A0=0A Memory heaps (XENO_OPT_NATIVE_HEAP) [Y/n/?] (NEW) y=C2=A0=0A Alarms (XENO_OPT_NATIVE_ALARM) [Y/n/?] (NEW) y=C2=A0=0A Message passing support (XENO_OPT_NATIVE_MPS) [Y/n/?] (NEW) y=C2=A0=0A Interrupts (XENO_OPT_NATIVE_INTR) [N/y/?] (NEW) n=C2=A0=0A *=C2=A0=0A * POSIX API=C2=A0=0A *=C2=A0=0A POSIX API (XENO_SKIN_POSIX) [Y/n/?] (NEW) y=C2=A0=0A Shared memory (XENO_OPT_POSIX_SHM) [N/y/?] (NEW) n=C2=A0=0A Interrupts (XENO_OPT_POSIX_INTR) [N/y/?] (NEW) n=C2=A0=0A Select syscall (XENO_OPT_POSIX_SELECT) [N/y/?] (NEW) n=C2=A0=0A Debugging support (XENO_OPT_DEBUG_POSIX) [N/y/?] (NEW) n=C2=A0=0A *=C2=A0=0A * pSOS+ emulator=C2=A0=0A *=C2=A0=0A pSOS+ emulator (XENO_SKIN_PSOS) [N/y/?] (NEW) n=C2=A0=0A *=C2=A0=0A * uITRON API=C2=A0=0A *=C2=A0=0A uITRON API (XENO_SKIN_UITRON) [N/y/?] (NEW) n=C2=A0=0A *=C2=A0=0A * VRTX emulator=C2=A0=0A *=C2=A0=0A VRTX emulator (XENO_SKIN_VRTX) [N/y/?] (NEW) n=C2=A0=0A *=C2=A0=0A * VxWorks emulator=C2=A0=0A *=C2=A0=0A VxWorks emulator (XENO_SKIN_VXWORKS) [N/y/?] (NEW) n=C2=A0=0A *=C2=A0=0A * RTAI emulator=C2=A0=0A *=C2=A0=0A RTAI emulator (XENO_SKIN_RTAI) [N/y/?] (NEW) n=C2=A0=0A *=C2=A0=0A * Interfaces=C2=A0=0A *=C2=A0=0A Do not warn about deprecated skin usage (XENO_OPT_NOWARN_DEPRECATED) [N/y/?= ] (NEW) n=C2=A0=0A *=C2=A0=0A * Real-Time Driver Model=C2=A0=0A *=C2=A0=0A Real-Time Driver Model (XENO_SKIN_RTDM) [Y/n/?] (NEW) y=C2=A0=0A Maximum number of RTDM file descriptors (XENO_OPT_RTDM_FILDES) [128] (NEW) = 128=C2=A0=0A Select support for RTDM file descriptors (XENO_OPT_RTDM_SELECT) [N/y/?] (NE= W) n=C2=A0=0A *=C2=A0=0A * Serial drivers=C2=A0=0A *=C2=A0=0A 16550A UART driver (XENO_DRIVERS_16550A) [N/y/?] (NEW) n=C2=A0=0A *=C2=A0=0A * Testing drivers=C2=A0=0A *=C2=A0=0A Timer benchmark driver (XENO_DRIVERS_TIMERBENCH) [Y/n/?] (NEW) y=C2=A0=0A IRQ benchmark driver (XENO_DRIVERS_IRQBENCH) [N/y/?] (NEW) n=C2=A0=0A Context switch unit testing driver (XENO_DRIVERS_SWITCHTEST) [Y/n/?] (NEW) = y=C2=A0=0A *=C2=A0=0A * CAN drivers=C2=A0=0A *=C2=A0=0A RT-Socket-CAN, CAN raw socket interface (XENO_DRIVERS_CAN) [N/y/?] (NEW) n= =C2=A0=0A *=C2=A0=0A * ANALOGY drivers=C2=A0=0A *=C2=A0=0A ANALOGY interface (XENO_DRIVERS_ANALOGY) [N/y/?] (NEW) n=C2=A0=0A *=C2=A0=0A * Real-time IPC drivers=C2=A0=0A *=C2=A0=0A RTIPC protocol family (XENO_DRIVERS_RTIPC) [N/y/?] (NEW) n=C2=A0=0A *=C2=A0=0A * Processor type and features=C2=A0=0A *=C2=A0=0A *=C2=A0=0A * Platform dependant setup=C2=A0=0A *=C2=A0=0A CPU=C2=A0=0A > 1. NIOS2 (NIOS2)=C2=A0=0A choice[1]: 1=C2=A0=0A MMU support (MMU) [N/y/?] n=C2=A0=0A Platform=C2=A0=0A 1. Microtronix uKit board support (MICROTRONIX_UKIT)=C2=A0=0A 2. Microtronix Stratix board support (MICROTRONIX_STRATIX)=C2=A0=0A 3. Microtronix Cyclone board support (MICROTRONIX_CYCLONE)=C2=A0=0A 4. Microtronix PSK (Product Starter Kit) support (MICROTRONIX_PSK)=C2=A0=0A 5. Altera Stratix Development board support (ALTERA_STRATIX)=C2=A0=0A 6. Altera Stratix Pro Development board support (ALTERA_STRATIX_PRO)=C2=A0= =0A 7. Altera Stratix II Development board support (ALTERA_STRATIX_II)=C2=A0=0A 8. Altera Cyclone Development board support (ALTERA_CYCLONE)=C2=A0=0A 9. Altera CYCLONE II Development board support (ALTERA_CYCLONE_II)=C2=A0=0A 10. Altera Cyclone 1C12 Evaluation board support (ALTERA_CYCLONE_1C12_EVAL)= =C2=A0=0A > 11. Altera DE2 Development board support (ALTERA_DE2)=C2=A0=0A 12. Altera Nios II Embedded Evaluation Kit support (ALTERA_NEEK_C3)=C2=A0= =0A 13. Altera CYCLONE III 3C120 Development board support (ALTERA_CYCLONE_III)= =C2=A0=0A choice[1-13]: 11=C2=A0=0A Nios II Hardware Multiply Support=C2=A0=0A 1. None (NIOS2_HW_MUL_OFF)=C2=A0=0A > 2. Enable mul instruction (NIOS2_HW_MUL)=C2=A0=0A 3. Enable mul and mulx instructions (NIOS2_HW_MULX)=C2=A0=0A choice[1-3?]: 2=C2=A0=0A *=C2=A0=0A * Platform drivers Options=C2=A0=0A *=C2=A0=0A GPIO interface (GENERIC_GPIO) [N/y/?] n=C2=A0=0A Support of DMA controller with Avalon interface (AVALON_DMA) [N/y/?] n=C2= =A0=0A Altera PCI host bridge (PCI_ALTPCI) [N/y] n=C2=A0=0A Remote update support (ALTERA_REMOTE_UPDATE) [N/y/?] n=C2=A0=0A *=C2=A0=0A * Miscellaneous Options=C2=A0=0A *=C2=A0=0A Include breakpoint trap on kernel startup (BREAK_ON_START) [N/y/?] n=C2=A0= =0A Kernel executes from=C2=A0=0A > 1. RAM (RAMKERNEL)=C2=A0=0A choice[1]: 1=C2=A0=0A Preemption Model=C2=A0=0A 1. No Forced Preemption (Server) (PREEMPT_NONE)=C2=A0=0A 2. Voluntary Kernel Preemption (Desktop) (PREEMPT_VOLUNTARY)=C2=A0=0A > 3. Preemptible Kernel (Low-Latency Desktop) (PREEMPT)=C2=A0=0A choice[1-3]: 3=C2=A0=0A Timer frequency=C2=A0=0A > 1. 100 HZ (HZ_100)=C2=A0=0A 2. 250 HZ (HZ_250)=C2=A0=0A 3. 300 HZ (HZ_300)=C2=A0=0A 4. 1000 HZ (HZ_1000)=C2=A0=0A choice[1-4?]: 1=C2=A0=0A Default kernel command string (CMDLINE) []=C2=A0=0A Passed kernel command line from u-boot (PASS_CMDLINE) [N/y/?] n=C2=A0=0A Interrupt pipeline (IPIPE) [Y/?] (NEW) y=C2=A0=0A Max domains (IPIPE_DOMAINS) [4] (NEW) 4=C2=A0=0A Maintain code compatibility with older releases (IPIPE_COMPAT) [Y/n/?] (NEW= ) y=C2=A0=0A Memory model=C2=A0=0A > 1. Flat Memory (FLATMEM_MANUAL)=C2=A0=0A choice[1]: 1=C2=A0=0A Add LRU list to track non-evictable pages (UNEVICTABLE_LRU) [Y/n/?] y=C2=A0= =0A Turn on mmap() excess space trimming before booting (NOMMU_INITIAL_TRIM_EXC= ESS) [1] 1=C2=A0=0A Link address offset for booting (BOOT_LINK_OFFSET) [0x00500000] 0x00500000= =C2=A0=0A *=C2=A0=0A * Kernel hacking=C2=A0=0A *=C2=A0=0A Show timing information on printks (PRINTK_TIME) [N/y/?] n=C2=A0=0A Enable __deprecated logic (ENABLE_WARN_DEPRECATED) [Y/n/?] y=C2=A0=0A Enable __must_check logic (ENABLE_MUST_CHECK) [N/y/?] n=C2=A0=0A Warn for stack frames larger than (needs gcc 4.4) (FRAME_WARN) [1024] 1024= =C2=A0=0A Magic SysRq key (MAGIC_SYSRQ) [N/y/?] n=C2=A0=0A Enable unused/obsolete exported symbols (UNUSED_SYMBOLS) [N/y/?] n=C2=A0=0A Debug Filesystem (DEBUG_FS) [N/y/?] n=C2=A0=0A Run 'make headers_check' when building vmlinux (HEADERS_CHECK) [N/y/?] n=C2= =A0=0A I-pipe debugging (IPIPE_DEBUG) [N/y] (NEW) n=C2=A0=0A Kernel debugging (DEBUG_KERNEL) [Y/n/?] y=C2=A0=0A Debug shared IRQ handlers (DEBUG_SHIRQ) [N/y/?] n=C2=A0=0A Detect Soft Lockups (DETECT_SOFTLOCKUP) [Y/n/?] y=C2=A0=0A Panic (Reboot) On Soft Lockups (BOOTPARAM_SOFTLOCKUP_PANIC) [N/y/?] n=C2=A0= =0A Detect Hung Tasks (DETECT_HUNG_TASK) [Y/n/?] y=C2=A0=0A Panic (Reboot) On Hung Tasks (BOOTPARAM_HUNG_TASK_PANIC) [N/y/?] n=C2=A0=0A Collect scheduler debugging info (SCHED_DEBUG) [Y/n/?] y=C2=A0=0A Collect scheduler statistics (SCHEDSTATS) [N/y/?] n=C2=A0=0A Collect kernel timers statistics (TIMER_STATS) [N/y/?] n=C2=A0=0A Debug object operations (DEBUG_OBJECTS) [N/y/?] n=C2=A0=0A Debug slab memory allocations (DEBUG_SLAB) [N/y/?] n=C2=A0=0A RT Mutex debugging, deadlock detection (DEBUG_RT_MUTEXES) [N/y/?] n=C2=A0= =0A Built-in scriptable tester for rt-mutexes (RT_MUTEX_TESTER) [N/y/?] n=C2=A0= =0A Spinlock and rw-lock debugging: basic checks (DEBUG_SPINLOCK) [N/y/?] n=C2= =A0=0A Mutex debugging: basic checks (DEBUG_MUTEXES) [N/y/?] n=C2=A0=0A Spinlock debugging: sleep-inside-spinlock checking (DEBUG_SPINLOCK_SLEEP) [= N/y/?] n=C2=A0=0A Locking API boot-time self-tests (DEBUG_LOCKING_API_SELFTESTS) [N/y/?] n=C2= =A0=0A kobject debugging (DEBUG_KOBJECT) [N/y/?] n=C2=A0=0A Compile the kernel with debug info (DEBUG_INFO) [Y/n/?] y=C2=A0=0A Debug VM (DEBUG_VM) [N/y/?] n=C2=A0=0A Debug the global anon/private NOMMU mapping region tree (DEBUG_NOMMU_REGION= S) [N/y/?] n=C2=A0=0A Debug filesystem writers count (DEBUG_WRITECOUNT) [N/y/?] n=C2=A0=0A Debug memory initialisation (DEBUG_MEMORY_INIT) [N/y/?] n=C2=A0=0A Debug linked list manipulation (DEBUG_LIST) [N/y/?] n=C2=A0=0A Debug SG table operations (DEBUG_SG) [N/y/?] n=C2=A0=0A Debug notifier call chains (DEBUG_NOTIFIERS) [N/y/?] n=C2=A0=0A Delay each boot printk message by N milliseconds (BOOT_PRINTK_DELAY) [N/y/?= ] n=C2=A0=0A torture tests for RCU (RCU_TORTURE_TEST) [N/y/?] n=C2=A0=0A Check for stalled CPUs delaying RCU grace periods (RCU_CPU_STALL_DETECTOR) = [N/y/?] n=C2=A0=0A Self test for the backtrace code (BACKTRACE_SELF_TEST) [N/y/?] n=C2=A0=0A Force extended block device numbers and spread them (DEBUG_BLOCK_EXT_DEVT) = [N/y/?] n=C2=A0=0A Fault-injection framework (FAULT_INJECTION) [N/y/?] n=C2=A0=0A Debug page memory allocations (PAGE_POISONING) [N/y/?] n=C2=A0=0A #=C2=A0=0A # configuration written to .config=C2=A0=0A #=C2=A0=0A no emulation specific options.=C2=A0=0A RUNNING hwselect=C2=A0=0A =C2=A0 --- Please select which CPU you wish to build the kernel against:=0A =C2=A0 (1) cpu - Class: altera_nios2 Type: s Version: 7.080910=0A =C2=A0 Selection: 1=0A =C2=A0 --- Please select a device to execute kernel from:=0A =C2=A0 (1) ext_flash=0A Class: altera_avalon_cfi_flash=0A Size: 8388608 bytes=C2=A0=0A =C2=A0 (2) onchip_ram_64_kbytes=0A Class: altera_avalon_onchip_memory2=0A Size: 65536 bytes=0A =C2=A0 (3) ext_ram=0A Class: altera_nios_dev_kit_stratix_edition_sram2=0A Size: 1048576 bytes=0A =C2=A0 (4) sdram=0A Class: altera_avalon_new_sdram_controller=0A Size: 16777216 bytes=0A =C2=A0 Selection: 4=0A =C2=A0 --- Summary using=0A =C2=A0 PTF: /home/sonda/Desktop/f/standard/std_1s40.ptf=0A CPU: cpu=0A Program memory to execute from: sdram=0A =C2=A0 --- Settings written to /home/sonda/Desktop/nios2-linux/uClinux-dist/linux-= 2.6.x/arch/nios2/hardware.mk=0A =C2=A0 make[3]: quittant le r=C3=A9pertoire =C2=AB /home/sonda/Desktop/nios2-linux= /linux-2.6 =C2=BB=0A make[2]: quittant le r=C3=A9pertoire =C2=AB /home/sonda/Desktop/nios2-linux= /uClinux-dist/vendors/Altera/nios2 =C2=BB=0A make[1]: quittant le r=C3=A9pertoire =C2=AB /home/sonda/Desktop/nios2-linux= /uClinux-dist/vendors =C2=BB=0A ---------------------------------------------------------------------------= -------------------------------------------------------------------=0A ---------------------------------------------------------------------------= -------------------------------------------------------------------=0A =C2=A0 Regards, --- En date de=C2=A0: Dim 28.3.10, Patrice Kadionik a =C3=A9crit=C2=A0: De: Patrice Kadionik Objet: Re: [Xenomai-help] Problem to cross-compile Xenomai user-space suppo= rt =C3=80: "Chtourou Sonda" Cc: xenomai@xenomai.org Date: Dimanche 28 mars 2010, 13h26 =0A=0A=0A=0A =0ALe 20:59, Chtourou Sonda a =C3=A9crit=C2=A0:=0A=0A =0A = =0A =0A Dears,=20 =0A =0A =0A =0A=0AHi, =0A =0A=0A =0A =0A =20 =0A =0A I built the uClinux kernel for NIOS=0AII and it run well on the = target board. I followed the typical actions=0Aavailable here : http://www.= nioswiki.com/=20 =0A =20 =0ANow, I want to add a co-scheduler xenomai to the kernel (uclinux) to=0Ar= educe its latency. I followed these steps:=0A(http://www.xenomai.org/docume= ntation/xenomai-2.5/README.INSTALL) =0A =0A =0A =0A=0AI've tried to reproduce your compilation error but wit= hout success. =0A =0AFor using Xenomai on NIOS II processor with uClinux, you must add extra= =0Ahardware in your SoPC design as explained in this tutorial=0A(http://uuu= .enseirb.fr/~kadionik/nios2-xenomai/Xenomai%20on%20NIOS%20II%20Softcore%20P= rocessor%20Guide-v1.1.pdf). =0A =0AIt is OK on my Altera 1S10 board=C2=A0 with Xenomai v2.5.1 (see traces). =0A =0ASincerely; =0A =0APatrice =0A=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =0A =0AUncompressing Linux... Ok, booting the kernel.=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=20 =0ALinux version 2.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2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=0A =0APID hash table entries: 64 (order: 6, 256=0Abytes)=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=20 =0AI-pipe 1.1-00: pipeline=0Aenabled.=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=20 =0ADentry cache hash table entries: 2048 (order: 1, 8192=0Abytes)=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=20 =0AInode-cache hash table entries: 1024 (order: 0, 4096=0Abytes)=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=20 =0AMemory available: 12108k/3990k RAM, 0k/0k ROM (1931k kernel code, 2059k= =0Adata)=C2=A0=C2=A0=20 =0ACalibrating delay loop... 24.06 BogoMIPS=0A(lpj=3D120320)=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=20 =0AMount-cache hash table entries:=0A512=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=20 =0Anet_namespace: 264=0Abytes=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=20 =0ANET: Registered protocol family=0A16=C2=A0=C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A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=20 =0AIP route cache hash table entries: 1024 (order: 0, 4096=0Abytes)=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=20 =0ATCP established hash table entries: 512 (order: 0, 4096=0Abytes)=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=20 =0ATCP bind hash table entries: 512 (order: -1, 2048=0Abytes)=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=20 =0ATCP: Hash tables configured (established 512 bind=0A512)=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=20 =0ATCP reno=0Aregistered=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C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A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=20 =0AXenomai: scheduling class idle=0Aregistered.=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=20 =0AXenomai: scheduling class rt=0Aregistered.=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=20 =0AXenomai: real-time nucleus v2.5.1 (Speed Of Light)=0Aloaded.=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=20 =0AXenomai: starting native API=0Aservices.=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=20 =0AXenomai: starting POSIX=0Aservices.=C2=A0=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2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=20 =0AttyS0 at MMIO 0x810840 (irq =3D 5) is a Altera=0AUART=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=20 =0Aconsole [ttyS0] enabled=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=20 =0A =0A =0A =0A =0A=0A =0A =0A $=0A$xenomai-2.5.1/scripts/prepare-kernel.sh --arch=3Dnio= s2=0A--adeos=3D$xenomai-2.5.1/ksrc/arch/nios2/patches/adeos-ipipe-2.6.30-ni= os2-1.1-00.patch =0A=C2=A0 --linux=3D$linux_tree =0A$ $xenomai-2.5.1/configure --host=3Dnios2-linux =0A$ make install DESTDIR=3D$uClinux-dist/romfs =0A =20 =0ABut, in this step, I got this error: =0A =20 =0Aeck_vdso-check-vdso.o ../../skins/native/libnative.la -lpthread -lm =0Alibtool: link: ../../../scripts/wrap-link.sh nios2-linux-gcc=0A-Wl,-elf2= flt -o check-vdso check_vdso-check-vdso.o=C2=A0=0A../../skins/native/.libs/= libnative.a -lpthread -lm =0Acheck-vdso.elf2flt(.text+0x16c): In function `main': =0A: undefined reference to `xeno_sem_heap' =0Acheck-vdso.elf2flt(.text+0x170): In function `main': =0A: undefined reference to `xeno_sem_heap' =0Acollect2: ld returned 1 exit status =0Amake[3]: *** [check-vdso] Erreur 1 =0Amake[3]: quittant le r=C3=A9pertoire =C2=AB=0A/home/sonda/Desktop/xenoma= i-2.5.1/src/testsuite/unit =C2=BB =0Amake[2]: *** [all-recursive] Erreur 1 =0Amake[2]: quittant le r=C3=A9pertoire =C2=AB=0A/home/sonda/Desktop/xenoma= i-2.5.1/src/testsuite =C2=BB =0Amake[1]: *** [all-recursive] Erreur 1 =0Amake[1]: quittant le r=C3=A9pertoire =C2=AB /home/sonda/Desktop/xenomai-= 2.5.1/src=0A=C2=BB =0Amake: *** [all-recursive] Erreur 1 =0A =20 =0Awhat can I do? Please help=0A Regards, =0A =0A =0A =20 =0A =20 _______________________________________________ Xenomai-help mailing list Xenomai-help@domain.hid https://mail.gna.org/listinfo/xenomai-help =0A=0A =0A =0A--=20 Patrice Kadionik. F6KQH / F4CUQ ----------- +----------------------------------------------------------------------+ +"Tout doit etre aussi simple que possible, pas seulement plus simple" + +----------------------------------------------------------------------+ + Patrice Kadionik http://www.enseirb-matmeca.fr/~kadionik + + IMS Laboratory http://www.ims-bordeaux.fr/ + + ENSEIRB-MATMECA http://www.enseirb-matmeca.fr + + PO BOX 99 fax : +33 5.56.37.20.23 + + 33402 TALENCE Cedex voice : +33 5.56.84.23.47 + + FRANCE mailto:patrice.kadionik@domain.hid + +----------------------------------------------------------------------+ =0A =0A=0A=0A=0A --0-1392521979-1269963657=:76484 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Hi Patrice, =0A
Thanks a lot for your= answer and for the tutorial.=0A
I had used xenomai-2.5.0 and I had modi= fied (ligne 11) one file: xenomai-2.5.0/src/testsuite/unit/check-vdso.c=0A<= br>extern unsigned long xeno_sem_heap[2]; --> unsigned long xeno_sem_hea= p[2];=0A
Then, I had no more error to cross-compile Xenomai user-space s= upport.=0A
 
But, when I run the kernel on the board 1s40, the x= enomai didn't start. I explain:=0A
 
As motioned in the tutorial= =0A(http://uuu.enseirb.fr/~kadionik/nios2-xenomai/Xenomai%20on%20NIOS%20II%= 20Softcore%20Processor%20Guide-v1.1.pdf): =0A
The main points to re= spect are:=0A
=E2=80=A2 Peripheral name.=0A
=E2=80=A2 IRQ attribution= s.=0A
=E2=80=A2 Memory mapping for each peripheral.=0A
 
I ha= d respected the Peripheral name and the Memory mapping for=0Aeach periphera= l. But for IRQ attribution, if I put (as shown on=0Aattached document figur= e1):=0A
IRO =3D 1 for hrtimer =0A
IRQ =3D 2 for hrclock=0A
IR= Q =3D 3 for sys_clk_timer=0A
 
 
On the board, I got onl= y this message:=0A
-----------------------------------------------------= ---------------------------------------------------------------------------= --------------=0A
------------------------------------------------------= ---------------------------------------------------------------------------= -------------=0A
Uncompressing Linux... Ok, booting the kernel=0A
---= ---------------------------------------------------------------------------= ----------------------------------------------------------------=0A
----= ---------------------------------------------------------------------------= ---------------------------------------------------------------=0A
So, t= he kernel can't boot.=0A
 
But if I put (as shown on figure2):= =0A
IRO =3D 7 for hrtimer =0A
IRQ =3D 8 for hrclock=0A
IRQ = =3D 1 for sys_clk_timer=0A
On the borad, I've got this message:=0A
&n= bsp;
-------------------------------------------------------------------= ---------------------------------------------------------------------------= =0A
--------------------------------------------------------------------= --------------------------------------------------------------------------= =0A
 
 
Uncompressing Linux... Ok, booting the kernel.= =0A
Linux version 2.6.30 (root@domain.hid) (gcc version 3.4.6) #40 PREEM= PT Tue Mar 30 10:45:46 CEST 2010=0A
 
 
uClinux/Nios II= =0A
Built 1 zonelists in Zone order, mobility grouping off. Total pages:= 4064=0A
Kernel command line: =0A
NR_IRQS:32 =0A
PID has= h table entries: 64 (order: 6, 256 bytes) =0A
I-pipe 1.1-00: pipeli= ne enabled. =0A
Dentry cache hash table entries: 2048 (order: 1, 81= 92 bytes) =0A
Inode-cache hash table entries: 1024 (order: 0, 4096 = bytes) =0A
Memory available: 11772k/4324k RAM, 0k/0k ROM (1932k ker= nel code, 2391k data)=0A
Calibrating delay loop... 24.06 BogoMIPS (lpj= =3D120320) =0A
Mount-cache hash table entries: 512 =0A
net_= namespace: 264 bytes =0A
NET: Registered protocol family 16 = =0A
init_BSP(): registering device resources =0A
bio: create sla= b <bio-0> at 0 =0A
NET: Registered protocol family 2 =0A=
IP route cache hash table entries: 1024 (order: 0, 4096 bytes) =0A=
TCP established hash table entries: 512 (order: 0, 4096 bytes) =0A=
TCP bind hash table entries: 512 (order: -1, 2048 bytes)=0A
TCP: Has= h tables configured (established 512 bind 512)=0A
TCP reno registered=0A=
NET: Registered protocol family 1=0A
I-pipe: Domain Xenomai register= ed.=0A
Xenomai: hal/nios2 started.=0A
Xenomai: system init failed, co= de -19.=0A
Xenomai: native skin init failed, code -19.=0A
Xenomai: st= arting POSIX services.=0A
Xenomai: POSIX skin init failed, code -19.=0A<= br>Xenomai: RTDM skin init failed, code -19.=0A
io scheduler noop regist= ered=0A
io scheduler deadline registered (default)=0A
ttyJ0 at MMIO 0= x810820 (irq =3D 4) is a Altera JTAG UART=0A
console [ttyJ0] enabled=0A<= br>ttyS0 at MMIO 0x810840 (irq =3D 5) is a Altera UART=0A
ttyS1 at MMIO = 0x8108e0 (irq =3D 8) is a Altera UART=0A
smc91x.c: v1.1, sep 22 2004 by = Nicolas Pitre <nico@domain.hid>=0A
eth0: SMC91C11xFD (rev 1) at 80800= 300 IRQ 7 [nowait]=0A
eth0: Invalid ethernet MAC address. Please set usi= ng ifconfig=0A
dm9000 Ethernet Driver, V1.31=0A
TCP cubic registered= =0A
NET: Registered protocol family 17=0A
RPC: Registered udp transpo= rt module.=0A
RPC: Registered tcp transport module.=0A
Freeing unused= kernel memory: 2076k freed (0x1232000 - 0x1438000)=0A
Shell invoked to = run file: /etc/rc =0A
Command: hostname uClinux =0A
Command= : mount -t proc proc /proc -o noexec,nosuid,nodev =0A
Command: moun= t -t sysfs sysfs /sys -o noexec,nosuid,nodev =0A
Command: mount -t = devpts devpts /dev/pts -o noexec,nosuid =0A
Command: mount -t usbfs= none /proc/bus/usb=0A
mount: mounting none on /proc/bus/usb failed: No = such file or directory=0A
Command: mkdir /var/tmp=0A
Command: mkdir /= var/log=0A
Command: mkdir /var/run=0A
Command: mkdir /var/lock=0A
= Command: mkdir /var/empty=0A
Command: ifconfig lo 127.0.0.1=0A
Comman= d: route add -net 127.0.0.0 netmask 255.0.0.0 lo=0A
Command: cat /etc/mo= td=0A
Welcome to=0A
____ _ _=0A
/ __| ||_|=0A
_ _| | | | _ ____= _ _ _ _=0A
| | | | | | || | _ \| | | |\ \/ /=0A
| |_| | |__| || | | = | | |_| |/ \=0A
| ___\____|_||_|_| |_|\____|\_/\_/=0A
| |=0A
|_|= =0A
 
For further information check:=0A
http://www.uclinux.or= g/=0A
 
Execution Finished, Exiting=0A
 
Sash command= shell (version 1.1.1)=0A
/>=0A
----------------------------------= ---------------------------------------------------------------------------= ---------------------------------=0A
-----------------------------------= ---------------------------------------------------------------------------= --------------------------------=0A
 
So, the xenomai didn't sta= rt:=0A
 
I-pipe: Domain Xenomai registered.=0A
Xenomai: hal/n= ios2 started.=0A
Xenomai: system init failed, code -19.=0A
Xenomai: n= ative skin init failed, code -19.=0A
Xenomai: starting POSIX services.= =0A
Xenomai: POSIX skin init failed, code -19.=0A
Xenomai: RTDM skin = init failed, code -19.=0A
 
 
 
So, I wonder if = the number IQR had caused this error.=0A
What should I do? =0A
&= nbsp;
RQ: In the configuration of the xenomai, I chose the default param= eter:=0A
---------------------------------------------------------------= ---------------------------------------------------------------------------= ----=0A
----------------------------------------------------------------= ---------------------------------------------------------------------------= ---=0A
 
linux-n0mi:/home/sonda/Desktop/nios2-linux/uClinux-dist= #=0Amake vendor_hwselect=0ASYSPTF=3D/home/sonda/Desktop/f/standard/std_1s4= 0.ptf =0A
make ARCH=3Dnios2 -C vendors vendor_hwselect =0A
= make[1]: entrant dans le r=C3=A9pertoire =C2=AB /home/sonda/Desktop/nios2-l= inux/uClinux-dist/vendors =C2=BB =0A
make -C=0A/home/sonda/Desktop/= nios2-linux/uClinux-dist/vendors/Altera/nios2/.=0Adir_v=3D/home/sonda/Deskt= op/nios2-linux/uClinux-dist/vendors/Altera/nios2/.=0A-f=0A/home/sonda/Deskt= op/nios2-linux/uClinux-dist/vendors/vendors-common.mak=0Avendor_hwselect&nb= sp;=0A
make[2]: entrant dans le r=C3=A9pertoire =C2=AB /home/sonda/Deskt= op/nios2-linux/uClinux-dist/vendors/Altera/nios2 =C2=BB =0A
[ -d /h= ome/sonda/Desktop/nios2-linux/uClinux-dist/romfs/$i ] || mkdir -p /home/son= da/Desktop/nios2-linux/uClinux-dist/romfs =0A
make ARCH=3Dnios2 CRO= SS_COMPILE=3Dnios2-linux-uclibc- -C=0A/home/sonda/Desktop/nios2-linux/uClin= ux-dist/../linux-2.6=0AO=3D/home/sonda/Desktop/nios2-linux/uClinux-dist/lin= ux-2.6.x hwselect =0A
make[3]: entrant dans le r=C3=A9pertoire =C2= =AB /home/sonda/Desktop/nios2-linux/linux-2.6 =C2=BB =0A
no emulati= on specific options. =0A
no emulation specific options. =0AGEN /home/sonda/Desktop/nios2-linux/uClinux-dist/linux-2.6.x/Makefile = ;=0A
scripts/kconfig/conf -s arch/nios2/Kconfig =0A
* =0A* Restart config... =0A
* =0A
* =0A
* Real-time s= ub-system =0A
* =0A
Xenomai (XENOMAI) [Y/n/?] (NEW) y = =0A
Nucleus (XENO_OPT_NUCLEUS) [Y/n] (NEW) y =0A
Pervasive real-= time support in user-space (XENO_OPT_PERVASIVE) [Y/n/?] (NEW) y =0APriority coupling support (XENO_OPT_PRIOCPL) [Y/n/?] (NEW) y =0A
O= ptimize as pipeline head (XENO_OPT_PIPELINE_HEAD) [Y/n/?] (NEW) y =0A<= br>Extra scheduling classes (XENO_OPT_SCHED_CLASSES) [N/y/?] (NEW) n = =0A
Number of pipe devices (XENO_OPT_PIPE_NRDEV) [32] (NEW) 32 =0A<= br>Number of registry slots (XENO_OPT_REGISTRY_NRSLOTS) [512] (NEW) 512&nbs= p;=0A
Size of the system heap (Kb) (XENO_OPT_SYS_HEAPSZ) [256] (NEW) 256=  =0A
Size of the private stack pool (Kb) (XENO_OPT_SYS_STACKPOOLSZ)= [128] (NEW) 128 =0A
Size of private semaphores heap (Kb) (XENO_OPT= _SEM_HEAPSZ) [12] (NEW) 12 =0A
Size of global semaphores heap (Kb) = (XENO_OPT_GLOBAL_SEM_HEAPSZ) [12] (NEW) 12 =0A
Statistics collectio= n (XENO_OPT_STATS) [Y/n/?] (NEW) y =0A
Debug support (XENO_OPT_DEBU= G) [N/y/?] (NEW) n =0A
Shared interrupts (XENO_OPT_SHIRQ) [N/y/?] (= NEW) n =0A
* =0A
* Timing =0A
* =0A
Enable = periodic timing (XENO_OPT_TIMING_PERIODIC) [N/y/?] (NEW) n =0A
Virt= ual tick duration in aperiodic mode (us) (XENO_OPT_TIMING_VIRTICK) [1000] (= NEW) 1000 =0A
Scheduling latency (ns) (XENO_OPT_TIMING_SCHEDLAT) [0= ] (NEW) 0 =0A
* =0A
* Scalability =0A
* =0AO(1) scheduler (XENO_OPT_SCALABLE_SCHED) [N/y/?] (NEW) n =0A
Timer= indexing method =0A
> 1. Linear (XENO_OPT_TIMER_LIST) (NEW)&nbs= p;=0A
2. Tree (XENO_OPT_TIMER_HEAP) (NEW) =0A
3. Hash (XENO_OPT_= TIMER_WHEEL) (NEW) =0A
choice[1-3?]: 1 =0A
* =0A
* = Native API =0A
* =0A
Native API (XENO_SKIN_NATIVE) [Y/n/?] = (NEW) y =0A
Message pipes (XENO_OPT_NATIVE_PIPE) [Y/n/?] (NEW) y&nb= sp;=0A
Bytes in buffer space (XENO_OPT_NATIVE_PIPE_BUFSZ) [1024] (NEW) 1= 024 =0A
Counting semaphores (XENO_OPT_NATIVE_SEM) [Y/n/?] (NEW) y&n= bsp;=0A
Event flags (XENO_OPT_NATIVE_EVENT) [Y/n/?] (NEW) y =0A
= Mutexes (XENO_OPT_NATIVE_MUTEX) [Y/n/?] (NEW) y =0A
Condition varia= bles (XENO_OPT_NATIVE_COND) [Y/n/?] (NEW) y =0A
Message queues (XEN= O_OPT_NATIVE_QUEUE) [Y/n/?] (NEW) y =0A
Buffers (XENO_OPT_NATIVE_BU= FFER) [Y/n/?] (NEW) y =0A
Memory heaps (XENO_OPT_NATIVE_HEAP) [Y/n/= ?] (NEW) y =0A
Alarms (XENO_OPT_NATIVE_ALARM) [Y/n/?] (NEW) y = =0A
Message passing support (XENO_OPT_NATIVE_MPS) [Y/n/?] (NEW) y = =0A
Interrupts (XENO_OPT_NATIVE_INTR) [N/y/?] (NEW) n =0A
* = ;=0A
* POSIX API =0A
* =0A
POSIX API (XENO_SKIN_POSIX) [= Y/n/?] (NEW) y =0A
Shared memory (XENO_OPT_POSIX_SHM) [N/y/?] (NEW)= n =0A
Interrupts (XENO_OPT_POSIX_INTR) [N/y/?] (NEW) n =0ASelect syscall (XENO_OPT_POSIX_SELECT) [N/y/?] (NEW) n =0A
Debuggi= ng support (XENO_OPT_DEBUG_POSIX) [N/y/?] (NEW) n =0A
* =0A* pSOS+ emulator =0A
* =0A
pSOS+ emulator (XENO_SKIN_PSOS)= [N/y/?] (NEW) n =0A
* =0A
* uITRON API =0A
* = =0A
uITRON API (XENO_SKIN_UITRON) [N/y/?] (NEW) n =0A
* =0A=
* VRTX emulator =0A
* =0A
VRTX emulator (XENO_SKIN_VRTX= ) [N/y/?] (NEW) n =0A
* =0A
* VxWorks emulator =0A
= * =0A
VxWorks emulator (XENO_SKIN_VXWORKS) [N/y/?] (NEW) n =0A=
* =0A
* RTAI emulator =0A
* =0A
RTAI emulator (= XENO_SKIN_RTAI) [N/y/?] (NEW) n =0A
* =0A
* Interfaces = ;=0A
* =0A
Do not warn about deprecated skin usage (XENO_OPT_NOW= ARN_DEPRECATED) [N/y/?] (NEW) n =0A
* =0A
* Real-Time Drive= r Model =0A
* =0A
Real-Time Driver Model (XENO_SKIN_RTDM) [= Y/n/?] (NEW) y =0A
Maximum number of RTDM file descriptors (XENO_OP= T_RTDM_FILDES) [128] (NEW) 128 =0A
Select support for RTDM file des= criptors (XENO_OPT_RTDM_SELECT) [N/y/?] (NEW) n =0A
* =0A
*= Serial drivers =0A
* =0A
16550A UART driver (XENO_DRIVERS_= 16550A) [N/y/?] (NEW) n =0A
* =0A
* Testing drivers = =0A
* =0A
Timer benchmark driver (XENO_DRIVERS_TIMERBENCH) [Y/n/= ?] (NEW) y =0A
IRQ benchmark driver (XENO_DRIVERS_IRQBENCH) [N/y/?]= (NEW) n =0A
Context switch unit testing driver (XENO_DRIVERS_SWITC= HTEST) [Y/n/?] (NEW) y =0A
* =0A
* CAN drivers =0A
= * =0A
RT-Socket-CAN, CAN raw socket interface (XENO_DRIVERS_CAN) [N= /y/?] (NEW) n =0A
* =0A
* ANALOGY drivers =0A
*&nbs= p;=0A
ANALOGY interface (XENO_DRIVERS_ANALOGY) [N/y/?] (NEW) n =0A<= br>* =0A
* Real-time IPC drivers =0A
* =0A
RTIPC pr= otocol family (XENO_DRIVERS_RTIPC) [N/y/?] (NEW) n =0A
* =0A* Processor type and features =0A
* =0A
* =0A
* P= latform dependant setup =0A
* =0A
CPU =0A
> 1. N= IOS2 (NIOS2) =0A
choice[1]: 1 =0A
MMU support (MMU) [N/y/?]= n =0A
Platform =0A
1. Microtronix uKit board support (MICR= OTRONIX_UKIT) =0A
2. Microtronix Stratix board support (MICROTRONIX= _STRATIX) =0A
3. Microtronix Cyclone board support (MICROTRONIX_CYC= LONE) =0A
4. Microtronix PSK (Product Starter Kit) support (MICROTR= ONIX_PSK) =0A
5. Altera Stratix Development board support (ALTERA_S= TRATIX) =0A
6. Altera Stratix Pro Development board support (ALTERA= _STRATIX_PRO) =0A
7. Altera Stratix II Development board support (A= LTERA_STRATIX_II) =0A
8. Altera Cyclone Development board support (= ALTERA_CYCLONE) =0A
9. Altera CYCLONE II Development board support = (ALTERA_CYCLONE_II) =0A
10. Altera Cyclone 1C12 Evaluation board su= pport (ALTERA_CYCLONE_1C12_EVAL) =0A
> 11. Altera DE2 Developmen= t board support (ALTERA_DE2) =0A
12. Altera Nios II Embedded Evalua= tion Kit support (ALTERA_NEEK_C3) =0A
13. Altera CYCLONE III 3C120 = Development board support (ALTERA_CYCLONE_III) =0A
choice[1-13]: 11=  =0A
Nios II Hardware Multiply Support =0A
1. None (NIOS2_H= W_MUL_OFF) =0A
> 2. Enable mul instruction (NIOS2_HW_MUL) = =0A
3. Enable mul and mulx instructions (NIOS2_HW_MULX) =0A
choi= ce[1-3?]: 2 =0A
* =0A
* Platform drivers Options =0A* =0A
GPIO interface (GENERIC_GPIO) [N/y/?] n =0A
Support= of DMA controller with Avalon interface (AVALON_DMA) [N/y/?] n =0AAltera PCI host bridge (PCI_ALTPCI) [N/y] n =0A
Remote update supp= ort (ALTERA_REMOTE_UPDATE) [N/y/?] n =0A
* =0A
* Miscellane= ous Options =0A
* =0A
Include breakpoint trap on kernel sta= rtup (BREAK_ON_START) [N/y/?] n =0A
Kernel executes from =0A> 1. RAM (RAMKERNEL) =0A
choice[1]: 1 =0A
Preemption M= odel =0A
1. No Forced Preemption (Server) (PREEMPT_NONE) =0A2. Voluntary Kernel Preemption (Desktop) (PREEMPT_VOLUNTARY) =0A
= > 3. Preemptible Kernel (Low-Latency Desktop) (PREEMPT) =0A
choi= ce[1-3]: 3 =0A
Timer frequency =0A
> 1. 100 HZ (HZ_100)&= nbsp;=0A
2. 250 HZ (HZ_250) =0A
3. 300 HZ (HZ_300) =0A
4= . 1000 HZ (HZ_1000) =0A
choice[1-4?]: 1 =0A
Default kernel = command string (CMDLINE) [] =0A
Passed kernel command line from u-b= oot (PASS_CMDLINE) [N/y/?] n =0A
Interrupt pipeline (IPIPE) [Y/?] (= NEW) y =0A
Max domains (IPIPE_DOMAINS) [4] (NEW) 4 =0A
Main= tain code compatibility with older releases (IPIPE_COMPAT) [Y/n/?] (NEW) y&= nbsp;=0A
Memory model =0A
> 1. Flat Memory (FLATMEM_MANUAL)&n= bsp;=0A
choice[1]: 1 =0A
Add LRU list to track non-evictable pag= es (UNEVICTABLE_LRU) [Y/n/?] y =0A
Turn on mmap() excess space trim= ming before booting (NOMMU_INITIAL_TRIM_EXCESS) [1] 1 =0A
Link addr= ess offset for booting (BOOT_LINK_OFFSET) [0x00500000] 0x00500000 =0A<= br>* =0A
* Kernel hacking =0A
* =0A
Show timing inf= ormation on printks (PRINTK_TIME) [N/y/?] n =0A
Enable __deprecated= logic (ENABLE_WARN_DEPRECATED) [Y/n/?] y =0A
Enable __must_check l= ogic (ENABLE_MUST_CHECK) [N/y/?] n =0A
Warn for stack frames larger= than (needs gcc 4.4) (FRAME_WARN) [1024] 1024 =0A
Magic SysRq key = (MAGIC_SYSRQ) [N/y/?] n =0A
Enable unused/obsolete exported symbols= (UNUSED_SYMBOLS) [N/y/?] n =0A
Debug Filesystem (DEBUG_FS) [N/y/?]= n =0A
Run 'make headers_check' when building vmlinux (HEADERS_CHEC= K) [N/y/?] n =0A
I-pipe debugging (IPIPE_DEBUG) [N/y] (NEW) n = =0A
Kernel debugging (DEBUG_KERNEL) [Y/n/?] y =0A
Debug shared I= RQ handlers (DEBUG_SHIRQ) [N/y/?] n =0A
Detect Soft Lockups (DETECT= _SOFTLOCKUP) [Y/n/?] y =0A
Panic (Reboot) On Soft Lockups (BOOTPARA= M_SOFTLOCKUP_PANIC) [N/y/?] n =0A
Detect Hung Tasks (DETECT_HUNG_TA= SK) [Y/n/?] y =0A
Panic (Reboot) On Hung Tasks (BOOTPARAM_HUNG_TASK= _PANIC) [N/y/?] n =0A
Collect scheduler debugging info (SCHED_DEBUG= ) [Y/n/?] y =0A
Collect scheduler statistics (SCHEDSTATS) [N/y/?] n=  =0A
Collect kernel timers statistics (TIMER_STATS) [N/y/?] n = =0A
Debug object operations (DEBUG_OBJECTS) [N/y/?] n =0A
Debug = slab memory allocations (DEBUG_SLAB) [N/y/?] n =0A
RT Mutex debuggi= ng, deadlock detection (DEBUG_RT_MUTEXES) [N/y/?] n =0A
Built-in sc= riptable tester for rt-mutexes (RT_MUTEX_TESTER) [N/y/?] n =0A
Spin= lock and rw-lock debugging: basic checks (DEBUG_SPINLOCK) [N/y/?] n = =0A
Mutex debugging: basic checks (DEBUG_MUTEXES) [N/y/?] n =0A
= Spinlock debugging: sleep-inside-spinlock checking (DEBUG_SPINLOCK_SLEEP) [= N/y/?] n =0A
Locking API boot-time self-tests (DEBUG_LOCKING_API_SE= LFTESTS) [N/y/?] n =0A
kobject debugging (DEBUG_KOBJECT) [N/y/?] n&= nbsp;=0A
Compile the kernel with debug info (DEBUG_INFO) [Y/n/?] y = =0A
Debug VM (DEBUG_VM) [N/y/?] n =0A
Debug the global anon/priv= ate NOMMU mapping region tree (DEBUG_NOMMU_REGIONS) [N/y/?] n =0A
D= ebug filesystem writers count (DEBUG_WRITECOUNT) [N/y/?] n =0A
Debu= g memory initialisation (DEBUG_MEMORY_INIT) [N/y/?] n =0A
Debug lin= ked list manipulation (DEBUG_LIST) [N/y/?] n =0A
Debug SG table ope= rations (DEBUG_SG) [N/y/?] n =0A
Debug notifier call chains (DEBUG_= NOTIFIERS) [N/y/?] n =0A
Delay each boot printk message by N millis= econds (BOOT_PRINTK_DELAY) [N/y/?] n =0A
torture tests for RCU (RCU= _TORTURE_TEST) [N/y/?] n =0A
Check for stalled CPUs delaying RCU gr= ace periods (RCU_CPU_STALL_DETECTOR) [N/y/?] n =0A
Self test for th= e backtrace code (BACKTRACE_SELF_TEST) [N/y/?] n =0A
Force extended= block device numbers and spread them (DEBUG_BLOCK_EXT_DEVT) [N/y/?] n = ;=0A
Fault-injection framework (FAULT_INJECTION) [N/y/?] n =0A
D= ebug page memory allocations (PAGE_POISONING) [N/y/?] n =0A
# = =0A
# configuration written to .config =0A
# =0A
no emul= ation specific options. =0A
RUNNING hwselect =0A
 
= --- Please select which CPU you wish to build the kernel against:=0A
&nb= sp;
(1) cpu - Class: altera_nios2 Type: s Version: 7.080910=0A
 =
Selection: 1=0A
 
--- Please select a device to execute kern= el from:=0A
 
(1) ext_flash=0A
Class: altera_avalon_cfi_flash= =0A
Size: 8388608 bytes =0A
 
(2) onchip_ram_64_kbytes= =0A
Class: altera_avalon_onchip_memory2=0A
Size: 65536 bytes=0A
&n= bsp;
(3) ext_ram=0A
Class: altera_nios_dev_kit_stratix_edition_sram2= =0A
Size: 1048576 bytes=0A
 
(4) sdram=0A
Class: altera_av= alon_new_sdram_controller=0A
Size: 16777216 bytes=0A
 
Select= ion: 4=0A
 
--- Summary using=0A
 
PTF: /home/sonda/D= esktop/f/standard/std_1s40.ptf=0A
CPU: cpu=0A
Program memory to execu= te from: sdram=0A
 
--- Settings written to /home/sonda/Desktop/= nios2-linux/uClinux-dist/linux-2.6.x/arch/nios2/hardware.mk=0A
 make[3]: quittant le r=C3=A9pertoire =C2=AB /home/sonda/Desktop/nios2-linu= x/linux-2.6 =C2=BB=0A
make[2]: quittant le r=C3=A9pertoire =C2=AB /home/= sonda/Desktop/nios2-linux/uClinux-dist/vendors/Altera/nios2 =C2=BB=0A
ma= ke[1]: quittant le r=C3=A9pertoire =C2=AB /home/sonda/Desktop/nios2-linux/u= Clinux-dist/vendors =C2=BB=0A
------------------------------------------= ---------------------------------------------------------------------------= -------------------------=0A
-------------------------------------------= ---------------------------------------------------------------------------= ------------------------=0A
 
Regards,

--- En date de&nbs= p;: Dim 28.3.10, Patrice Kadionik <kadionik@domain.hid>= a =C3=A9crit :

De: Patrice Ka= dionik <kadionik@domain.hid>
Objet: Re: [Xenomai-help] Pro= blem to cross-compile Xenomai user-space support
=C3=80: "Chtourou Sonda= " <chtourou_sonda@domain.hid>
Cc: xenomai@xenomai.org
Date: Dima= nche 28 mars 2010, 13h26

=0A=0A=0A=0A =0A= Le 20:59, Chtourou Sonda a =C3=A9crit :=0A
= =0A