All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [Xenomai-help] at91sam9263 and user-space support compile fails
@ 2008-05-16 12:40 Paradoxxa2001
  2008-05-16 12:42 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 43+ messages in thread
From: Paradoxxa2001 @ 2008-05-16 12:40 UTC (permalink / raw)
  To: xenomai

The manual of my starterkit says i should do this with the vmlinux:

arm-elf-objcopy -O binary -S vmImage vmlinux.bin
gzip -f9 vmlinux.bin
mkimage -A arm -O linux -T kernel -C gzip -a 0x20008000 -e 0x20008000 -n "Linux Kernel Image" -d vmlinux.bin.gz vmImage

When im take the ./arch/arm/boot/compressed/vmlinux it won't work.
If i take the ./vmlinux it is to big.




-----Ursprüngliche Nachricht-----
Von: "Gilles Chanteperdrix" <gilles.chanteperdrix@xenomai.org>
Gesendet: 16.05.08 14:18:30
An: Paradoxxa2001@domain.hid
CC: xenomai@xenomai.org
Betreff: Re: [Xenomai-help] at91sam9263 and user-space support compile fails

On Fri, May 16, 2008 at 1:07 PM,  <Paradoxxa2001@domain.hid> wrote:
> I have found some debug flags.
> Now the vmlinux is smaller but still to big
>
> -rwxr-xr-x 1 paradoxxa paradoxxa 4,8M 16. Mai 12:36 vmlinux
> -rwxr-xr-x 1 paradoxxa paradoxxa 1,7M 16. Mai 12:36 arch/arm/boot/compressed/vmlinux

A 1.7M vmlinux is Ok. I do not understand what you mean.

-- 
 Gilles



_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000066



^ permalink raw reply	[flat|nested] 43+ messages in thread
* Re: [Xenomai-help] at91sam9263 and user-space support compile fails
@ 2008-05-19  6:26 Paradoxxa2001
  2008-05-19  9:39 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 43+ messages in thread
From: Paradoxxa2001 @ 2008-05-19  6:26 UTC (permalink / raw)
  To: xenomai

God Morning,

I tried "make uImage" already.
I got the messages like:

uncompressing kernel---
crc error
--System halted

I saw that the scripts uses zImage to make the uImage. And the uImage is built
from the arch/arm/boot/compressed/vmlinux. The difference what i saw is that no 
compression is used to build the uImage by the scripts.


The Kernel with the printascii Function begin to start. 
Here are the logs:
----------------------------------------------------------------------------------------------
Starting kernel ...

<5>Linux version 2.6.24-paradoxxa-pm9263 (support@domain.hid) (gcc version 4.2.3 (Sourcery G++ Lite 2
008q1-126)) #7 Mon May 19 08:01:12 CEST 2008
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
Machine: Ronetix PM9263/BB9263
<4>Ignoring unrecognised tag 0x54410008
Memory policy: ECC disabled, Data cache writeback
<7>On node 0 totalpages: 16384
<7>  DMA zone: 128 pages used for memmap
<7>  DMA zone: 0 pages reserved
<7>  DMA zone: 16256 pages, LIFO batch:3
<7>  Normal zone: 0 pages used for memmap
<7>  Movable zone: 0 pages used for memmap
Clocks: CPU 199 MHz, master 99 MHz, main 18.432 MHz
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
<5>Kernel command line: root=/dev/mtdblock4 rootfstype=jffs2 fbcon=rotate:3 mtdparts=physmap-flash.0
:256k(u-boot)ro,64k(u-boot-env)ro,1408k(kernel),-(rootfs);nand:-(nand) ip=10.0.0.17:10.0.0.20:10.0.0
.20:255.255.255.0:PM9263:eth0:off
<6>AT91: 160 gpio irqs in 5 banks
PID hash table entries: 256 (order: 8, 1024 bytes)
<6>I-pipe 1.9-01: pipeline enabled.
Console: colour dummy device 80x30
<6>console [tty0] enabled
<6>console [ttyS0] enabled
Linux version 2.6.24-paradoxxa-pm9263 (support@domain.hid) (gcc version 4.2.3 (Sourcery G++ Lite 2008
q1-126)) #7 Mon May 19 08:01:12 CEST 2008
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
Machine: Ronetix PM9263/BB9263
Ignoring unrecognised tag 0x54410008
Memory policy: ECC disabled, Data cache writeback
Clocks: CPU 199 MHz, master 99 MHz, main 18.432 MHz
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: root=/dev/mtdblock4 rootfstype=jffs2 fbcon=rotate:3 mtdparts=physmap-flash.0:25
6k(u-boot)ro,64k(u-boot-env)ro,1408k(kernel),-(rootfs);nand:-(nand) ip=10.0.0.17:10.0.0.20:10.0.0.20
:255.255.255.0:PM9263:eth0:off
AT91: 160 gpio irqs in 5 banks
PID hash table entries: 256 (order: 8, 1024 bytes)
I-pipe 1.9-01: pipeline enabled.
Console: colour dummy device 80x30
console [tty0] enabled
console [ttyS0] enabled
<6>Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
<6>Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
<6>Memory:Memory: 64MB 64MB = 64MB total
 = 64MB total
