init.rc and init.freescale.rc files is not updating into SDCARD for MCIMX6Q-SDB Board

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

init.rc and init.freescale.rc files is not updating into SDCARD for MCIMX6Q-SDB Board

3,475件の閲覧回数
ThanarajS
Contributor III

Hi All,

     I am trying to bringup wifi in SabreLite Board,But i am not able to update the init.rc and init.freescale.rc into SDCARD.

     Can anyone tell the procedure to update those files into sd-card ?????????

Note: Same steps i did for SoloLite all files are got updated into sdcard.

Please give Solutions,,,,,,,,,,,,,,,,

Thanks.

Regards,
Thanaraj Subramani
ラベル(3)
0 件の賞賛
返信
9 返答(返信)

2,680件の閲覧回数
gary_bisson
Senior Contributor III

Hi Raj,

The init.*.rc files are located inside the init ramdisk (see /boot/uramdisk.img). Therefore you can't just modify it at runtime and expect the modification to persist after a reboot.

Instead you need to generate a new ramdisk. There are two ways to do it:

1) If you have downloaded/built the source code, modify the init.*.rc under your device folder (device/boundary/xxx) and issue the following command:

$ make bootimage

The output will be located under $OUT/boot/uramdisk.img. From there you can push this new file using adb:

$ adb push $OUT/boot/uramdisk.img /boot

Or you can use fastboot to flash the whole boot.img instead.

All of the above is explained in our Android Getting Started Guide:

https://boundarydevices.com/android-getting-started-guide/

2) If you just want to modify those files without retrieving the full source code, you can "hack" the ramdisk manually although it first solution is recommended. See our blog post about ramdisk hacking:

https://boundarydevices.com/hacking-ram-disks/

Also, please specify the Android version you are using when asking a question, the answer can depend on that version.

Regards,

Gary

0 件の賞賛
返信

2,680件の閲覧回数
ThanarajS
Contributor III

Hi Gary Bisson,

     Thanks for Reply.

    

     I am using KK4.4.3_2.0.0 android version. But i am not able to see any folder(device/boundary/) in my source code. Can you please tell me the exact path.

Regards,

Raj.

Regards,
Thanaraj Subramani
0 件の賞賛
返信

2,680件の閲覧回数
gary_bisson
Senior Contributor III

Hi Raj,

Where did you get the source code? The NXP release does not target the SabreLite, see the Release Notes. Instead you should Boundary Devices release:

https://boundarydevices.com/android-kitkat-4-4-3-ga-release-for-i-mx6-boards/

Then the init.freescale.rc will actually be under device/boundary/nitrogen6x/init.rc.

Note that we now recommend using the Marshmallow release in order to provide the best graphics support as well as improved security.

Regards,

Gary

0 件の賞賛
返信

2,680件の閲覧回数
ThanarajS
Contributor III

Hi Gary,

Thanks for your inputs. But I could see Sabre lite related info in the Android use guide and Quick User Guide.

I've successfully brought up the KitKat and Lollipop on the IMX6 solo lite board and planing for the Marshmallow also.

This is different thread bring up the same on the IMX6 sabre lite SDB. Can I have any user manual/Link on this.?

Below are my observations for above comments.

I've downloaded the source using below link,

i.MX 6 Series Software and Development Tool|NXP

IMX6_KK443_200_ANDROID_SOURCE_BSP

Now I am following Boundary Devices release procedure.Can I use this android_KK4.4.3_2.0.0-ga_core_source (IMX6_KK443_200_ANDROID_SOURCE_BSP) for C_patch ? Or No Need any c_patch for this source?.

Thanks,

Raj.

Regards,
Thanaraj Subramani
0 件の賞賛
返信

2,680件の閲覧回数
gary_bisson
Senior Contributor III

Hi Raj,

Please clarify which board you are using:

- The SABRE Lite is a i.MX6Q platform made by Boundary Devices

https://boundarydevices.com/product/sabre-lite-imx6-sbc/

- The SABRE Smart Devices board with an i.MX6SoloLite processor

I know the name can be confusing but my understanding is that you are using the latter rather than the former. In that case, please disregard all my answers and rename this thread to have "i.MX6SL SABRE Smart Device" instead of "SabreLite".

If you can't rename the thread, please close it (mark it as resolved) and create a new one with the proper board name in the title.

Regards,

Gary

0 件の賞賛
返信

2,680件の閲覧回数
ThanarajS
Contributor III

Hi Gary,

    

     This thread is related to only MCIMX6Q-SDB Board. Not related to SoloLite.

Thanks,

Raj.

Regards,
Thanaraj Subramani
0 件の賞賛
返信

2,680件の閲覧回数
gary_bisson
Senior Contributor III

Hi Raj,

Ok, so this is not the SabreLite then. Thanks for clarifying.

You should therefore look at files located under device/fsl/sabresd_6dq/init.rc (init.freescale.rc) and device/fsl/imx6/etc/init.rc (init.rc) and then issue 'make bootimage'. Then for flashing I suggest you use fastboot.

Good luck.

Regards,

Gary

0 件の賞賛
返信

2,680件の閲覧回数
ThanarajS
Contributor III

Hi Gary,

     Earlier I used platform/manifest - Git at Google and repo sync ,Everything is working fine Only the thing i am not able to update  device/fsl/sabresd_6dq/init.rc (init.frescale.rc) and device/fsl/imx6/etc/init.rc (init.rc) files into sdcard.

     Based on your inputs,I've downloaded source code using link git://github.com/boundarydevices/android-manifest.git.But now c_patch itself got failed.

     If you don't mind can you explain in brief How I can resolve this issue?.

    Thanks,

Raj.

Regards,
Thanaraj Subramani
0 件の賞賛
返信

2,680件の閲覧回数
gary_bisson
Senior Contributor III

Hi Raj,

As I said above, if you are not using a SabreLite "please disregard all my answers". I gave you instructions for SabreLite which do not apply to SABRE SDB. Since you are using SABRE SDB, please follow NXP User's Guide.

However in my last reply, I gave you some hints on how to do that on NXP platforms/release.

I won't be able to help you any more than that.

Regards,

Gary

0 件の賞賛
返信