make[1]: *** No rule to make target `firmware/am335x-pm-firmware.bin', needed by `firmware/am335x-pm-firmware.bin.gen.o'. Stop
Asked Answered
D

2

5

I have a Ti Sitara AM335x Starter Kit and I want to use USB 3G-Modem on it. I am following these documents:

http://processors.wiki.ti.com/index.php/Android-USB-3G-Modem-Integration & http://processors.wiki.ti.com/index.php/TI-Android-JB-4.1.2-DevKit-4.0.1_DeveloperGuide#Build_Procedure

I didn't get sources via repo. I used Pre-packaged. I can't build android linux kernel and get this error after this command

$ make ARCH=arm CROSS_COMPILE=arm-eabi- uImage

I have tried many things, including changing pm-firmware.bin to pm-firmware.bin.gen.o, Download ready kernel uImage and try to continue steps.

How could I fix this error?

Dennison answered 16/11, 2013 at 20:1 Comment(0)
C
8

Surprised no one answered this.

From here:

http://elinux.org/Building_BBB_Kernel

Do this from above your kernel source folder:

wget http://arago-project.org/git/projects/?p=am33x-cm3.git\;a=blob_plain\;f=bin/am335x-pm-firmware.bin\;hb=HEAD -O kernel/firmware/am335x-pm-firmware.bin

-J

Collusive answered 28/12, 2013 at 5:23 Comment(5)
thanks, I've also had the same problem. But isn't it strange for a file to vanish? or not exist at all since the beginning, but suddenly becomes a need :/ I was compiling my kernel just fine.. anyway this helped :-)Adamic
]> «But isn't it strange for a file to vanish? or not exist at all since the beginning» . Most likely .gitignore has a line preventing checking in such files. In my case it was am335x-pm-firmware.elf file.Tiatiana
With GCC 7.x "am335x-pm-firmware.bin" is being ignored, compiler stops with "no rule" message. I'm not sure what that firmware is for. The BBB works fine without it. Although I don't use PRU, for example.Tiatiana
am335x-pm-firmware.bin link is deadNanceynanchang
You can get it from TI here: git.ti.com/cgit/processor-firmware/ti-amx3-cm3-pm-firmware/tree/…Nanceynanchang
P
2

The file was presumably in the kernel source tree when the kernel was built, and was linked into the kernel image. That's why you don't see it in a distro filesystem.

The file is also not a part of official Linux firmwares, so you have to get it outside as described above.

If you don't want to use it for some reason, you can disable this setting in your .config file: CONFIG_EXTRA_FIRMWARE="am335x-pm-firmware.bin" -> CONFIG_EXTRA_FIRMWARE is not set

Palinode answered 4/11, 2014 at 3:25 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.