<5>Memory: 61184KB available (3220K code, 388K data, 108K init)
Memory: 61184KB available (3220K code, 388K data, 108K init)
<7>Calibrating delay loop... 99.12 BogoMIPS (lpj=495616)
Mount-cache hash table entries: 512
Mount-cache hash table entries: 512
<6>CPU: Testing write buffer coherency: CPU: Testing write buffer coherency: ok
ok
<6>net_namespace: 64 bytes
net_namespace: 64 bytes
<6>NET: Registered protocol family 16
NET: Registered protocol family 16
<6>usbcore: registered new interface driver usbfs
usbcore: registered new interface driver usbfs
<6>usbcore: registered new interface driver hub
usbcore: registered new interface driver hub
<6>usbcore: registered new device driver usb
usbcore: registered new device driver usb
<6>NET: Registered protocol family 2
NET: Registered protocol family 2
<6>Time: at91_tc0 clocksource has been installed.
Time: at91_tc0 clocksource has been installed.
<6>IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
<6>TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
<6>TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
<6>TCP: Hash tables configured (established 2048 bind 2048)
TCP: Hash tables configured (established 2048 bind 2048)
<6>TCP reno registered
TCP reno registered
<4>NetWinder Floating Point Emulator V0.97 (double precision)
NetWinder Floating Point Emulator V0.97 (double precision)
<6>I-pipe: Domain Xenomai registered.
I-pipe: Domain Xenomai registered.
<6>Xenomai: hal/arm started.
Xenomai: hal/arm started.
<6>Xenomai: real-time nucleus v2.4.3 (Back to Shalla-Bal) loaded.
Xenomai: real-time nucleus v2.4.3 (Back to Shalla-Bal) loaded.
<6>Xenomai: starting native API services.
Xenomai: starting native API services.
<6>Xenomai: starting POSIX services.
Xenomai: starting POSIX services.
<6>Xenomai: starting RTDM services.
Xenomai: starting RTDM services.
<6>JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
<6>io scheduler noop registered
io scheduler noop registered
<6>io scheduler anticipatory registered (default)
io scheduler anticipatory registered (default)
<6>atmel_lcdfb atmel_lcdfb.0: 4096KiB frame buffer at 70000000 (mapped at c5000000)
atmel_lcdfb atmel_lcdfb.0: 4096KiB frame buffer at 70000000 (mapped at c5000000)
Console: switching to colour frame buffer device 40x30
Console: switching to colour frame buffer device 40x30
<6>atmel_lcdfb atmel_lcdfb.0: fb0: Atmel LCDC at 0x00700000 (mapped at c4850000), irq 26
atmel_lcdfb atmel_lcdfb.0: fb0: Atmel LCDC at 0x00700000 (mapped at c4850000), irq 26
<6>atmel_usart.0: ttyS0 at MMIO 0xfeffee00 (irq = 1) is a ATMEL_SERIAL
atmel_usart.0: ttyS0 at MMIO 0xfeffee00 (irq = 1) is a ATMEL_SERIAL
<6>atmel_usart.1: ttyS1 at MMIO 0xfff8c000 (irq = 7) is a ATMEL_SERIAL
atmel_usart.1: ttyS1 at MMIO 0xfff8c000 (irq = 7) is a ATMEL_SERIAL
<6>MACB_mii_bus: probed
MACB_mii_bus: probed
<6>eth0: Atmel MACB at 0xfffbc000 irq 21 (02:00:11:53:d0:85)
eth0: Atmel MACB at 0xfffbc000 irq 21 (02:00:11:53:d0:85)
<6>eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=ffffffff:01, irq=-1)
eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=ffffffff:01, irq=-1)
<6>Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
<6>ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
<5>physmap platform flash device: 04000000 at 10000000
physmap platform flash device: 04000000 at 10000000
<6>physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
<7>physmap-flash.0: Found an alias at 0x400000 for the chip at 0x0
<7>physmap-flash.0: Found an alias at 0x800000 for the chip at 0x0
<7>physmap-flash.0: Found an alias at 0xc00000 for the chip at 0x0
<7>physmap-flash.0: Found an alias at 0x1000000 for the chip at 0x0
<7>physmap-flash.0: Found an alias at 0x1400000 for the chip at 0x0
<7>physmap-flash.0: Found an alias at 0x1800000 for the chip at 0x0
<7>physmap-flash.0: Found an alias at 0x1c00000 for the chip at 0x0
<7>physmap-flash.0: Found an alias at 0x2000000 for the chip at 0x0
<7>physmap-flash.0: Found an alias at 0x2400000 for the chip at 0x0
<7>physmap-flash.0: Found an alias at 0x2800000 for the chip at 0x0
<7>physmap-flash.0: Found an alias at 0x2c00000 for the chip at 0x0
<7>physmap-flash.0: Found an alias at 0x3000000 for the chip at 0x0
<7>physmap-flash.0: Found an alias at 0x3400000 for the chip at 0x0
<7>physmap-flash.0: Found an alias at 0x3800000 for the chip at 0x0
<7>physmap-flash.0: Found an alias at 0x3c00000 for the chip at 0x0
 Amd/Fujitsu Extended Query Table at 0x0040
 Amd/Fujitsu Extended Query Table at 0x0040
<5>number of CFI chips: 1
number of CFI chips: 1
<5>cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
<5>4 cmdlinepart partitions found on MTD device physmap-flash.0
4 cmdlinepart partitions found on MTD device physmap-flash.0
<5>Creating 4 MTD partitions on "physmap-flash.0":
Creating 4 MTD partitions on "physmap-flash.0":
<5>0x00000000-0x00040000 : "u-boot"
0x00000000-0x00040000 : "u-boot"
<5>0x00040000-0x00050000 : "u-boot-env"
0x00040000-0x00050000 : "u-boot-env"
<5>0x00050000-0x001b0000 : "kernel"
0x00050000-0x001b0000 : "kernel"
<5>0x001b0000-0x00400000 : "rootfs"
0x001b0000-0x00400000 : "rootfs"
<6>NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron NAND 256MiB 3,3V 8-bit)
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron NAND 256MiB 3,3V 8-bit)
<6>AT91 NAND: 8-bit, Software ECC
AT91 NAND: 8-bit, Software ECC
<6>Scanning device for bad blocks
Scanning device for bad blocks
<5>Creating 1 MTD partitions on "at91_nand":
Creating 1 MTD partitions on "at91_nand":
<5>0x00000000-0x10000000 : "nand"
0x00000000-0x10000000 : "nand"
<6>atmel_spi atmel_spi.0: Atmel SPI Controller at 0xfffa4000 (irq 14)
atmel_spi atmel_spi.0: Atmel SPI Controller at 0xfffa4000 (irq 14)
<6>mtd_dataflash spi0.0: AT45DB321x (4224 KBytes)
mtd_dataflash spi0.0: AT45DB321x (4224 KBytes)
<6>atmel_spi atmel_spi.1: Atmel SPI Controller at 0xfffa8000 (irq 15)
atmel_spi atmel_spi.1: Atmel SPI Controller at 0xfffa8000 (irq 15)
<6>at91_cf: irqs det #62, io #56
at91_cf: irqs det #62, io #56
<7>ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
<6>at91_ohci at91_ohci: AT91 OHCI
at91_ohci at91_ohci: AT91 OHCI
<6>at91_ohci at91_ohci: new USB bus registered, assigned bus number 1
at91_ohci at91_ohci: new USB bus registered, assigned bus number 1
<6>at91_ohci at91_ohci: irq 29, io mem 0x00a00000
at91_ohci at91_ohci: irq 29, io mem 0x00a00000
<6>usb usb1: configuration #1 chosen from 1 choice
usb usb1: configuration #1 chosen from 1 choice
<6>hub 1-0:1.0: USB hub found
hub 1-0:1.0: USB hub found
<6>hub 1-0:1.0: 2 ports detected
hub 1-0:1.0: 2 ports detected
<6>mice: PS/2 mouse device common for all mice
mice: PS/2 mouse device common for all mice
<6>ads7846 spi1.0: touchscreen, irq 31
ads7846 spi1.0: touchscreen, irq 31
<6>input: ADS784x Touchscreen as /class/input/input0
input: ADS784x Touchscreen as /class/input/input0
<6>rtc-at91sam9 at91_rtt.0: rtc core: registered at91_rtt as rtc0
rtc-at91sam9 at91_rtt.0: rtc core: registered at91_rtt as rtc0
<6>Driver for 1-wire Dallas network protocol.
Driver for 1-wire Dallas network protocol.
<6>pm926x_w1, gpio pin 95
pm926x_w1, gpio pin 95
<6>Registered led device: led0
Registered led device: led0
<6>Registered led device: led1
Registered led device: led1
<6>usbcore: registered new interface driver usbhid
usbcore: registered new interface driver usbhid
<6>drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
<6>Advanced Linux Sound Architecture Driver Version 1.0.15 (Tue Nov 20 19:16:42 2007 UTC).
Advanced Linux Sound Architecture Driver Version 1.0.15 (Tue Nov 20 19:16:42 2007 UTC).
<6>ALSA sound/arm/at91-ac97.c:564: ALSA sound/arm/at91-ac97.c:564: AC97C regs = FFFA0000
AC97C regs = FFFA0000
<6>ALSA sound/arm/at91-ac97.c:565: ALSA sound/arm/at91-ac97.c:565: AC97C irq  = 18
AC97C irq  = 18
<4>ALSA sound/arm/at91-ac97.c:493: ALSA sound/arm/at91-ac97.c:493: at91-ac97: codec read timeout 1
at91-ac97: codec read timeout 1
<4>ALSA sound/arm/at91-ac97.c:493: <4>ALSA sound/arm/at91-ac97.c:493: at91-ac97: codec read timeout
1
at91-ac97: codec read timeout 1
<4>ALSA sound/arm/at91-ac97.c:493: <4>ALSA sound/arm/at91-ac97.c:493: at91-ac97: codec read timeout
1
at91-ac97: codec read timeout 1
<4>ALSA sound/arm/at91-ac97.c:493: <4>ALSA sound/arm/at91-ac97.c:493: at91-ac97: codec read timeout
1
at91-ac97: codec read timeout 1
<6>ASoC version 0.13.1
<6>ASoC version 0.13.1
<6>ALSA device list:
ALSA device list:
<6>  #0: Atmel AC97 Controller at 0xfffa0000, irq 18
  #0: Atmel AC97 Controller at 0xfffa0000, irq 18
<6>TCP cubic registered
TCP cubic registered
<6>NET: Registered protocol family 1
NET: Registered protocol family 1
<6>NET: Registered protocol family 17
NET: Registered protocol family 17
<6>RPC: Registered udp transport module.
RPC: Registered udp transport module.
<6>RPC: Registered tcp transport module.
RPC: Registered tcp transport module.
<6>rtc-at91sam9 at91_rtt.0: setting system clock to 2008-05-19 08:15:34 UTC (1211184934)
rtc-at91sam9 at91_rtt.0: setting system clock to 2008-05-19 08:15:34 UTC (1211184934)
IP-Config: Complete:IP-Config: Complete:
      device=eth0
      device=eth0, addr=10.0.0.17, addr=10.0.0.17, mask=255.255.255.0, mask=255.255.255.0, gw=10.0.0
.20, gw=10.0.0.20,
     host=PM9263, domain=, nis-domain=(none),
     host=PM9263, domain=, nis-domain=(none),
     bootserver=10.0.0.20,
     bootserver=10.0.0.20, rootserver=10.0.0.20, rootserver=10.0.0.20, rootpath=, rootpath=

<1>Unable to handle kernel NULL pointer dereference at virtual address 00000001
Unable to handle kernel NULL pointer dereference at virtual address 00000001
<1>pgd = c0004000
pgd = c0004000
<1>[00000001] *pgd=00000000[00000001] *pgd=00000000

Internal error: Oops: 5 [#1]
Internal error: Oops: 5 [#1]
Modules linked in:Modules linked in:

CPU: 0    Not tainted  (2.6.24-paradoxxa-pm9263 #7)
CPU: 0    Not tainted  (2.6.24-paradoxxa-pm9263 #7)
PC is at name_to_dev_t+0x160/0x28c
PC is at name_to_dev_t+0x160/0x28c
LR is at name_to_dev_t+0x13c/0x28c
LR is at name_to_dev_t+0x13c/0x28c
pc : [<c0023810>]    lr : [<c00237ec>]    psr: 20000013
sp : c3c17f2c  ip : c3c17f2c  fp : c3c17f78
pc : [<c0023810>]    lr : [<c00237ec>]    psr: 20000013
sp : c3c17f2c  ip : c3c17f2c  fp : c3c17f78
r10: 00000000  r9 : 00000000  r8 : c3c16000
r10: 00000000  r9 : 00000000  r8 : c3c16000
r7 : 00000000  r6 : 00000000  r5 : c001d871  r4 : c3c17f30
r7 : 00000000  r6 : 00000000  r5 : c001d871  r4 : c3c17f30
r3 : 00000001  r2 : 00000001  r1 : 0000006d  r0 : 00001730
r3 : 00000001  r2 : 00000001  r1 : 0000006d  r0 : 00001730
Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: 0005317f  Table: 20004000  DAC: 00000017
Control: 0005317f  Table: 20004000  DAC: 00000017
Process swapper (pid: 1, stack limit = 0xc3c16258)
Process swapper (pid: 1, stack limit = 0xc3c16258)
Stack: (0xc3c17f2c to 0xc3c18000)
Stack: (0xc3c17f2c to 0xc3c18000)
7f20: 7f20:                                                       00000000 00000000 6264746d 6264746
d 6b636f6c 6b636f6c c3c10034 c3c10034 c3c17f48 c3c17f48

7f40: 7f40: c004b3fc c004b3fc c006185c c006185c 00000003 00000003 00000000 00000000 00000000 0000000
0 00000000 00000000 00000001 00000001 c001d86c c001d86c

7f60: 7f60: c001d85c c001d85c 00000000 00000000 c001c070 c001c070 c3c17f94 c3c17f94 c3c17f7c c3c17f7
c c0009328 c0009328 c00236c0 c00236c0 c3c17f88 c3c17f88

7f80: 7f80: c036a4e0 c036a4e0 00000000 00000000 c3c17ff4 c3c17ff4 c3c17f98 c3c17f98 c0008a98 c0008a9
8 c00092a4 c00092a4 00000000 00000000 00000000 00000000

7fa0: 7fa0: 00000000 00000000 c3c17fb0 c3c17fb0 c0024060 c0024060 c0037720 c0037720 00000000 0000000
0 00000000 00000000 c0008868 c0008868 c003ddbc c003ddbc

7fc0: 7fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0000000
0 00000000 00000000 00000000 00000000 00000000 00000000

7fe0: 7fe0: 00000000 00000000 00000000 00000000 00000000 00000000 c3c17ff8 c3c17ff8 c003ddbc c003ddb
c c0008878 c0008878 0f73fc8c 0f73fc8c 1f13ac4e 1f13ac4e

Backtrace: Backtrace:

[<c00236b0>] [<c00236b0>] (name_to_dev_t+0x0/0x28c) (name_to_dev_t+0x0/0x28c) from [<c0009328>] from
 [<c0009328>] (prepare_namespace+0x94/0x16c)
(prepare_namespace+0x94/0x16c)
 r7:c001c070 r7:c001c070 r6:00000000 r6:00000000 r5:c001d85c r5:c001d85c r4:c001d86c r4:c001d86c

[<c0009294>] [<c0009294>] (prepare_namespace+0x0/0x16c) (prepare_namespace+0x0/0x16c) from [<c0008a9
8>] from [<c0008a98>] (kernel_init+0x230/0x290)
(kernel_init+0x230/0x290)
 r5:00000000 r5:00000000 r4:c036a4e0 r4:c036a4e0

[<c0008868>] [<c0008868>] (kernel_init+0x0/0x290) (kernel_init+0x0/0x290) from [<c003ddbc>] from [<c
003ddbc>] (do_exit+0x0/0x790)
(do_exit+0x0/0x790)
Code: Code: 20000220 20000220 e2833001 e2833001 e50b3020 e50b3020 e51b2020 e51b2020 (e5d21000) (e5d2
1000)

<4>---[ end trace aae4ab6fc1a48acc ]---
---[ end trace aae4ab6fc1a48acc ]---
<0>Kernel panic - not syncing: Attempted to kill init!
Kernel panic - not syncing: Attempted to kill init!
<6>eth0: link up (100/Full)
eth0: link up (100/Full)


----------------------------------------------------------------------------------------------

Thomas


-----Ursprüngliche Nachricht-----
Von: "Gilles Chanteperdrix" <gilles.chanteperdrix@xenomai.org>
Gesendet: 16.05.08 17:28:23
An: Paradoxxa2001@domain.hid
CC: xenomai@xenomai.org
Betreff: Re: [Xenomai-help] at91sam9263 and user-space support compile fails

On Fri, May 16, 2008 at 4:34 PM,  <Paradoxxa2001@domain.hid> wrote:
> OK, i will include the printascii function.
> Thank you for your patience. I appreciate you.

You are welcome. Have you tried "make uImage" ?

-- 
 Gilles

_______________________________________________
Xenomai-help mailing list
Xenomai-help@domain.hid
https://mail.gna.org/listinfo/xenomai-help



_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000066



^ permalink raw reply	[flat|nested] 43+ messages in thread
* Re: [Xenomai-help] at91sam9263 and user-space support compile fails
@ 2008-05-16 14:34 Paradoxxa2001
  2008-05-16 15:26 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 43+ messages in thread
From: Paradoxxa2001 @ 2008-05-16 14:34 UTC (permalink / raw)
  To: xenomai

OK, i will include the printascii function.
Thank you for your patience. I appreciate you.

Thomas

-----Ursprüngliche Nachricht-----
Von: "Gilles Chanteperdrix" <gilles.chanteperdrix@xenomai.org>
Gesendet: 16.05.08 16:13:04
An: Paradoxxa2001@domain.hid
Betreff: Re: [Xenomai-help] at91sam9263 and user-space support compile fails

On Fri, May 16, 2008 at 4:07 PM,  <Paradoxxa2001@domain.hid> wrote:
> Well, when im building it with the other Compiler which comes
> with the Module (AT91SAM9263) the kernel starts and the system
> is coming up. With the Compiler which Gills suggested (CodeSourcery)
> it doesn't work. I don't think the ArmPorting guide helps me here.

The ArmPorting guide explains you how to proceed when your kernel does
not boot and does not display anything. It is the first tip in the
"Tips and tricks" section.

-- 
 Gilles



_________________________________________________________________________
In 5 Schritten zur eigenen Homepage. Jetzt Domain sichern und gestalten! 
Nur 3,99 EUR/Monat! http://www.maildomain.web.de/?mc=021114



^ permalink raw reply	[flat|nested] 43+ messages in thread
* Re: [Xenomai-help] at91sam9263 and user-space support compile fails
@ 2008-05-16 13:53 Paradoxxa2001
  2008-05-16 13:57 ` Gilles Chanteperdrix
  2008-05-16 14:01 ` Gilles Chanteperdrix
  0 siblings, 2 replies; 43+ messages in thread
From: Paradoxxa2001 @ 2008-05-16 13:53 UTC (permalink / raw)
  To: xenomai

Finally i got it. Thanks a lot.
I flashed this Image to the target and booted it.
After the Message "Starting kernel" it seems like the system hung up.
Nothing more happens.

----------------------------------------------------------------
LCD init done, video memory at 0x70000000
In:    serial
Out:   serial
Err:   serial
AT91 Ethernet PHY: DP83848 (1)
operating at 100M full duplex mode
End of Autonegociation
MAC: 02:00:11:53:d0:85
Hit any key to stop autoboot:  0
## Booting image at 10050000 ...
   Image Name:   Xenomai Linux Kernel 
   Image Type:   ARM Linux Kernel Image (gzip compressed)
   Data Size:    1682870 Bytes =  1.6 MB
   Load Address: 20008000
   Entry Point:  20008000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK

Starting kernel ...
----------------------------------------------------------------

Thomas

_________________________________________________________________________
In 5 Schritten zur eigenen Homepage. Jetzt Domain sichern und gestalten! 
Nur 3,99 EUR/Monat! http://www.maildomain.web.de/?mc=021114



^ permalink raw reply	[flat|nested] 43+ messages in thread
* Re: [Xenomai-help] at91sam9263 and user-space support compile fails
@ 2008-05-16 11:07 Paradoxxa2001
  2008-05-16 12:18 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 43+ messages in thread
From: Paradoxxa2001 @ 2008-05-16 11:07 UTC (permalink / raw)
  To: xenomai

I have found some debug flags.
Now the vmlinux is smaller but still to big

-rwxr-xr-x 1 paradoxxa paradoxxa 4,8M 16. Mai 12:36 vmlinux
-rwxr-xr-x 1 paradoxxa paradoxxa 1,7M 16. Mai 12:36 arch/arm/boot/compressed/vmlinux



-----Ursprüngliche Nachricht-----
Von: "Gilles Chanteperdrix" <gilles.chanteperdrix@xenomai.org>
Gesendet: 16.05.08 11:58:24
An: Paradoxxa2001@domain.hid
CC: xenomai@xenomai.org
Betreff: Re: [Xenomai-help] at91sam9263 and user-space support compile fails



The vmlinux that really matters is arch/arm/boot/compressed/vmlinux

-- 
 Gilles

_______________________________________________
Xenomai-help mailing list
Xenomai-help@domain.hid
https://mail.gna.org/listinfo/xenomai-help



_____________________________________________________________________
Unbegrenzter Speicherplatz für Ihr E-Mail Postfach? Jetzt aktivieren!
http://freemail.web.de/club/landingpage.htm/?mc=025555



^ permalink raw reply	[flat|nested] 43+ messages in thread
* Re: [Xenomai-help] at91sam9263 and user-space support compile fails
@ 2008-05-16  9:34 Paradoxxa2001
  2008-05-16  9:45 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 43+ messages in thread
From: Paradoxxa2001 @ 2008-05-16  9:34 UTC (permalink / raw)
  To: xenomai

Sure,
the Output of "readelf --sections vmlinux" is:

--------------------------------------------------------------------------------------
There are 29 section headers, starting at offset 0x2132b94:

Section Headers:
  [Nr] Name              Type            Addr     Off    Size   ES Flg Lk Inf Al
  [ 0]                   NULL            00000000 000000 000000 00      0   0  0
  [ 1] .note.gnu.build-i NOTE            00000000 008000 000024 00   A  0   0  4
  [ 2] .text.head        PROGBITS        c0008000 010000 000240 00  AX  0   0 32
  [ 3] .init             PROGBITS        c0008240 010240 019dc0 00 WAX  0   0 32
  [ 4] .text             PROGBITS        c0022000 02a000 307cb8 00  AX  0   0 1024
  [ 5] __ksymtab         PROGBITS        c032a000 332000 005548 00   A  0   0  4
  [ 6] __ksymtab_gpl     PROGBITS        c032f548 337548 0016a0 00   A  0   0  4
  [ 7] __ksymtab_gpl_fut PROGBITS        c0330be8 338be8 000018 00   A  0   0  4
  [ 8] __kcrctab         PROGBITS        c0330c00 338c00 002aa4 00   A  0   0  4
  [ 9] __kcrctab_gpl     PROGBITS        c03336a4 33b6a4 000b50 00   A  0   0  4
  [10] __kcrctab_gpl_fut PROGBITS        c03341f4 33c1f4 00000c 00   A  0   0  4
  [11] __ksymtab_strings PROGBITS        c0334200 33c200 00e968 00   A  0   0  1
  [12] __param           PROGBITS        c0342b68 34ab68 0006b8 00   A  0   0  4
  [13] .data             PROGBITS        c0344000 34c000 022658 00  WA  0   0 32
  [14] .bss              NOBITS          c0366660 36e658 03ed40 00  WA  0   0 32
  [15] .comment          PROGBITS        00000000 36e658 007b4a 00      0   0  1
  [16] .ARM.attributes   ARM_ATTRIBUTES  00000000 3761a2 000027 00      0   0  1
  [17] .debug_line       PROGBITS        00000000 3761c9 175a4c 00      0   0  1
  [18] .debug_info       PROGBITS        00000000 4ebc15 1753949 00      0   0  1
  [19] .debug_abbrev     PROGBITS        00000000 1c3f55e 0ca742 00      0   0  1
  [20] .debug_aranges    PROGBITS        00000000 1d09ca0 0072b0 00      0   0  8
  [21] .debug_pubnames   PROGBITS        00000000 1d10f50 024da2 00      0   0  1
  [22] .debug_str        PROGBITS        00000000 1d35cf2 0cc8d1 01  MS  0   0  1
  [23] .debug_frame      PROGBITS        00000000 1e025c4 06c354 00      0   0  4
  [24] .debug_loc        PROGBITS        00000000 1e6e918 24e506 00      0   0  1
  [25] .debug_ranges     PROGBITS        00000000 20bce20 075c20 00      0   0  8
  [26] .shstrtab         STRTAB          00000000 2132a40 000153 00      0   0  1
  [27] .symtab           SYMTAB          00000000 213301c 0b87a0 10     28 36997  4
  [28] .strtab           STRTAB          00000000 21eb7bc 09dabd 00      0   0  1
Key to Flags:
  W (write), A (alloc), X (execute), M (merge), S (strings)
  I (info), L (link order), G (group), x (unknown)
  O (extra OS processing required) o (OS specific), p (processor specific)
--------------------------------------------------------------------------------------


Thomas
-----Ursprüngliche Nachricht-----
Von: "Gilles Chanteperdrix" <gilles.chanteperdrix@xenomai.org>
Gesendet: 16.05.08 11:27:41
An: Paradoxxa2001@domain.hid
CC: xenomai@xenomai.org
Betreff: Re: [Xenomai-help] at91sam9263 and user-space support compile fails

On Fri, May 16, 2008 at 11:24 AM,  <Paradoxxa2001@domain.hid> wrote:
>
> -rwxr-xr-x 1 paradoxxa paradoxxa 35M 16. Mai 11:20 vmlinux

You have a problem, my vmlinux is 4MB large. Could you run
readelf --sections vmlinux
?

-- 
 Gilles



______________________________________________________
Bis 50 MB Dateianhänge? Kein Problem!
http://freemail.web.de/club/landingpage.htm/?mc=025556



^ permalink raw reply	[flat|nested] 43+ messages in thread
* Re: [Xenomai-help] at91sam9263 and user-space support compile fails
@ 2008-05-16  9:24 Paradoxxa2001
  2008-05-16  9:27 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 43+ messages in thread
From: Paradoxxa2001 @ 2008-05-16  9:24 UTC (permalink / raw)
  To: xenomai


-rwxr-xr-x 1 paradoxxa paradoxxa 35M 16. Mai 11:20 vmlinux


-----Ursprüngliche Nachricht-----
Von: "Gilles Chanteperdrix" <gilles.chanteperdrix@xenomai.org>
Gesendet: 16.05.08 11:19:09
An: Paradoxxa2001@domain.hid
CC: xenomai@xenomai.org
Betreff: Re: [Xenomai-help] at91sam9263 and user-space support compile fails

On Fri, May 16, 2008 at 11:10 AM,  <Paradoxxa2001@domain.hid> wrote:
> I checked the linux-2.6.24/arch/arm/Makefile file.
> OBJCOPYFLAGS is like these in the referenced Patch.

How large is vmlinux ?

-- 
 Gilles



_______________________________________________________________
Schon gehört? Der neue WEB.DE MultiMessenger kann`s mit allen: 
http://www.produkte.web.de/messenger/?did=3016



^ permalink raw reply	[flat|nested] 43+ messages in thread
* Re: [Xenomai-help] at91sam9263 and user-space support compile fails
@ 2008-05-16  9:10 Paradoxxa2001
  2008-05-16  9:18 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 43+ messages in thread
From: Paradoxxa2001 @ 2008-05-16  9:10 UTC (permalink / raw)
  To: xenomai

I checked the linux-2.6.24/arch/arm/Makefile file.
OBJCOPYFLAGS is like these in the referenced Patch.

Thomas

-----Ursprüngliche Nachricht-----
Von: "Gilles Chanteperdrix" <gilles.chanteperdrix@xenomai.org>
Gesendet: 16.05.08 10:45:01
An: Paradoxxa2001@domain.hid
CC: xenomai@xenomai.org
Betreff: Re: [Xenomai-help] at91sam9263 and user-space support compile fails

On Fri, May 16, 2008 at 10:15 AM,  <Paradoxxa2001@domain.hid> wrote:
> Hi,
>
> actual i working with the CodeSourcery 2008q1 toolchain. When im building the
> user-space support it seem to work fine. Then im also compiled the kernel with this
> toolchain. The Image file which i get is about 4,7MB big. My System provide just
> less then 4MB space for the Kernel Image. With my first compiler i got kernel images
> with the size of 1,6MB. I also checked the Optimization Level, but that isn't the cause.
> What do you think about that?

This is a known issue. Use a more recent kernel, or patch the arch
Makefile as indicated here:
http://lists.arm.linux.org.uk/lurker/message/20080508.101225.d54f8f71.en.html

-- 
 Gilles



_____________________________________________________________________
Unbegrenzter Speicherplatz für Ihr E-Mail Postfach? Jetzt aktivieren!
http://freemail.web.de/club/landingpage.htm/?mc=025555



^ permalink raw reply	[flat|nested] 43+ messages in thread
* Re: [Xenomai-help] at91sam9263 and user-space support compile fails
@ 2008-05-16  8:15 Paradoxxa2001
  2008-05-16  8:44 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 43+ messages in thread
From: Paradoxxa2001 @ 2008-05-16  8:15 UTC (permalink / raw)
  To: xenomai

Hi,

actual i working with the CodeSourcery 2008q1 toolchain. When im building the 
user-space support it seem to work fine. Then im also compiled the kernel with this
toolchain. The Image file which i get is about 4,7MB big. My System provide just 
less then 4MB space for the Kernel Image. With my first compiler i got kernel images
with the size of 1,6MB. I also checked the Optimization Level, but that isn't the cause.
What do you think about that?

Thomas

-----Ursprüngliche Nachricht-----
Von: "Gilles Chanteperdrix" <gilles.chanteperdrix@xenomai.org>
Gesendet: 15.05.08 11:48:43
An: Paradoxxa2001@domain.hid
CC: xenomai@xenomai.org
Betreff: Re: [Xenomai-help] at91sam9263 and user-space support compile fails

On Thu, May 15, 2008 at 11:21 AM, Gilles Chanteperdrix
<gilles.chanteperdrix@xenomai.org> wrote:
> On Thu, May 15, 2008 at 10:36 AM,  <Paradoxxa2001@domain.hid> wrote:
>> It says me that the files memory.h and asm/param.h couldn't be found.
>> Im wondering why? I also tried it like the example in the README.INSTALL 2.6 Building for ARM
>> but with the same result. Do anyone know how to fix this?
>
> It looks like a toolchain issue. Are you sure your toolchain is
> properly installed ? Is there a memory.h or sys/mman.h in the
> toolchain include dir ?

I routinely compile Xenomai with the two following toolchains for ARM:
- Snapgear 2005 toolchain:
http://ftp.snapgear.org/pub/snapgear/tools/arm-linux/arm-linux-tools-20051123.tar.gz
- CodeSourcery 2007q3 toolchain (no longer available, the current
toolchain is 2008q1):
http://www.codesourcery.com/gnu_toolchains/arm/download.html

-- 
 Gilles

_______________________________________________
Xenomai-help mailing list
Xenomai-help@domain.hid
https://mail.gna.org/listinfo/xenomai-help



_______________________________________________________________________
EINE FÜR ALLE: die kostenlose WEB.DE-Plattform für Freunde und Deine
Homepage mit eigenem Namen. Jetzt starten! http://unddu.de/?kid=kid@domain.hid



^ permalink raw reply	[flat|nested] 43+ messages in thread
* Re: [Xenomai-help] at91sam9263 and user-space support compile fails
@ 2008-05-15 12:28 Paradoxxa2001
  0 siblings, 0 replies; 43+ messages in thread
From: Paradoxxa2001 @ 2008-05-15 12:28 UTC (permalink / raw)
  To: xenomai

With the CodeSourcery 2007q3 toolchain it works.
Thanks a lot!

Thomas

-----Ursprüngliche Nachricht-----
Von: "Gilles Chanteperdrix" <gilles.chanteperdrix@xenomai.org>
Gesendet: 15.05.08 11:48:43
An: Paradoxxa2001@domain.hid
CC: xenomai@xenomai.org
Betreff: Re: [Xenomai-help] at91sam9263 and user-space support compile fails

On Thu, May 15, 2008 at 11:21 AM, Gilles Chanteperdrix
<gilles.chanteperdrix@xenomai.org> wrote:
> On Thu, May 15, 2008 at 10:36 AM,  <Paradoxxa2001@domain.hid> wrote:
>> It says me that the files memory.h and asm/param.h couldn't be found.
>> Im wondering why? I also tried it like the example in the README.INSTALL 2.6 Building for ARM
>> but with the same result. Do anyone know how to fix this?
>
> It looks like a toolchain issue. Are you sure your toolchain is
> properly installed ? Is there a memory.h or sys/mman.h in the
> toolchain include dir ?

I routinely compile Xenomai with the two following toolchains for ARM:
- Snapgear 2005 toolchain:
http://ftp.snapgear.org/pub/snapgear/tools/arm-linux/arm-linux-tools-20051123.tar.gz
- CodeSourcery 2007q3 toolchain (no longer available, the current
toolchain is 2008q1):
http://www.codesourcery.com/gnu_toolchains/arm/download.html

-- 
 Gilles

_______________________________________________
Xenomai-help mailing list
Xenomai-help@domain.hid
https://mail.gna.org/listinfo/xenomai-help



_________________________________________________________________________
In 5 Schritten zur eigenen Homepage. Jetzt Domain sichern und gestalten! 
Nur 3,99 EUR/Monat! http://www.maildomain.web.de/?mc=021114



^ permalink raw reply	[flat|nested] 43+ messages in thread
* [Xenomai-help] at91sam9263 and user-space support compile fails
@ 2008-05-15  8:36 Paradoxxa2001
  2008-05-15  9:21 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 43+ messages in thread
From: Paradoxxa2001 @ 2008-05-15  8:36 UTC (permalink / raw)
  To: xenomai

Hello,

im trying to compile the user-space with following instructions:

cd xenobuild
../xenomai-2.4.3/configure --build=i686-pc-linux-gnu --host=arm-elf --enable-arm-mach=at91sam926x
make

Here is the output that make generate:
_____________________________________________________________________________
Making all in src
make[1]: Entering directory `/home/paradoxxa/xenobuild/src'
Making all in include
make[2]: Entering directory `/home/paradoxxa/xenobuild/src/include'
make  all-am
make[3]: Entering directory `/home/paradoxxa/xenobuild/src/include'
make[3]: Für das Ziel »all-am« ist nichts zu tun.
make[3]: Leaving directory `/home/paradoxxa/xenobuild/src/include'
make[2]: Leaving directory `/home/paradoxxa/xenobuild/src/include'
Making all in rtdk
make[2]: Entering directory `/home/paradoxxa/xenobuild/src/rtdk'
/bin/sh ../../libtool --tag=CC   --mode=compile arm-elf-gcc -DHAVE_CONFIG_H -I. -I../../src/include -I../../../xenomai-2.4.3/src/rtdk  -O2 -D_GNU_SOURCE -D_REENTRANT -Wall -pipe -march=armv5 -D__XENO__ -D__IN_XENO__ -Wstrict-prototypes -I../../../xenomai-2.4.3/include    -MT librtdk_la-rt_print.lo -MD -MP -MF .deps/librtdk_la-rt_print.Tpo -c -o librtdk_la-rt_print.lo `test -f 'rt_print.c' || echo '../../../xenomai-2.4.3/src/rtdk/'`rt_print.c
 arm-elf-gcc -DHAVE_CONFIG_H -I. -I../../src/include -I../../../xenomai-2.4.3/src/rtdk -O2 -D_GNU_SOURCE -D_REENTRANT -Wall -pipe -march=armv5 -D__XENO__ -D__IN_XENO__ -Wstrict-prototypes -I../../../xenomai-2.4.3/include -MT librtdk_la-rt_print.lo -MD -MP -MF .deps/librtdk_la-rt_print.Tpo -c ../../../xenomai-2.4.3/src/rtdk/rt_print.c -o librtdk_la-rt_print.o
In file included from ../../src/include/asm/xenomai/system.h:134,
                 from ../../../xenomai-2.4.3/src/rtdk/rt_print.c:30:
../../../xenomai-2.4.3/include/nucleus/system.h:23:20: error: memory.h: No such file or directory
../../../xenomai-2.4.3/include/nucleus/system.h:25:23: error: asm/param.h: No such file or directory
In file included from ../../src/include/asm/xenomai/atomic.h:77,
                 from ../../../xenomai-2.4.3/include/nucleus/system.h:26,
                 from ../../src/include/asm/xenomai/system.h:134,
                 from ../../../xenomai-2.4.3/src/rtdk/rt_print.c:30:
../../src/include/asm/xenomai/syscall.h:229:22: error: sys/mman.h: No such file or directory
In file included from ../../../xenomai-2.4.3/src/rtdk/rt_print.c:30:
../../src/include/asm/xenomai/system.h:135:28: error: bits/local_lim.h: No such file or directory
../../../xenomai-2.4.3/src/rtdk/rt_print.c:68: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__buffer_lock'
../../../xenomai-2.4.3/src/rtdk/rt_print.c:69: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__buffer_key'
../../../xenomai-2.4.3/src/rtdk/rt_print.c: In function 'rt_vfprintf':
../../../xenomai-2.4.3/src/rtdk/rt_print.c:78: warning: implicit declaration of function 'pthread_getspecific'
../../../xenomai-2.4.3/src/rtdk/rt_print.c:78: error: '__buffer_key' undeclared (first use in this function)
../../../xenomai-2.4.3/src/rtdk/rt_print.c:78: error: (Each undeclared identifier is reported only once
../../../xenomai-2.4.3/src/rtdk/rt_print.c:78: error: for each function it appears in.)
../../../xenomai-2.4.3/src/rtdk/rt_print.c:78: warning: initialization makes pointer from integer without a cast
../../../xenomai-2.4.3/src/rtdk/rt_print.c:95: warning: assignment makes pointer from integer without a cast
../../../xenomai-2.4.3/src/rtdk/rt_print.c: In function 'set_buffer_name':
../../../xenomai-2.4.3/src/rtdk/rt_print.c:206: warning: implicit declaration of function 'pthread_self'
../../../xenomai-2.4.3/src/rtdk/rt_print.c: In function 'rt_print_init':
../../../xenomai-2.4.3/src/rtdk/rt_print.c:216: error: '__buffer_key' undeclared (first use in this function)
../../../xenomai-2.4.3/src/rtdk/rt_print.c:216: warning: initialization makes pointer from integer without a cast
../../../xenomai-2.4.3/src/rtdk/rt_print.c:253: warning: implicit declaration of function 'pthread_mutex_lock'
../../../xenomai-2.4.3/src/rtdk/rt_print.c:253: error: '__buffer_lock' undeclared (first use in this function)
../../../xenomai-2.4.3/src/rtdk/rt_print.c:260: warning: implicit declaration of function 'pthread_mutex_unlock'
../../../xenomai-2.4.3/src/rtdk/rt_print.c:262: warning: implicit declaration of function 'pthread_setspecific'
../../../xenomai-2.4.3/src/rtdk/rt_print.c: In function 'rt_print_cleanup':
../../../xenomai-2.4.3/src/rtdk/rt_print.c:274: error: '__buffer_key' undeclared (first use in this function)
../../../xenomai-2.4.3/src/rtdk/rt_print.c:274: warning: passing argument 1 of 'cleanup_buffer' makes pointer from integer without a cast
../../../xenomai-2.4.3/src/rtdk/rt_print.c: In function 'rt_print_buffer_name':
../../../xenomai-2.4.3/src/rtdk/rt_print.c:279: error: '__buffer_key' undeclared (first use in this function)
../../../xenomai-2.4.3/src/rtdk/rt_print.c:279: warning: initialization makes pointer from integer without a cast
../../../xenomai-2.4.3/src/rtdk/rt_print.c:290: warning: assignment makes pointer from integer without a cast
../../../xenomai-2.4.3/src/rtdk/rt_print.c: In function 'cleanup_buffer':
../../../xenomai-2.4.3/src/rtdk/rt_print.c:303: error: '__buffer_key' undeclared (first use in this function)
../../../xenomai-2.4.3/src/rtdk/rt_print.c:305: error: '__buffer_lock' undeclared (first use in this function)
../../../xenomai-2.4.3/src/rtdk/rt_print.c: In function 'printer_thread':
../../../xenomai-2.4.3/src/rtdk/rt_print.c:387: warning: implicit declaration of function 'nanosleep'
../../../xenomai-2.4.3/src/rtdk/rt_print.c:389: error: '__buffer_lock' undeclared (first use in this function)
../../../xenomai-2.4.3/src/rtdk/rt_print.c: In function '__rt_print_init':
../../../xenomai-2.4.3/src/rtdk/rt_print.c:399: error: 'pthread_t' undeclared (first use in this function)
../../../xenomai-2.4.3/src/rtdk/rt_print.c:399: error: expected ';' before 'thread'
../../../xenomai-2.4.3/src/rtdk/rt_print.c:400: error: 'pthread_attr_t' undeclared (first use in this function)
../../../xenomai-2.4.3/src/rtdk/rt_print.c:400: error: expected ';' before 'thattr'
../../../xenomai-2.4.3/src/rtdk/rt_print.c:432: warning: implicit declaration of function 'pthread_mutex_init'
../../../xenomai-2.4.3/src/rtdk/rt_print.c:432: error: '__buffer_lock' undeclared (first use in this function)
../../../xenomai-2.4.3/src/rtdk/rt_print.c:433: warning: implicit declaration of function 'pthread_key_create'
../../../xenomai-2.4.3/src/rtdk/rt_print.c:433: error: '__buffer_key' undeclared (first use in this function)
../../../xenomai-2.4.3/src/rtdk/rt_print.c:435: warning: implicit declaration of function 'pthread_attr_init'
../../../xenomai-2.4.3/src/rtdk/rt_print.c:435: error: 'thattr' undeclared (first use in this function)
../../../xenomai-2.4.3/src/rtdk/rt_print.c:436: warning: implicit declaration of function 'pthread_attr_setstacksize'
../../../xenomai-2.4.3/src/rtdk/rt_print.c:436: error: 'PTHREAD_STACK_MIN' undeclared (first use in this function)
../../../xenomai-2.4.3/src/rtdk/rt_print.c:437: warning: implicit declaration of function 'pthread_create'
../../../xenomai-2.4.3/src/rtdk/rt_print.c:437: error: 'thread' undeclared (first use in this function)
make[2]: *** [librtdk_la-rt_print.lo] Fehler 1
make[2]: Leaving directory `/home/paradoxxa/xenobuild/src/rtdk'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/paradoxxa/xenobuild/src'
make: *** [all-recursive] Fehler 1
_____________________________________________________________________________

It says me that the files memory.h and asm/param.h couldn't be found. 
Im wondering why? I also tried it like the example in the README.INSTALL 2.6 Building for ARM
but with the same result. Do anyone know how to fix this?

Regards,
Thomas





_________________________________________________________________________
In 5 Schritten zur eigenen Homepage. Jetzt Domain sichern und gestalten! 
Nur 3,99 EUR/Monat! http://www.maildomain.web.de/?mc=021114



^ permalink raw reply	[flat|nested] 43+ messages in thread

end of thread, other threads:[~2008-05-21  6:56 UTC | newest]

Thread overview: 43+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-16 12:40 [Xenomai-help] at91sam9263 and user-space support compile fails Paradoxxa2001
2008-05-16 12:42 ` Gilles Chanteperdrix
  -- strict thread matches above, loose matches on Subject: below --
2008-05-19  6:26 Paradoxxa2001
2008-05-19  9:39 ` Gilles Chanteperdrix
2008-05-19 11:20   ` paradoxxa
2008-05-19 12:06     ` Gilles Chanteperdrix
2008-05-19 12:17       ` paradoxxa
2008-05-19 12:36         ` Gilles Chanteperdrix
2008-05-19 13:04           ` paradoxxa
2008-05-19 13:30             ` Gilles Chanteperdrix
2008-05-19 14:24               ` paradoxxa
2008-05-19 14:28               ` paradoxxa
2008-05-19 14:34                 ` Gilles Chanteperdrix
2008-05-20  6:43                   ` paradoxxa
2008-05-20  6:52                     ` Gilles Chanteperdrix
2008-05-20  8:19                       ` Paradoxxa
2008-05-20  8:20                         ` Gilles Chanteperdrix
2008-05-20  8:22                           ` Gilles Chanteperdrix
2008-05-20  8:23                             ` Gilles Chanteperdrix
2008-05-20 12:43                               ` Paradoxxa
2008-05-20 15:16                                 ` Gilles Chanteperdrix
2008-05-21  6:43                                   ` Paradoxxa
2008-05-21  6:56                                     ` Gilles Chanteperdrix
2008-05-16 14:34 Paradoxxa2001
2008-05-16 15:26 ` Gilles Chanteperdrix
2008-05-16 13:53 Paradoxxa2001
2008-05-16 13:57 ` Gilles Chanteperdrix
2008-05-16 14:01 ` Gilles Chanteperdrix
2008-05-16 11:07 Paradoxxa2001
2008-05-16 12:18 ` Gilles Chanteperdrix
2008-05-16  9:34 Paradoxxa2001
2008-05-16  9:45 ` Gilles Chanteperdrix
2008-05-16  9:57   ` Gilles Chanteperdrix
2008-05-16  9:24 Paradoxxa2001
2008-05-16  9:27 ` Gilles Chanteperdrix
2008-05-16  9:10 Paradoxxa2001
2008-05-16  9:18 ` Gilles Chanteperdrix
2008-05-16  8:15 Paradoxxa2001
2008-05-16  8:44 ` Gilles Chanteperdrix
2008-05-15 12:28 Paradoxxa2001
2008-05-15  8:36 Paradoxxa2001
2008-05-15  9:21 ` Gilles Chanteperdrix
2008-05-15  9:46   ` Gilles Chanteperdrix

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.