Android JB4.2.2_1.0.0  issue:  MFG Firmware build does not compile

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Android JB4.2.2_1.0.0  issue:  MFG Firmware build does not compile

Jump to solution
1,990 Views
ujalakumar
Contributor II

Hi All,

 

Seems that the Android JB4.2.2 release has got some unresolved issues in manufacturing firmware build..   I am trying to generate "uImage"  for the manufcaturing firmware using "imx6_updater_defconfig"   . But even with the default board files included in the package, the compilation is not getting through and the below error is reported...

 

drivers/built-in.o: In function `mxc_hdmi_remove':

clkdev.c:(.text+0x1078c): undefined reference to `switch_dev_unregister'

clkdev.c:(.text+0x10798): undefined reference to `switch_dev_unregister'

drivers/built-in.o: In function `hotplug_worker':

clkdev.c:(.text+0x12608): undefined reference to `switch_set_state'

clkdev.c:(.text+0x12618): undefined reference to `switch_set_state'

clkdev.c:(.text+0x12818): undefined reference to `switch_set_state'

clkdev.c:(.text+0x12828): undefined reference to `switch_set_state'

drivers/built-in.o: In function `mxc_hdmi_probe':

clkdev.c:(.devinit.text+0x3c8): undefined reference to `switch_dev_register'

clkdev.c:(.devinit.text+0x3d4): undefined reference to `switch_dev_register'

make: *** [.tmp_vmlinux1] Error 1

 

Has anyone also experience the same or worked on its fix..    !!

 

We are working on a  custom board based on "SABRE-SDB"   and need to generte the MFG uImage for our custom board to be used with the MFG tool.  Any help and guidance in this regard will be deeply appreciated and eagerly awaited..    attached here is  the complete build log of the MFG firmware for the reference

 

warm regards

Ujala

Original Attachment has been moved to: mfgBuild_err_complete.txt.zip

0 Kudos
1 Solution
746 Views
timjaacks
Contributor III

Hi Ujala,

you have to enable CONFIG_SWITCH in your kernel configuration.

Regards,

Tim

View solution in original post

0 Kudos
2 Replies
747 Views
timjaacks
Contributor III

Hi Ujala,

you have to enable CONFIG_SWITCH in your kernel configuration.

Regards,

Tim

0 Kudos
745 Views
ujalakumar
Contributor II

Hi Tim,

Many thanks for the revert  and correct guidance.   I had already solved it by exactly enabling the same switch  in the kernel config  I mean  "CONFIG_SWITCH"..   so I am able to  build the mfg firmware and proceed further.   I have downloaded the image files into the board using mfg tool .   However, the booting is not going beyond Kernel loading..!!    I mean , it loads the entire kernel perfectly but simply stops after the last step of kernel loading and does not load Android at all...!!     I have tried my best  but still unable to solve this issue..    request your help in this regard...

pl. find attached here the log of the same for reference..

regards,

Ujala 

0 Kudos