Jump to content

Recommended Posts

Posted

Not sure if this is the right forum, or it should be under board bringup....

I have a few Duo2 boards running with the FriendlyElec image, but my OrangePi boards all run Armbian... I do prefer Armbian :-) . Playing around a little I can get the Nanopi Neo Air image running, but not with the wired ethernet. (My boards reside on my own design with a ethernet jack, which works perfect with the FE/FA image)

I have the Armbian build environment running in a VM, and can compile my own kernel etc. ButI need a few pointers how to get the right board config in the image/kernel....

Or... Does someone already have a build setup running for the Duo2, who is willing to share it? 

 

Thanks in advance for your time..!

 

Paul

Posted

I played around a little bit with the build system and got a working config for a Duo2. I made an image, which worked fine. But... After the standard compile process my new / added files are gone...  I guess that's because the build system updates the files. Still strange that the image building went fine!

Anyway, I will make the same files again, and keep a few copies... How do I prevent this from happening again?

Once I have verified that everything works fine, I will posts the files here too. (I tried opening a thread in the board bringup forum, but I can't?)

 

Posted

This is what I see when I run dmesg:

[    9.119901] core: _opp_supported_by_regulators: OPP minuV: 1320000 maxuV: 1320000, not supported by regulator
[    9.119929] cpu cpu0: _opp_add: OPP not supported by regulators (1056000000)
[    9.120409] core: _opp_supported_by_regulators: OPP minuV: 1320000 maxuV: 1320000, not supported by regulator
[    9.120445] cpu cpu0: _opp_add: OPP not supported by regulators (1104000000)
[    9.120645] core: _opp_supported_by_regulators: OPP minuV: 1320000 maxuV: 1320000, not supported by regulator
[    9.120659] cpu cpu0: _opp_add: OPP not supported by regulators (1152000000)
[    9.120859] core: _opp_supported_by_regulators: OPP minuV: 1320000 maxuV: 1320000, not supported by regulator
[    9.120874] cpu cpu0: _opp_add: OPP not supported by regulators (1200000000)
[    9.121078] core: _opp_supported_by_regulators: OPP minuV: 1340000 maxuV: 1340000, not supported by regulator
[    9.121095] cpu cpu0: _opp_add: OPP not supported by regulators (1224000000)
[    9.121256] core: _opp_supported_by_regulators: OPP minuV: 1340000 maxuV: 1340000, not supported by regulator
[    9.121282] cpu cpu0: _opp_add: OPP not supported by regulators (1248000000)
[    9.121545] core: _opp_supported_by_regulators: OPP minuV: 1340000 maxuV: 1340000, not supported by regulator
[    9.121566] cpu cpu0: _opp_add: OPP not supported by regulators (1296000000)
[    9.121848] core: _opp_supported_by_regulators: OPP minuV: 1400000 maxuV: 1400000, not supported by regulator
[    9.121865] cpu cpu0: _opp_add: OPP not supported by regulators (1344000000)
[    9.122055] core: _opp_supported_by_regulators: OPP minuV: 1400000 maxuV: 1400000, not supported by regulator
[    9.122088] cpu cpu0: _opp_add: OPP not supported by regulators (1368000000)

I have created a .dts / .dto without these setpoints, so it looks like it is not being loaded. It is named sun8i-h3-nanopi-duo2.dto . 

The contents are: (of the .dts)

  Reveal hidden contents

 

My question is now how to ensure that the overlay is loaded? Maybe @tkaiser or @Igor can help? If there is a page somewhere describing what to do I can (most likely) figure it all out myself... :-)  I am running into a few other issues, but I think that once I understand how to work with the overlays, I will should be ok....

Posted
  On 3/25/2019 at 11:05 PM, pzw said:

I have created a .dts / .dto without these setpoints, so it looks like it is not being loaded. It is named sun8i-h3-nanopi-duo2.dto

Expand  

That is normal that your modifications are not loaded because the *.dto is not the normal filename extention : Main DT should be *.dtb and overlays are *.dtbo

 

Posted

Hi @martinayotte ;  Thanks for that hint :-) . I changed the extension and it looks like it is still not loading. Where can I find / set which dtb is being loaded at boot time?

 

This is what I have at the moment in the /boot/dtb-4.19.25-sunxi dir: 

root@nanopiduo2:/boot/dtb-4.19.25-sunxi# dtc -o sun8i-h3-nanopi-duo2.dtb sun8i-h3-nanopi-duo2.dts
sun8i-h3-nanopi-duo2.dtb: Warning (unit_address_vs_reg): Node /opp_table0/opp@120000000 has a unit name, but no reg property
sun8i-h3-nanopi-duo2.dtb: Warning (unit_address_vs_reg): Node /opp_table0/opp@240000000 has a unit name, but no reg property
sun8i-h3-nanopi-duo2.dtb: Warning (unit_address_vs_reg): Node /opp_table0/opp@480000000 has a unit name, but no reg property
sun8i-h3-nanopi-duo2.dtb: Warning (unit_address_vs_reg): Node /opp_table0/opp@648000000 has a unit name, but no reg property
sun8i-h3-nanopi-duo2.dtb: Warning (unit_address_vs_reg): Node /opp_table0/opp@816000000 has a unit name, but no reg property
sun8i-h3-nanopi-duo2.dtb: Warning (unit_address_vs_reg): Node /opp_table0/opp@960000000 has a unit name, but no reg property
sun8i-h3-nanopi-duo2.dtb: Warning (unit_address_vs_reg): Node /opp_table0/opp@1008000000 has a unit name, but no reg property
sun8i-h3-nanopi-duo2.dtb: Warning (simple_bus_reg): Node /soc/eeprom@01c14000 simple-bus unit address format error, expected "1c14000"
sun8i-h3-nanopi-duo2.dtb: Warning (simple_bus_reg): Node /soc/sound missing or empty reg/ranges property
root@nanopiduo2:/boot/dtb-4.19.25-sunxi# ls *duo2*
sun8i-h3-nanopi-duo2.dtb  sun8i-h3-nanopi-duo2.dts
root@nanopiduo2:/boot/dtb-4.19.25-sunxi# 

 

Do you have more pointers? :-) 

 

Thanks in advance!

 

Paul

Posted

@pzwI also got one of those. I haven't tried any armbian on it. I did use images for the M1+ from FriendlyElec because they were better.
Maybe the one from Armbian works.
https://www.armbian.com/nanopi-m1-plus/
It is end of support. But could be a good base to build upon.

I should pick it up again and try. I made a wifi cam with a small powerbank. But I'm not happy of the camera. Picture isn't stable.

Posted

Hi @NicoD ; Looks like a good start for sure.  I also consider a learning project for me, since I would like to learn more about how the kernel etc works, so I can make the needed overlays where needed...  But for now I need to make sure they are loading! (Pretty critical step in the process!)

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines