how to add firmware file?

673 views
Skip to first unread message

W.P.

unread,
Aug 31, 2010, 2:09:32 PM8/31/10
to andro...@googlegroups.com
[stiil playing with Presario 700]
How do I add a firmware file (in my case rt73.bin, should be located in
/lib/firmware on "normal" Linux)
to custom Donut build?
(I have already downloaded Donut branch, changed kernel options to add
IDE support).

The DRIVER for my USB WiFi IS already built. Only thing missing is firmware.

W.P.

Bharathi Subramanian

unread,
Aug 31, 2010, 10:15:41 PM8/31/10
to andro...@googlegroups.com
> How do I add a firmware file (in my case rt73.bin, should be located in
> /lib/firmware on "normal" Linux) to custom Donut build?

You can use the "add-prebuilt-target" option from the AndroidBoard.mk
file to copy this firmware file into the target build and you can find
some example usages in the vendor/asus/eeepc/AndroidBoard.mk file.

Bye :)
--
Bharathi Subramanian

Chih-Wei Huang

unread,
Aug 31, 2010, 10:31:25 PM8/31/10
to andro...@googlegroups.com
Since eclair-x86 branch, you just need to set
two variables to tell the build system
where to find your firmwares:

LOCAL_FIRMWARES_DIR
-- the dir of your firmwares, usually your device dir
LOCAL_FIRMWARES
-- the filename of the firmwares (seperated by space)

2010/9/1 W.P. <laur...@wp.pl>:

--
Chih-Wei
Android-x86 project
http://www.android-x86.org

propsan

unread,
Sep 4, 2010, 2:30:32 PM9/4/10
to Android-x86
Hi!
Maybe someone will tell whether or how the driver to add? I have a
folder with the source code and it also has two files with extension
BIN.
For example wifi sd8686 device hct shift.

Or more simply about the Show where it is written.

Thank you

Greg McGee

unread,
Mar 6, 2013, 4:43:42 AM3/6/13
to andro...@googlegroups.com, cwh...@android-x86.org
Took me a little while to figure out all you have to do is add this to buildspec.mk in the android-x86 root, correct?

I finally have my setup building bootable isos for my x200, and I want my wifi to work...
Had no luck manually copying into a hdd install for some reason.
(system seems ro, or androids mount command is funky)

My buildspec.mk currently looks like:

TARGET_PRODUCT:=generic_x86
TARGET_BUILD_VARIANT:=eng
TARGET_BUILD_TYPE:=release
TARGET_KERNEL_CONFIG:=android-x86_defconfig
LOCAL_FIRMWARES:=iwlwifi-5000-1.ucode  iwlwifi-5000-2.ucode  iwlwifi-5000-5.ucode
LOCAL_FIRMWARES_DIR:=/lib/firmware

(I'm not sure which FW it wants, but I know one of those makes it happy)

android-x86 currently building on my x200 for the first time, will see if it will build/work using current Mageia Cauldron.

Greg McGee

unread,
Mar 8, 2013, 5:56:55 AM3/8/13
to andro...@googlegroups.com, cwh...@android-x86.org
omit the "local_firmwares_dir" in the example.

chen wade

unread,
Jan 15, 2015, 3:40:19 AM1/15/15
to andro...@googlegroups.com, cwh...@android-x86.org
I know this is story for a long time ago .... 
Please refer to device/generic/common/firmware.mk in the latest repo...

Greg McGee於 2013年3月6日星期三 UTC+8下午5時43分42秒寫道:
Reply all
Reply to author
Forward
0 new messages