Skip to content
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

DietPi Image | OrangePi Zero Plus 2 #876

Closed
Fourdee opened this Issue Apr 11, 2017 · 5 comments

Comments

Projects
None yet
2 participants
@Fourdee
Copy link
Collaborator

Fourdee commented Apr 11, 2017

Interesting:
H3 and a H5 version

@Fourdee Fourdee added this to the v149 milestone Apr 11, 2017

@Fourdee

This comment has been minimized.

Copy link
Collaborator Author

Fourdee commented Apr 16, 2017

H3:

  • Boot hangs after [13.x] g_serial, for roughly 3 minutes.
  • initial automation, subsequent reboots connection fails ifdown wlan0; ifup wlan0 required to reconnect wlan (as per nanoPi Air workaround for 3.x and dhd).
[   13.391745] g_serial gadget: Gadget Serial v2.4
[   13.406190] g_serial gadget: g_serial ready
[   13.953130] systemd-udevd[205]: starting version 215
[   14.567515] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, de                                                                 v addr: 0x48)
[   14.567789] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x48, de                                                                 v addr: 0x48)
[   14.659181] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, de                                                                 v addr: 0x77)
[   14.659269] bmp085: probe of 0-0077 failed with error -70
[   24.447575] EXT4-fs (mmcblk0p2): re-mounted. Opts: discard
[   24.825088] [rfkill]: rfkill set power 0
[   27.080207] systemd-journald[175]: Received request to flush runtime journal                                                                  from PID 1
[   46.453103] [rfkill]: rfkill set power 0
[   46.471571] [rfkill]: rfkill set power 1
[   46.490647] [rfkill]: rfkill set power 0
[   61.747244] usbcore: registered new interface driver brcmfmac
[   68.509244] dhd_open: Enter d524c800
[   68.560637] dhd_open: Exit ret=0
[   68.723165] wl_iw_set_essid: join SSID=FuzonWifi
[   69.171193] CFG80211-ERROR) wl_run_escan :  Escan set error (-16)
[   69.171228] CFG80211-ERROR) wl_run_escan : error (-16), cnt=1
[   69.171246] CFG80211-ERROR) __wl_cfg80211_scan : Scan err = (-16), busy?-16
[   69.171271] CFG80211-ERROR) wl_cfg80211_scan : scan error (-16)
[   69.802597] connect failed event=0 e->status 1 e->reason 0
[   79.280169] wlan0: no IPv6 routers present
[  231.627856] dhd_stop: Enter d524c800
[  231.644101] dhd_stop: Exit
[  231.672897] wl_iw_set_essid: WLC_DISASSOC
[  233.664756] wl_iw_set_essid: join SSID=FuzonWifi
[  233.669226] dhd_open: Enter d524c800
[  233.685896] dhd_set_scb_probe: max_scb_probe setting failed
[  233.685914] dhd_open: Exit ret=0
[  235.150988] Connectting with e8:de:27:4a:d0:66 channel (8) ssid "FuzonWifi",                                                                  len (9)

[  235.188245] wl_iw_event: Link UP with BSSID=E8:DE:00:00:D0:66
[  235.188410] wl_bss_connect_done succeeded with e8:de:27:4a:d0:66
[  235.293533] wl_bss_connect_done succeeded with e8:de:27:4a:d0:66
[  243.710128] wlan0: no IPv6 routers present
  • bmp085 = BMP085 Barometric Pressure/Temperature/Altitude Sensor?!?
  • 🈯️ Fixes slow boot: echo -e "blacklist bmp085" > /etc/modprobe.d/bmp085.conf

Fourdee added a commit that referenced this issue Apr 16, 2017

@Fourdee

This comment has been minimized.

Copy link
Collaborator Author

Fourdee commented Apr 17, 2017

OPi Zero 2 Plus (H3)

EMMC:
image

Install DietPi on the eMMC (you must have DietPi up and running on a SDcard prior to this):

#7Zip prereqs
apt-get install -y p7zip

wget 'http://dietpi.com/downloads/images/DietPi_OrangePiZero2PlusH3-armv7-(Jessie).7z' -O image.7z
p7zip -d image.7z

#Optional: Mount image to set WiFi creds in dietpi.txt
modprobe loop
losetup -f
losetup /dev/loop2 'DietPi_v'*'.img'
partprobe /dev/loop2

# - Mount loopback
mkdir -p /mnt/loop2p1
mount /dev/loop2p1 /mnt/loop2p1

# - enable WiFi and set creds
nano /mnt/loop2p1/dietpi.txt

sync
umount /mnt/loop2p1
losetup -d /dev/loop2

#Write to EMMC
# - Following assumes you have no other files in this directory with name 'DietPi_v*.img' 
#   (other than the one we downloaded above)
dd if="$(ls | grep -m1 'DietPi_v'*'.img')" of=/dev/mmcblk1

#Power off, unplug SD card, power on.

@Fourdee Fourdee self-assigned this Apr 17, 2017

@Fourdee

This comment has been minimized.

Copy link
Collaborator Author

Fourdee commented Apr 26, 2017

H5:


Install DietPi on the eMMC (you must have DietPi up and running on a SDcard prior to this):

#7Zip prereqs
apt-get install -y p7zip

wget 'http://dietpi.com/downloads/images/DietPi_OrangePiZero2PlusH5-arm64-(Jessie).7z' -O image.7z
p7zip -d image.7z

#Optional: Mount image to set WiFi creds in dietpi.txt
modprobe loop
losetup -f
losetup /dev/loop2 'DietPi_v'*'.img'
partprobe /dev/loop2

# - Mount loopback
mkdir -p /mnt/loop2p1
mount /dev/loop2p1 /mnt/loop2p1

# - enable WiFi and set creds
nano /mnt/loop2p1/dietpi.txt

sync
umount /mnt/loop2p1
losetup -d /dev/loop2

#Write to EMMC
# - Following assumes you have no other files in this directory with name 'DietPi_v*.img' 
#   (other than the one we downloaded above)
dd if="$(ls | grep -m1 'DietPi_v'*'.img')" of=/dev/mmcblk2

#Power off, unplug SD card, power on.

  • armbian/build#660
  • No WiFi hardware found, in dmesg, brcm* modules are loaded.
  • poweroff results in reboot with prompt to press any key to abort boot (continues boot regardless of key presses).

03/05/17 rebuild = same as above.


Dev branch kernel/image, put packages on hold:

apt-mark hold linux-dtb-dev-sun50iw2 linux-image-dev-sun50iw2 linux-jessie-root-dev-orangepizeroplus2-h5 linux-libc-dev  linux-u-boot-orangepizeroplus2-h5-dev
  • 🈺 Long delay during boot (around 10-20s)
  • 🈴 Poweroff results in a reboot (kernel bug)

@Fourdee Fourdee modified the milestones: v149, v150 Apr 28, 2017

@Fourdee Fourdee referenced this issue Apr 28, 2017

Merged

v149 #904

Fourdee added a commit that referenced this issue Apr 28, 2017

Merge pull request #904 from Fourdee/testing
**v149**
(28/04/17)

**New Device / Images:**
OrangePi Zero Plus 2 (H3) | #876 (comment)
OrangePi Win | #875 (comment)
OrangePi Prime | #874 (comment)

**Changes / Improvements / Optimizations:**

DietPi-Config | Display Rotation: New options for RPi HDMI output and Touchscreen devices. DietPi also calculates FB X/Y flip automatically, if required to utilize full screen under 90/270 rotations. Many thanks to @midwan for RPi touch screen testing: #859

DietPi-Config | Hostname change: Now prompts for immediate reboot. This is to avoid potential issues with software installations and non-updated hostname on system. Many thanks to @9H5G for the suggestion: #880

DietPi-Config | Audio > Sound Card: Updated hifiberry-dac to include HiFiBerry MiniAMP, many thanks to ta11 for the info: https://twitter.com/ta11/status/852599202186227712

DietPi-Config | Swapfile: Added ability to select Auto size (1GB - total RAM = size). Auto is now the default. Mainly to prevent out of memory errors on recent influx of 256MB boards.

DietPi-Obtain_Hw_Model | Optimized/reduced count of total HW_ARCH (from 21 to 10). Will improve performance in DietPi-Software due to reduced array size.

DietPi-RAMlog | PiHole: PiHole FTL log file is now excluded from 1 hour clear (preserves current day logs): #868

DietPi-Software | Amiberry SDL2: Now available for installation. SDL2 Amiberry is currently in dev/testing. can be enabled with dietpi-autostart and selecting SDL2 option. Roughly 2x FPS increase over SDL1: #850

DietPi-Software | VirtualHere: Now available for installation. Allows you to access psychically attached USB devices, over the network: http://dietpi.com/phpbb/viewtopic.php?f=8&t=5&p=6709#p6709

DietPi-Software | SABnzbd: Now available for installation. NZB download manager with web interface: http://dietpi.com/phpbb/viewtopic.php?f=8&t=5&p=6747#p6747

DietPi-Software | Spotify Connect Web: Now available for installation. Web interface, client and player for Spotify Premium: http://dietpi.com/phpbb/viewtopic.php?f=8&t=5&p=7013#p7013

DietPi-Software | SDL2: Now available for installation in additional linux software (RPi only).

DietPi-Software | FFmpeg: (RPi devices) now installs our binaries built with OpenMAX HW encoding enabled: #869

DietPi-Software | AmiBerry: Renamed all references of uae4arm to AmiBerry: #850

DietPi-Software | NAA Daemon: Updated to latest version (3.5.1-35). Many thanks to volpone for the heads up: http://dietpi.com/phpbb/viewtopic.php?f=11&t=1832

General | DietPi RPi Kernel: Now supports 384KHz audio output. Tested with Allo BOSS DAC and JustBoom-DAC: #900 (comment)

General | ARMbian built images: Console boot verbosity increase.

General | DietPi user: Now created for testing "dietpi". We are aiming to phase out root with our DietPi user in the future, currently, this account is for testing/debugging only. Default password is "dietpi" if "AUTO_Global_Password=" is unchanged in dietpi.txt: #796

General | RPi Jessie: Image updated to latest

General | AmiBerry: Image updated to latest

**Bug fixes:**

DietPi-Process_Tool | Emby server: Now supported.

DietPi-CPU_Info | Now supports devices used in a freezer (- values) :D. Thanks to Gordon for reporting and testing this: http://dietpi.com/phpbb/viewtopic.php?f=11&t=1677&p=6800#p6790

DietPi-Software | Amiberry SDL1: NUM/CAPS LEDs are now fully functional: #760 (comment)

@Fourdee Fourdee modified the milestones: v151, v150 May 13, 2017

@Fourdee

This comment has been minimized.

Copy link
Collaborator Author

Fourdee commented May 27, 2017

Completed.

@Fourdee Fourdee closed this May 27, 2017

@Fourdee Fourdee referenced this issue Jun 1, 2017

Merged

v151 #989

Fourdee added a commit that referenced this issue Jun 1, 2017

Merge pull request #989 from Fourdee/testing
**v151**
(01/06/17)

---

**Images:**
OPi Zero Plus 2 (H5): Image now available: #876

---

**Changes / Improvements / Optimizations:**

RPi 3 USB Boot | Now supported with our updated v150 image. USB boot loader bit must be enabled on the device (see DietPi-Config | Advanced Options > USB Boot), prior to functional USB boot: #970 (comment)

General | NTP wait increased to 30 seconds (from 20): #954
DietPi-Config | Advanced Options > USB Boot | Added for RPi 3 only. Enables the device to boot from USB mass storage devices: #983 (comment)

DietPi-Config | Display Options > LED Control: New feature. Allows you to set trigger types for all LEDs on system (eg: off/heartbeat). Automatically applied during boot: #968

DietPi-Config | Tools > Filesystem benchmarks | Added ability to use a custom location, by selecting from a list of active mounts on system. This also includes CIFS/SAMBA mounts etc.

DietPi-Drive_Manager | Support for PARTUUID fstab entries/mounts: #970

DietPi-Software | Koel: Now available for installation. Web interface audio streamer. Many thanks to @sootstone for the install notes! #797

DietPi-Software | Remot3.it (formally Weaved): Updated to latest version (1.3-07v) to allow support for Remot3.it. Existing installations will need to uninstall/reinstall to upgrade. Available binaries now limited to ARMv6/7 (eg: RPi): #978

DietPi-Software | ReadyMedia (formally MiniDLNA): Updated all references to software names: #979

DietPi-Software | Shairport-sync: Re-compiled to include MetaData by default: #962

DietPi-Software | NextCloud: Updated to latest version (12.0.0), existing installations will need to uninstall/reinstall to update: #974

DietPi-Software | sabnzbd: Updated to latest version (2.0.1), existing installations will need to uninstall/reinstall to update: #865 (comment)

---

**Bug fixes:**

General | Resolved a critial issue with VM images, due to DietPi-Drive_Manager functions exiting, prior to providing valid exit code, rendering most DietPi scripts unavailable. Many thanks to @sosher and @powerzumsel for reporting this: #960

DietPi-Config | Disabling CPU freq limits, will now re-apply the highest clock before-hand.

DietPi-Config | XU4 4.9: CPU freq limits for 2GHz cores now available: #926

DietPi-Drive_Manager | Resolved RootFS detection on script launch, with RPi. Due to /dev/root reported mount source, as appossed to /dev/mmcblk0p2: #959

DietPi-Software | Shairport-sync: Resolved issues with config file having no effect. Location updated to /usr/local/etc/shairport-sync.conf: #962 (comment)
@Yury-MonZon

This comment has been minimized.

Copy link

Yury-MonZon commented Oct 1, 2017

No Wi-Fi for the H5 board?
So we better buy H3 for DietPi then? Or it could be fixed in the near future? Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.