Jump to content

NanoPi M4 V2 Won't Boot via SD (only Buster version boot)


Go to solution Solved by neoxnitro,

Recommended Posts

Posted

Hi,

 

My NanoPi M4 V2 Won't Boot via SD  ... the emmc is not installed on the board 

 

The RED light is ON but the GREEN stay OFF

I cannot reached to read correctly the data coming from the serial port debug (I tested with many bauderate, also with 1500000, same result ... a lot of weird characters)

 

Tested Versions Won't boot:

Armbian_22.08.1_Nanopim4v2_jammy_current_5.15.63.img.xz

Armbian_22.08.1_Nanopim4v2_bullseye_current_5.15.63.img.xz

Armbian_22.11.0-trunk_Nanopim4v2_sid_edge_6.0.3.img.xz

Armbian_22.11.0-trunk_Nanopim4v2_kinetic_edge_6.0.3.img.xz

 

Tested Version Boot properly:

Armbian_21.02.1_Nanopim4v2_buster_current_5.10.12.img.xz

 

I use a workbench power supply 5A ... with current limitation set to the max value

 

I tested many SD card (all are class 10)

 

What i'm doing wrong ?!

What could i verify ?

Any idea ?

 

Thanks guys ;)

Posted
  On 10/28/2022 at 10:58 AM, neoxnitro said:

a lot of weird characters

Expand  


Also on the image that is working?

Strange. You sure you have V2, not V1? Perhaps some memory configuration that is not supported with mainline boot loader? RK3399 can be booted with open source or closed source loader. We changed to open source at some point, but not on all boards. Perhaps this is the issue?

 

We have a few of those acting as a build runners - no issues whatsoever:

  Reveal hidden contents


 

Posted (edited)
  On 10/28/2022 at 5:17 PM, Igor said:

Also on the image that is working?

Expand  

 

Yes, may be is related to my USB to Serial adaptor ?!

 

  On 10/28/2022 at 5:17 PM, Igor said:

Strange. You sure you have V2, not V1? Perhaps some memory configuration that is not supported with mainline boot loader? RK3399 can be booted with open source or closed source loader. We changed to open source at some point, but not on all boards. Perhaps this is the issue?

 

Expand  

 

I verified ... it's well a V2 ... but i noticed something weird, i only have  2 Go of RAM ... and in the output you shared you have 4 Go RAM, does it possible that my boot problem came from there ?!

 

20221028-205614.jpg

 

Edited by neoxnitro
Posted
  On 10/28/2022 at 7:04 PM, neoxnitro said:

Yes, may be is related to my USB to Serial adaptor ?!

Expand  


Highly possible. Not all are capable of going higher then 115200

 

  On 10/28/2022 at 7:04 PM, neoxnitro said:

i only have  2 Go of RAM ... and in the output you shared you have 4 Go RAM, does it possible that my boot problem came from there ?!

Expand  


Like I said, unsupported memory chip in boot loader would explain those troubles. Probably it would work if you flash nonworking image with a u-boot from a working one. You can find them here: https://imola.armbian.com/apt/pool/main/l/linux-u-boot-nanopim4v2-current/

Posted
  On 10/28/2022 at 7:50 PM, Igor said:

Like I said, unsupported memory chip in boot loader would explain those troubles. Probably it would work if you flash nonworking image with a u-boot from a working one. You can find them here: https://imola.armbian.com/apt/pool/main/l/linux-u-boot-nanopim4v2-current/

Expand  

 

What is the seek and bs parameters values for the dd command to flash the .deb file into the SD card ? where can i find them ?

Posted (edited)
sudo dpkg -i linux-u-boot-current-nanopim4v2_21.02.3_arm64.deb 
(Reading database ... 81517 files and directories currently installed.)
Preparing to unpack linux-u-boot-current-nanopim4v2_21.02.3_arm64.deb ...
Unpacking linux-u-boot-nanopim4v2-current (21.02.3) over (21.02.1) ...
Setting up linux-u-boot-nanopim4v2-current (21.02.3) ...

 

I installed the package into my current system and ... boom ... the sd booted ... how does it possible, it's magic !! ... thanks dude ;)

 

Ok, i said "Yesss" too quickly ... aftet the reboot, the system booted via the micro SD, i copied the sd content to emmc (via armbian-config tool) and after that, nothing boot anymore

 

I installed again "buster" version ... but this time, i will flash bootloader of SD card via armbian-config tool ... 

 

Edited by neoxnitro
  • Solution
Posted

Hehe 😅

 

Ok, everythings works !

 

For people with same problem than mine, this is what i did

 

Thx again to Igor for his help  🤜🤛

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines