/**************************************************************************** * I.MX6 Android busybox from where * Description: * has been found in the Android BusyBox source code, under the external folder has a copy of the BusyBox * source, but no android.mk, thought should be android.mk files in other places, results * Find out It's somewhere else to put a compiled BusyBox executable file. * 2016-8-20 Shenzhen Nanshan Ping Shan village Zengjianfeng ****************************************************** *********************/First, reference documents:1how to determine two bin files is not the same file: Two bin files with different names. Do not know the content is not the same. http://zhidao.baidu.com/question/486446127.html 2. Usage of Linux md5sum (GO) http://www.cnblogs.com/chenwenbiao/archive/2012/07/10/2585507.htmlSecond, Reason: in~/myandroid/external/BusyBox Directory does not find the corresponding android.mk file, stating that BusyBox is not generated from this source code, but from other places generated, so you have to re-find BusyBox really source. Third, Cat~/myandroid/device/fsl-proprietary/test/android.mk Local_path:= $ (Call my-dir) include $ (clear_vars) Local_module:=mxc_ipudev_test local_module_tags:=Eng Local_module_path:= $ (target_out)/bin Local_module_class:=Executables Local_src_files:= bin/mxc_ipudev_test include $ (build_prebuilt) include $ (clear_vars) Local_module:=mxc_vpu_test local_module_tags:=Eng Local_module_path:= $ (target_out)/bin Local_module_class:=Executables Local_src_files:= bin/mxc_vpu_test include $ (build_prebuilt) include $ (clear_vars) Local_module:=busybox local_module_tags:=Optional Local_module_path:= $ (target_out)/bin Local_module_class:=Executables Local_src_files:= bin/BusyBox include $ (build_prebuilt) Four, check whether two BusyBox is the same busybox: [email protected]:~/myandroid/device/fsl-proprietary/test/bin$ stat busybox File: ' BusyBox'Size:1634104Blocks:3192IO Block:4096Regular file device:801h/2049D Inode:1313488Links:1Access: (0775/-rwxrwxr-x) Uid: ( +/Myzr) Gid: ( +/Myzr) Access: .- ,- - One: the:25.828600234+0800Modify: the-Geneva- One -:Ten:13.000000000+0800Change : --Geneva- Geneva -: +:27.691788786+0800Birth:-[email protected]:~/myandroid/device/fsl-proprietary/test/bin$ Stat/home/myzr/myandroid/ out/target/product/sabresd_6dq/obj/executables/busybox_intermediates/busybox File: '/home/myzr/myandroid/ out/target/product/sabresd_6dq/obj/executables/busybox_intermediates/busybox'Size:1634104Blocks:3192IO Block:4096Regular file device:801h/2049D Inode:1225352Links:1Access: (0775/-rwxrwxr-x) Uid: ( +/Myzr) Gid: ( +/Myzr) Access: .- -- - A: to:09.275109144+0800Modify: .- -- - A: to:09.255109144+0800Change : .- -- - A: to:09.255109144+0800Birth:-[email protected]:~/myandroid/device/fsl-proprietary/test/bin$ Md5sum/home/myzr/myandroid/ out/target/product/sabresd_6dq/obj/executables/busybox_intermediates/BusyBox 7acb4ae8ca9bff56200c3d8ea54926a9/home/myzr/myandroid/ out/target/product/sabresd_6dq/obj/executables/busybox_intermediates/busybox [email protected]:~/myandroid/device/fsl-proprietary/test/bin$ md5sum busybox 7acb4ae8ca9bff56200c3d8ea54926a9 busybox [email protected]:~/myandroid/device/fsl-proprietary/test/bin$
i.mx6 Android BusyBox from where to build