S32G2 bsp 43.0 eMMC boot

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

S32G2 bsp 43.0 eMMC boot

Jump to solution
1,187 Views
chansookang
Contributor III

Hello, i tried yocto linux bsp 43.0 build and get these images 

chansookang_0-1752624073467.png

i successfully boot by using SD card but i want to boot in eMMC.

By using flashtool, i want to know which image file i should use and how to write image on emmc. (my board is S32G274ardb2 rev2.1)

chansookang_0-1752624429927.png

 

i tried this but i dont have that fip.s32 file

Tags (1)
0 Kudos
Reply
1 Solution
1,142 Views
chenyin_h
NXP Employee
NXP Employee

Hello, @chansookang 

Thanks for your reply.

From my experience, I suggest directly following the method 2 for flashing your eMMC, I understand that you have done it.

For using Flash tool, it is a little complicated. Firstly, change the default bl2_w_dtb.s32-sdcard, derived only the data from 0x1000 to the end and save it,  say derived.bl2_w_dtb.s32-sdcard.

Then use the flash tool to flash the newly generated image with the offset 0x1000 to have a try.

 

BR

Chenyin

 

 

View solution in original post

0 Kudos
Reply
5 Replies
1,171 Views
chenyin_h
NXP Employee
NXP Employee

Hello, @chansookang 

Thanks for your post.

From BSP43, the original fip.s32 is divided into two images, one is the  bl2_w_dtb.s32, the other one is the  fip.bin.

I suggest referencing the method 2 in chapter 4.1.3 of BSP43.0 UM for details of updating the images for eMMC.

 

BR

Chenyin

0 Kudos
Reply
1,165 Views
chansookang
Contributor III

Hello thanks for your reply

i already tried by looking at 4.1.3 method 2, successfully write in eMMC from SD card 

but i want to setup by using flash tool. 

i wrote bl2_w_dtb.s32 at 0x0 and fip.bin at 0x80000/0x40000  with flash tool but error message occurs below

NOTICE: Reset status: Power-On Reset
PANIC at PC : 0x000000000000003fition table

Tags (1)
0 Kudos
Reply
1,143 Views
chenyin_h
NXP Employee
NXP Employee

Hello, @chansookang 

Thanks for your reply.

From my experience, I suggest directly following the method 2 for flashing your eMMC, I understand that you have done it.

For using Flash tool, it is a little complicated. Firstly, change the default bl2_w_dtb.s32-sdcard, derived only the data from 0x1000 to the end and save it,  say derived.bl2_w_dtb.s32-sdcard.

Then use the flash tool to flash the newly generated image with the offset 0x1000 to have a try.

 

BR

Chenyin

 

 

0 Kudos
Reply
726 Views
A_VIJAYA7
Contributor III

Hi Chenyin,
We are planning to proceed with Method 1, which involves eMMC flashing without using QuadSPI.
Could you please share the documentation or guidance on how NXP validated this method?

Regards,
Vijaya

0 Kudos
Reply
1,060 Views
chansookang
Contributor III
Thank you !
0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2134484%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32G2%20bsp%2043.0%20eMMC%20boot%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2134484%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%20i%20tried%20yocto%20linux%20bsp%2043.0%20build%20and%20get%20these%20images%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22chansookang_0-1752624073467.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22chansookang_0-1752624073467.png%22%20style%3D%22width%3A%20250px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F347727i1E8A6929BD87BA13%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22chansookang_0-1752624073467.png%22%20alt%3D%22chansookang_0-1752624073467.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3Ei%20successfully%20boot%20by%20using%20SD%20card%20but%20i%20want%20to%20boot%20in%20eMMC.%3C%2FP%3E%3CP%3EBy%20using%20flashtool%2C%20i%20want%20to%20know%20which%20image%20file%20i%20should%20use%20and%20how%20to%20write%20image%20on%20emmc.%20(my%20board%20is%20S32G274ardb2%20rev2.1)%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22chansookang_0-1752624429927.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22chansookang_0-1752624429927.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F347728i64193393263F3961%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22chansookang_0-1752624429927.png%22%20alt%3D%22chansookang_0-1752624429927.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3Ei%20tried%20this%20but%20i%20dont%20have%20that%20fip.s32%20file%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2172044%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32G2%20bsp%2043.0%20eMMC%20boot%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2172044%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Chenyin%2C%3CBR%20%2F%3EWe%20are%20planning%20to%20proceed%20with%20Method%201%2C%20which%20involves%20eMMC%20flashing%20without%20using%20QuadSPI.%3CBR%20%2F%3ECould%20you%20please%20share%20the%20documentation%20or%20guidance%20on%20how%20NXP%20validated%20this%20method%3F%3CBR%20%2F%3E%3CBR%20%2F%3ERegards%2C%3CBR%20%2F%3EVijaya%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2138007%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32G2%20bsp%2043.0%20eMMC%20boot%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2138007%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EThank%20you%20!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2135368%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32G2%20bsp%2043.0%20eMMC%20boot%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2135368%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F246663%22%20target%3D%22_blank%22%3E%40chansookang%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%20for%20your%20reply.%3C%2FP%3E%0A%3CP%3EFrom%20my%20experience%2C%20I%20suggest%20directly%20following%20the%20method%202%20for%20flashing%20your%20eMMC%2C%20I%20understand%20that%20you%20have%20done%20it.%3C%2FP%3E%0A%3CP%3EFor%20using%20Flash%20tool%2C%20it%20is%20a%20little%20complicated.%20Firstly%2C%20change%20the%20default%26nbsp%3B%3CSPAN%3Ebl2_w_dtb.s32-sdcard%2C%20derived%20only%20the%20data%20from%200x1000%20to%20the%20end%20and%20save%20it%2C%26nbsp%3B%20say%20derived.%3CSPAN%3Ebl2_w_dtb.s32-sdcard.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3CSPAN%3EThen%20use%20the%20flash%20tool%20to%20flash%20the%20newly%20generated%20image%20with%20the%20offset%200x1000%20to%20have%20a%20try.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CSPAN%3E%3CSPAN%3EBR%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3CSPAN%3EChenyin%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2134737%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32G2%20bsp%2043.0%20eMMC%20boot%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2134737%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20thanks%20for%20your%20reply%3C%2FP%3E%3CP%3Ei%20already%20tried%20by%20looking%20at%204.1.3%20method%202%2C%20successfully%20write%20in%20eMMC%20from%20SD%20card%26nbsp%3B%3C%2FP%3E%3CP%3Ebut%20i%20want%20to%20setup%20by%20using%20flash%20tool.%26nbsp%3B%3C%2FP%3E%3CP%3Ei%20wrote%26nbsp%3B%3CSPAN%3Ebl2_w_dtb.s32%20at%200x0%20and%20fip.bin%20at%200x80000%2F0x40000%26nbsp%3B%20with%20flash%20tool%20but%20error%20message%20occurs%20below%3C%2FSPAN%3E%3C%2FP%3E%3CP%3ENOTICE%3A%20Reset%20status%3A%20Power-On%20Reset%3CBR%20%2F%3EPANIC%20at%20PC%20%3A%200x000000000000003fition%20table%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2134695%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32G2%20bsp%2043.0%20eMMC%20boot%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2134695%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F246663%22%20target%3D%22_blank%22%3E%40chansookang%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%20for%20your%20post.%3C%2FP%3E%0A%3CP%3EFrom%20BSP43%2C%20the%20original%20fip.s32%20is%20divided%20into%20two%20images%2C%20one%20is%20the%26nbsp%3B%20%3CSPAN%20class%3D%22fontstyle0%22%3Ebl2_w_dtb.s32%2C%20the%20other%20one%20is%20the%26nbsp%3B%20fip.bin.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22fontstyle0%22%3EI%20suggest%20referencing%20the%20method%202%20in%20chapter%204.1.3%20of%20BSP43.0%20UM%20for%20details%20of%20updating%20the%20images%20for%20eMMC.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CSPAN%20class%3D%22fontstyle0%22%3EBR%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22fontstyle0%22%3EChenyin%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E