-
-
Notifications
You must be signed in to change notification settings - Fork 504
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NanoPi M3/Fire3 | NanoPC T3 | ZeroPi | Debian Buster images #3221
Comments
ZeroPi hardware identifier added for v6.27: bd0aa9b dietpi.com download page for M3/T3/Fire3 links to this issue now: https://dietpi.com/#download |
Could one of you guys with ZeroPi paste Added hardware ID to DietPi-PREP: 3a6a060 |
root@DietPiZeroPi:~# cat /proc/cpuinfo processor : 0 processor : 1 processor : 2 processor : 3 Hardware : Allwinner sun8i Family |
@StephanStS |
Hello Micha,
I am investigating a strange issue.
I tried to install OMV5 on the DietPi buster image on a NanoPi Fire3 (has no WIFI).
After installing it manually (via shell) I did not see any DNS entries in /etc/resolv.conf and also there was no DNS server shown in the network settings part of dietpi-config.
As a result, apt update failed. Also a „ping www.google.de <http://www.google.de> “ failed, so there seems to be no running DNS resolution.
I then installed OMV5 on an Armbian buster image (same manual procedure like above) and then I see two nameservers (one IPv4 and one IPv6):
nameserver 192.168.178.2
nameserver fd00::1315:e5fc:9b36:3ad0
search fritz.box
This is what I expected.
I then looked at the basic image install status of a DietPi NanoPi ZeroPi:
root@DietPiZeroPi:~# cat /etc/resolv.conf
nameserver 1.0.0.1
nameserver 192.168.178.2
search fritz.box
Additionally a DietPi NanoPi M3 image shows:
nameserver 192.168.178.2
search fritz.box
The situation at my home is a fritz box with a pi-hole running as the DNS server on 192.168.178.2 (and fd00::1315:e5fc:9b36:3ad0).
The 1.0.0.1 is a Cloudflare DNS server which is used by the pi-hole if its internal DNS resolution cache fails.
So, the DNS or DHCP seems to have some problems on the DietPi images.
Are there any investigations I may do? Are there any logging options where I may look at?
Whom could I contact (and afterwards possibly file an issue on GitHub)?
I could assume that there are some timeout settings in the DietPi which are too short, but I am not too familiar with the DHCP procedure in detail.
I am not able to install wireshark and record the DHCP procedure to investigate what DHCP is responding. ☹
Regards
Stephan
|
@StephanStS However what you need to check is: The main network adapter needs to have an interface assigned there, in case of DHCP on Ethernet this should then look like this:
With this, there is an You can check the service status and that the dhclient is up:
Common issues due to 3rd party installers are:
|
Adjusted milestone to keep track of those images through next development cycle as well and, if no urgent errors are reported, move them into stable place. |
ZeroPi image worked great - thanks! Benchmark:
cat /proc/cpuinfo
|
Regarding the resolv.conf issue mentioned above (from 12th of november) I found out: In the good case the resolv.conf symbolic link was:
In the bad case (after the OMV5 installation) the resolv.conf symbolic link was:
Also in the bad case the output of "systemctl status ifup@eth0" gave amongst others:
After changing the symbolic link back to /etc/resolvconf/run/resolv.conf the system ran o.k., but further installation problems occured. Yesterday (a couple of days later) I tested the OMV5 installation again on a fresh dietpi image and it ran without errors, the nameserver resolution showed the correct entries. The symbolic link was changed to /run/systemd/resolve/resolv.conf, but the resolv.conf contents was now correct:
I actually do not know whether this changed behaviour has its cause in a changed OMV 5 installation process, I am not aware that I did any changed to the steps of the OMV 5 installation. The system is now running fine, this issue I 'define' as closed for now. |
This was and is the reason why we dropped OMV from software options. It really changes the very basic system setup which breaks our scripts and existing setup. One really has to take it as an own OS and use either OMV or DietPi. Merging both requires the mentioned tinkering, and using OMV UI and dietpi-config/dietpi-software will go on conflicting each other. To explain what it does: |
ZeroPi image works great, may thanks This is cat /proc/cpuinfo processor : 0 processor : 1 processor : 2 processor : 3 Hardware : Allwinner sun8i Family |
@it-esco |
zeropi images hangs on MPD usb audio card playback, not sure why |
@epicfrequency |
Hi Michalng In addtion, I tried buildroot Zeropi image built accoring to this one https://github.com/bz31/Buildroot, works fine as well, that rules out the Zeropi itself. That's why I am guessing something wrong with the Dietpi ZeroPi image:) ~ |
@epicfrequency The (quite interesting) Buildroot image contains some kernel/dt patch for ZeroPi: https://github.com/bz31/Buildroot/blob/master/board/zeropi/patches/uboot/add-zeropi.patch As well Buildroot kernel config: https://github.com/bz31/Buildroot/blob/master/linux-configs/zeropi_linux-4.19.x_usb-audio.config ARMbian kernel config: https://github.com/armbian/build/blob/master/config/kernel/linux-sunxi-current.config (not it's Linux 5.3 vs 4.19 on Buildroot) |
ZeroPi's are detected during DietPi v6.27 pre-patches to have new hardware ID applied, based on which correct further patches, reinstalls etc can be done, and banner will show the device correctly then as well of course: 43387b5 |
Looking at dmseg, here shows the error . now sure what is the cause. |
@epicfrequency Could you try to upgrade the firmware packages: |
Tired, no package is updated, even tried on 5.4.6 kernel. same as before. |
@epicfrequency
|
root@DietPi:~# apt-mark unhold $(apt-mark showhold) Canceled hold on linux-buster-root-next-zeropi. root@DietPi:~# apt-get upgrade And I have narrowed down the failure only happens when I play the maximum DSD512 setup(equivalent of 32bit PCM768Khz . On dietpi with Odroid C2/Tinkerboard/64bit X86 all works fine. I am guessing more of a Zeropi limitation? |
@epicfrequency Could be ZeroPi limitation but I guess kernel/driver patches could solve it. But this exceeds my knowledge. If the issue is the same with buildroot, probably it should be reported there. It could be tested with fresh ARMbian image (https://dl.armbian.com/zeropi/Buster_current_minimal) as well and if its the same then with DietPi (pretty expected), then it could be reported to ARMbian forum as well, if not already a related issue exists: https://forum.armbian.com/forum/13-allwinner-h2-h3/ |
I moved the images to stable, updated download links: https://dietpi.com/#download |
@StephanStS
Btw sorry for missing mail reply. I am currently using any free time for image updates/creation + related DietPi-PREP fine tuning and review, mostly. M4v2 is up already: #2979 |
Hallo Micha,
ich verstehe Deine Frage nicht so ganz.
Ich habe das Nanopi Fire3 Image am Laufen, das ich erstellt hatte. Screenshot via putty:
Wenn ich jetzt an den Mikro-HDMI Ausgang meinen HDMI-Monitor anschließe, kommt dort etwas heraus. Ich kann mich dann per USB-Tastatur fehlerfrei einloggen. Alles scheint zu klappen.
Unter /var/lib/dietpi/postboot.d/ liegt keine Datei.
Ich habe das mit diesem Image durchgeführt, die ich dort für Dich abgelegt hatte:
Verwendet habe ich das Image im Verzeichnis 2019-11-04\NanoPiFire3\Armbian\:
FILE: DietPi_v6.26_NanoPiFire3-ARMv8-Buster.img
DATE: Mon 04 Nov 2019 01:07:06 AM EST
MD5: 408606b5ebcad3660362a82549bd0d3d
SHA1: d83b22741be3a5c1e716df44164946fa14e3b462
SHA256: 67cfaa03a6f11bf0c66b8221f6a170d10191444c8d4fb54a0acc7f61c8aadeb1
Ich kann gerne auch ein Video vom Bootvorgang machen und Dir zusenden, oder eine Log-Datei (dazu müsstest Du mir sagen, welche Datei) zusenden. Dann kannst Du auch den Bootvorgang anschauen.
Oder soll ich etwas anderes ausprobieren?
Gruß
Stephan
Von: MichaIng <[email protected]>
Gesendet: Mittwoch, 19. Februar 2020 14:24
An: MichaIng/DietPi <[email protected]>
Cc: StephanStS <[email protected]>; Mention <[email protected]>
Betreff: Re: [MichaIng/DietPi] NanoPi M3/Fire3 | NanoPC T3 | ZeroPi | Debian Buster images (#3221)
@StephanStS <https://github.com/StephanStS>
Little question: We have a workaround on NanoPi Fire3 in place since HDMI output on TTY1 did not work on previous image. Does it still work fine when you remove it?
rm /var/lib/dietpi/postboot.d/fire3_tty2
chvt 1 # When accessing via HDMI
# And to check whether boot output and and login prompt appears still fine
reboot
* This does not affect SSH or such, only local console output and login.
* Actually the workaround could even lead to missing login prompt, since getty@tty1 is enabled but not getty@tty2 on the new image.
Btw sorry for missing mail reply. I am currently using any free time for image updates/creation + related DietPi-PREP fine tuning and review, mostly. M4v2 is up already: #2979 <#2979>
When all are done and uploaded for testing, we have a good basis to start with, regarding the topics you listed in your mail.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#3221?email_source=notifications&email_token=ANYD3XFAYOCRD4ZO6BCA4RTRDUXFTA5CNFSM4JKOFZJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMH2DMA#issuecomment-588226992> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/ANYD3XHPURESBANQPIGYBTTRDUXFTANCNFSM4JKOFZJQ> . <https://github.com/notifications/beacon/ANYD3XFUBXLFZPIZUO2Y463RDUXFTA5CNFSM4JKOFZJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMH2DMA.gif>
|
Okay dann scheint der Workaround bei dem neuen Image gar nicht mehr angewendet zu wenden, das ist gut. Um sicherzugehen, das folgende spuckt beim Fire3 nichts aus, oder?
```
dmesg | grep -i 'NanoPi Fire3'
```
|
Yep, dmesg | grep -i 'NanoPi Fire3' gibt nichts aus.
Ich will mich in den nächsten Wochen mal über folgende Buster-Varianten für NanoPi hermachen:
* M4v2: Prüfung des vorhandenen Images und Vergleich mit „meinem“ erstellten Image.
Test auch mit dem (steckbaren) eMMC: Ich habe einen µSD-Adapter für die eMMC-Module. Zudem möchte ich noch mal testen, ob ein laufendes Image einer SDCard per dd einfach auf die eMMC kopiert werden kann. Vermutlich geht das nur dann, wenn ich die eMMC unter Spannung stecken kann, denn beim Booten mit gesteckter eMMC will der NanoPi von der eMMC booten
* M1+: Prüfung des vorhandene Images und Vergleich mit „meinem“ erstellten Image
* Neo4: Prüfung des vorhandene Images und Vergleich mit „meinem“ erstellten Image.
Test auch mit dem (steckbaren) eMMC.
* Neo2: Prüfung des vorhandene Images und Vergleich mit „meinem“ erstellten Image
* Neo Plus2 v2: Erstellung des Images
Mein NanoPi Fundus beinhaltet nun folgende Module:
* ZeroPi
* Neo2
* Neo4 (incl. eMMC-Modul)
* Neo Plus2 (begrenzter Zugriff)
* Neo Plus2 v2
* M1+
* M3
* Fire3
* M4v2 (incl. eMMC-Modul)
Falls da mal was zu machen ist (z.B. Bullseye Images zum Testen), lass‘ es mich wissen.
Als nächstes interessieren mich natürlich noch der NanoPC T4, NanoPi A64, NanoPi K2, NanoPi M4B. Die habe ich mir aber noch nicht bestellt. Erstmal die Aufgaben oben erledigen… 😊
Gruß
Stephan
Von: MichaIng <[email protected]>
Gesendet: Freitag, 21. Februar 2020 19:37
An: MichaIng/DietPi <[email protected]>
Cc: StephanStS <[email protected]>; Mention <[email protected]>
Betreff: Re: [MichaIng/DietPi] NanoPi M3/Fire3 | NanoPC T3 | ZeroPi | Debian Buster images (#3221)
Lol da war ich zu sehr im Element und habe dir auf Englisch gerieben :D.Okay dann scheint der Workaround bei dem neuen Image gar nicht mehr angewendet zu wenden, das ist gut.Um sicherzugehen, das folgende spuckt beim Fire3 nichts aus, oder? dmesg | grep -i 'NanoPi Fire3'LG Micha
-------- Ursprüngliche Nachricht --------Von: StephanStS <[email protected] <mailto:[email protected]> > Datum: 21.02.20 17:48 (GMT+01:00) An: MichaIng/DietPi <[email protected] <mailto:[email protected]> > Cc: MichaIng <[email protected] <mailto:[email protected]> >, State change <[email protected] <mailto:[email protected]> > Betreff: Re: [MichaIng/DietPi] NanoPi M3/Fire3 | NanoPC T3 | ZeroPi | Debian Buster images (#3221) Hallo Micha,
ich verstehe Deine Frage nicht so ganz.
Ich habe das Nanopi Fire3 Image am Laufen, das ich erstellt hatte. Screenshot via putty:
Wenn ich jetzt an den Mikro-HDMI Ausgang meinen HDMI-Monitor anschließe, kommt dort etwas heraus. Ich kann mich dann per USB-Tastatur fehlerfrei einloggen. Alles scheint zu klappen.
Unter /var/lib/dietpi/postboot.d/ liegt keine Datei.
Ich habe das mit diesem Image durchgeführt, die ich dort für Dich abgelegt hatte:
Verwendet habe ich das Image im Verzeichnis 2019-11-04\NanoPiFire3\Armbian\:
FILE: DietPi_v6.26_NanoPiFire3-ARMv8-Buster.img
DATE: Mon 04 Nov 2019 01:07:06 AM EST
MD5: 408606b5ebcad3660362a82549bd0d3d
SHA1: d83b22741be3a5c1e716df44164946fa14e3b462
SHA256: 67cfaa03a6f11bf0c66b8221f6a170d10191444c8d4fb54a0acc7f61c8aadeb1
Ich kann gerne auch ein Video vom Bootvorgang machen und Dir zusenden, oder eine Log-Datei (dazu müsstest Du mir sagen, welche Datei) zusenden. Dann kannst Du auch den Bootvorgang anschauen.
Oder soll ich etwas anderes ausprobieren?
Gruß
Stephan
Von: MichaIng <[email protected] <mailto:[email protected]> >
Gesendet: Mittwoch, 19. Februar 2020 14:24
An: MichaIng/DietPi <[email protected] <mailto:[email protected]> >
Cc: StephanStS <[email protected] <mailto:[email protected]> >; Mention <[email protected] <mailto:[email protected]> >
Betreff: Re: [MichaIng/DietPi] NanoPi M3/Fire3 | NanoPC T3 | ZeroPi | Debian Buster images (#3221)
@StephanStS <https://github.com/StephanStS>
Little question: We have a workaround on NanoPi Fire3 in place since HDMI output on TTY1 did not work on previous image. Does it still work fine when you remove it?
rm /var/lib/dietpi/postboot.d/fire3_tty2
chvt 1 # When accessing via HDMI
# And to check whether boot output and and login prompt appears still fine
reboot
* This does not affect SSH or such, only local console output and login.
* Actually the workaround could even lead to missing login prompt, since getty@tty1 is enabled but not getty@tty2 on the new image.
Btw sorry for missing mail reply. I am currently using any free time for image updates/creation + related DietPi-PREP fine tuning and review, mostly. M4v2 is up already: #2979 <#2979>
When all are done and uploaded for testing, we have a good basis to start with, regarding the topics you listed in your mail.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#3221?email_source=notifications <#3221?email_source=notifications&email_token=ANYD3XFAYOCRD4ZO6BCA4RTRDUXFTA5CNFSM4JKOFZJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMH2DMA#issuecomment-588226992> &email_token=ANYD3XFAYOCRD4ZO6BCA4RTRDUXFTA5CNFSM4JKOFZJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMH2DMA#issuecomment-588226992> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/ANYD3XHPURESBANQPIGYBTTRDUXFTANCNFSM4JKOFZJQ> . <https://github.com/notifications/beacon/ANYD3XFUBXLFZPIZUO2Y463RDUXFTA5CNFSM4JKOFZJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMH2DMA.gif>
—You are receiving this because you modified the open/close state.Reply to this email directly, view it on GitHub, or unsubscribe.
[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "#3221?email_source=notifications\u0026email_token=AGZJJQMKHCISAJKCERW7BW3REAAXPA5CNFSM4JKOFZJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMTK2SQ#issuecomment-589737290",
"url": "#3221?email_source=notifications\u0026email_token=AGZJJQMKHCISAJKCERW7BW3REAAXPA5CNFSM4JKOFZJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMTK2SQ#issuecomment-589737290",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#3221?email_source=notifications&email_token=ANYD3XEBXOYQWHG7HTDGZBLREANORA5CNFSM4JKOFZJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMTVI3I#issuecomment-589780077> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/ANYD3XHBJ55RLHLEP5W6UB3REANORANCNFSM4JKOFZJQ> . <https://github.com/notifications/beacon/ANYD3XEOWDWLLTH3N66DOCDREANORA5CNFSM4JKOFZJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMTVI3I.gif>
|
+ DietPi-FirstBoot | Remove obsolete workaround for NanoPi Fire3: #3221 (comment) + DietPi-FirstBoot | Be case-sensitive with dietpi.txt, since "sed -n" value scraping is as well. No need and not consistent to ignore cases for dietpi.txt settings.
Thanks to @StephanStS we can offer a new set of community-created Debian Buster images. Those are based on @Armbian, so credits for the kernel, bootloader and firmware work, to have Debian running on those boards, go to them.
Besides finally running Debian Buster and Linux 4.14, a great benefit for M3/T3/Fire3 is that they run a ARMv8/aarch64 kernel + OS.
The images have been tested and are actively used by
@Stephan
and have gone through some review by us. However we offer them as "beta" for now until some more users have tested them their way. This means foryou
, if you face any issue or have any suggestions to enhance the initial boot or setup experience, please report this here, so we can do some fine tuning before shipping them as stable replacement for the current Stretch-based images.NanoPi M3 + NanoPC T3: https://dietpi.com/downloads/images/DietPi_NanoPiM3-ARMv8-Buster.7z
NanoPi Fire3: https://dietpi.com/downloads/images/DietPi_NanoPiFire3-ARMv8-Buster.7z
ZeroPi: https://dietpi.com/downloads/images/DietPi_ZeroPi-ARMv7-Buster.7z
The old stable image for M3/T3/Fire3 (Stretch + Linux 4.4 + ARMv7) is available here: REMOVED INVALID LINK
Although it has been proven to work fine, I highly recommend to go with the above updated images. Report any issue here and we'll assist quickly.
The text was updated successfully, but these errors were encountered: