[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bluetooth-dev] Kernel Compilation for Axis Devboard_LX

Hi, I'm trying to compile the Bluetooth stack as part of the kernel for 
the Axis Devboard LX. These are the steps I followed as stated in a 
previous thread.

* Put the include/linux/bluetooth and
  drivers/char/bluetooth directories into the same
  locations in your kernel tree.
* Add 'source drivers/char/bluetooth/Config.in' to
  the end of drivers/char/Config.in (after the endmenu).
* Add the following to drivers/char/Makefile at some
  appropriate place:
    subdir-$(CONFIG_BLUETOOTH) += bluetooth
    obj-$(CONFIG_BLUETOOTH) += bluetooth/bt.o
* Add the following to the end of tty_init() in
  (you may need to use bt_init_module() instead of bt_init()).
* Reconfigure the kernel (e.g., make menuconfig), and
  configure Bluetooth from the new menu alternative.
* Rebuild the kernel.

I seem to be able to run make kernel, make install, and make images 
successfully, but when I download it to the board with ktest, it seems 
to crash.  I did a sermon on the serial port to check the activity as it 
is being downloaded.  This is what I get the following.  Can someone 
help me figure out why this happens?  Thanks.

Checksum of file is 0x0F13EE88
Linux version 2.4.5 (root@xxxxxxx.96 20000427 
(experimental)) #15 Mon Jul 9 11:56:38 JST 2001
ROM fs in RAM, size 1171456 bytes
Setting up paging and the MMU.
On node 0 totalpages: 1024
zone(0): 1024 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Linux/CRIS port on ETRAX 100LX (c) 2001 Axis Communications AB
Kernel command line:
ds1302: RTC found.
ds1302: SDA, SCL, RST on PB0, PB1, PB2
rtc_time    : 00:00:80
rtc_date    : 2000-01-01
rtc: sec 0x80 min 0x0 hour 0x0 day 0x1 mon 0x1 year 0x0
Calibrating delay loop... 33.28 BogoMIPS
Memory: 5672k/8192k available (894k kernel code, 2520k reserved, 49k 
data, 24k init)
kmem_create: Forcing size word alignment - vm_area_struct
kmem_create: Forcing size word alignment - filp
Dentry-cache hash table entries: 1024 (order: 0, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 8192 bytes)
kmem_create: Forcing size word alignment - inode_cache
kmem_create: Forcing size word alignment - bdev_cache
kmem_create: Forcing size word alignment - cdev_cache
Buffer-cache hash table entries: 2048 (order: 0, 8192 bytes)
Page-cache hash table entries: 2048 (order: 0, 8192 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
kmem_create: Forcing size word alignment - sock
Starting kswapd v1.8
kmem_create: Forcing size word alignment - file lock cache
early initialization of device eth0 is deferred
ETRAX 100LX serial-driver $Revision: 1.13 $, (c) 2000 Axis Communications AB
ttyS0 at 0xb0000060 is a builtin UART with DMA
ttyS1 at 0xb0000068 is a builtin UART with DMA
ttyS2 at 0xb0000070 is a builtin UART with DMA
ttyS3 at 0xb0000078 is a builtin UART with DMA
Axis flash mapping: 8000000 at 50000000
Axis flash: Found 1 x16 CFI device at 0x0 in 16 bit mode
 Amd/Fujitsu Extended Query Table v1.0 at 0x0040
Axis flash: JEDEC Device ID is 0xC4. Assuming broken CFI table.
Axis flash: Swapping erase regions for broken CFI table.
number of CFI chips: 1
 Found valid partition table at 0x5001000A-0x50010056.
  /dev/flash1 at 0x10000, size 0x1a0000
  /dev/flash2 at 0x1b0000, size 0x50000
I2C driver v2.2, (c) 1999-2001 Axis Communications AB
EEPROM char device v0.3, (c) 2000 Axis Communications AB
eeprom: Assuming i2c compatible 2kB eeprom.
ETRAX 100LX GPIO driver v2.1, (c) 2001 Axis Communications AB
Bluetooth Driver v1.3, Copyright (c) 2000, 2001 Axis Communications AB
BT SYS: Bluetooth driver registered in ttyBT
BT SYS: Bluetooth line discipline registered.
BT (driver) Initiating bt ctrl structBT SYS: Registering BT proc files
BT SYS: Bluetooth Driver Using ttyBT[0-6] (data), ttyBTC (ctrl [7])
BT SYS: Using BT Inbuffers [4000]
kmem_create: Forcing size word alignment - blkdev_requests
block: queued sectors max/low 3626kB/1208kB, 64 slots per queue
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
ETRAX 100LX 10/100MBit ethernet v2.0 (c) 2000-2001 Axis Communications AB
eth0 initialized
eth0: changed MAC to 00:40:8C:CD:00:00
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
kmem_create: Forcing size word alignment - ip_dst_cache
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP: Hash tables configured (established 1024 bind 1024)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (cramfs filesystem) readonly.
Freeing unused kernel memory: 24k freed
init: starting up.
Mounting proc on /proc
Mounting /dev/flash2 on /mnt/flash
mount: Mounting /dev/flash2 on /mnt/flash failed: No such device
[ jffs FAILED ]
Cannot find /etc/release
[ issue FAILED ]
Mounting tmpfs on /var
Initializing /var
/usr/rc.d/S35network: cannot create /etc/network/mac.conf: directory 
.: Can't open /etc/network/network.conf
[ network FAILED ]
.: Can't open /etc/network/network.conf
[ dhclient FAILED ]
open() of inittab: No such file or directoryKernel panic: Attempted to 
kill init

Johnson Bao

To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com