I am trying to install a driver on a beagleboard using eclair android. There is mknod in the file system so I can build the file in the /dev directory. Is mknod availabel somewhere or where is the kernel building the /dev/.. entries?
Thanks,
Lou
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I am trying to install a driver on a beagleboard using eclair android. There is mknod in the file system so I can build the file in the /dev directory. Is mknod availabel somewhere or where is the kernel building the /dev/.. entries?
Thanks,
Lou
Not sure why you are on Eclair release, can you refer to our latest releases.
http://software-dl.ti.com/dsps/dsps_public_sw/sdo_tii/TI_Android_DevKit/02_02_00/index_FDS.html
Regards,
Khasim
Thanks for the info,
I build the kernel for TI_Android_Froyo_Devkit-V2.2 and used the filesystem rootfs_arm37x.tar.bz2and still no mknod. Any ideas?
Thanks,
Lou
IIRC the /dev entries are created by android from sysfs. What is the driver that you are trying to install?
here is the issue,
I am trying to write a driver for an ALS device. To start in this I found code for a simple memnory driver. I wanted to test and install this on the beagleboard-xm running Eclair. One way I gusess is to us mknod with insmod. The problem, no mknod. I found out about busybox,built it copied to /system/xbin and when I enter busybox at the linux prompt I get "file not found"/ can even type /system/xbin/busyboxand still get the same error. chmod to whatever same problem. To verify busybox worked I used the same build and tried it on Angstrom linux. It worked! I realize there is already a copy of bb on Angstrom so changed the name and rebuilt, still worked so I know the build of busybox is good.
I compiled "hello world" and copied to /system/xbin on Eclair, works just fine. I am quite frustrated.Maybe I dont know waht I am doing but cant understand why the file wont execute??
Thanks,
Lou
Busybox needs to be compiled as a statically-linked binary to make it work on android. I have been able to run busybox from the serial console in android. Not sure why it does not work for you.
Could you possibly email me or make available through ftp a version of busybox that works on Android?
Lou
Thanks,
Made busybox with make allyesconfig and now it seems to work,
Thanks,
Lou