I had a similar problem with my firmware named : down3.bin
(Beforehand, I had insert my module "io_ti.ko"
with # insmod
of course)
When I plugged my device (USB-RS232 converter, Digi International EdgeportTI1 port adapter) on my Android tablet (Samsung Galaxy Tab 2), he was unable to find his firmware in "linux android adapted directories".
So, like you, I tried to put my "down3.bin"
in:
/lib/firmware
/etc/firmware
/system/lib/modules
/system/lib/firmware
/system/etc
with :# dmesg
I still had error :
<6>[00000.00000] io_ti 1-1:1.0 : Edgeport TI 1 port adapter converter detected
<6>[00000.00000] Failed to load image "edgeport/down3.bin" err-2
<6>[00000.00000] io_ti:probe of 1-1:1.0 failed with error -5
err -2 = [ENOENT] = No such file or directory.
In fact, like you mentionned :
In <android>/system/core/init/devices.c
, there are two #define
s
that specify locations where firmware will be checked:
#define FIRMWARE_DIR1 "/etc/firmware"
#define FIRMWARE_DIR2 "/vendor/firmware"
- So you have to put your firmware in one of these directories. It
worked properly for me, hopefully.