Pine64 Debian Stretch/mainline [4.14.7]
#31
fdisk the emmc to see what it actually is/reports and reseat all the partitions. The forementioned dd wouldn't have destroyed eMMC ... at least I'd think so Tongue
  Reply
#32
(02-17-2018, 06:04 AM)CallMeFoxie Wrote: fdisk the emmc to see what it actually is/reports and reseat all the partitions. The forementioned dd wouldn't have destroyed eMMC ... at least I'd think so Tongue

First thing i did, no valid partition table and only reports 31m.

Can't create any partition either, when it rereads the table it's back to invalid partition table.

Either I've got a lemon or dd messed up the CID/CSD block.
I ordered a new eMMC, as well as a male to male cable so i can try try to recover this one with rkflashtool.

Looking around for a microsd card now to use for the time being.

From what i gather i didn't even needed the SPL unless I wanted to boot USB.
Should have read the howto first Sad
  Reply
#33
(08-15-2017, 01:01 PM)CallMeFoxie Wrote: Hi

As I've created a thread earlier last week, I've got a working image for Pine64+ with complete mainline support:


Features
Kernel 4.14 branch, few extra patches (ethernet DTB revert and few others)
U-Boot 2017.09 branch, no external patches
NO boot0! Uses U-Boot SPL
Updates via normal debian packages for kernel (metapackage linux-image-pine64 keeps up2date kernels), no u-boot automated updates yet
Docker 17.09 branch or newer (installable via Debian package docker-ce) with Overlay2 full support
Debian Stretch with Systemd
Boot log: https://github.com/CallMeFoxie/pine64-ma...ootlog.txt

Tested on 2GB Pine64+, should work on 1GB version as well, unsure about 512MB version. Definitely would need to swap DTBs around.

Docker and Kernel are hosted on my repo (https://repo.foxiehost.eu/debian stretch main) and its key is imported to the image.
Boots via U-Boot through extlinux.conf -> ext2 partition with vmlinuz-* + fdt file -> ext4 rootfs (default 4GB, can be resized).
Kernel updates trigger extlinux.conf generator, normal kernel rules apply (keep last 2 and mark the other for removal etc).


Downloads:
[b]Base build 2017-10-15
[/b]https://repo.foxiehost.eu/pine-image/pin...015.img.xz

Kernel 4.13.6/U-Boot 2017.09


Base build 2017-08-15
https://repo.foxiehost.eu/pine-image/pin...815.img.xz
Kernel 4.13.0-rc5/U-Boot 2017.09-rc2






Source configs and scripts to build the images:
https://github.com/CallMeFoxie/pine64-mainline-project
(uses Docker to compile kernel/uboot/atf)


Known issues for latest base image:
SSH keys are not re-generated! It is suggested to delete them and ssh-keygen -t them on the first bootup. (Fixed in github already)
Fixed clock (~900MHz), no cpufreq/voltage regulation - missing kernel modules in upstream (as of 4.13.0-rc5)
No HDMI output (missing drivers)


Default config:
IP: 10.0.0.199/24, gw 10.0.0.138
SSH enabled:
Login: user pine, password pine; use sudo to get root


To do:
Fix known issues Tongue
- please use github issues for that.

Updates:
19/12/2017 - Released kernel 4.14.7 into repository, update via Apt and reboot
22/11/2017 - Released kernel 4.14.1 into repository, update via Apt and reboot
28/10/2017 - Released kernel 4.13.10 into repository, update via Apt and reboot
15/10/2017 - Released Docker-ce 17.09, update via Apt
15/10/2017 - Released new base image (*not required* to update, just rollup of kernel+base pkgs)
15/10/2017 - Released kernel 4.13.6 into repository, update via Apt and reboot
27/08/2017 - Released kernel 4.13.0-rc6 into repository, update via Apt and reboot (nothing else required)
28/08/2017 - Released kernel 4.13.0-rc7 into repository, update via Apt and reboot (rc5 should be autoremove-able)
28/08/2017 - Released Docker-ce 17.07.0-ce-rc4, update via Apt
30/08/2017 - Released Docker-ce 17.07-ce (final), update via Apt


Thanks for this. Has it been updated to include dhcp and a Mali driver?


Sent from my iPhone using Tapatalk Pro
  Reply
#34
DHCP client has been in since the beginning however the default state is to boot up with fixed IP (for when it is booted in standalone mode without any terminal connected).

MALI driver is not in yet, will see when 4.16 stable kernel comes along possibly.
  Reply
#35
(03-11-2018, 11:04 AM)CallMeFoxie Wrote: DHCP client has been in since the beginning however the default state is to boot up with fixed IP (for when it is booted in standalone mode without any terminal connected).

MALI driver is not in yet, will see when 4.16 stable kernel comes along possibly.


How's that Mail driver coming along?
  Reply
#36
Thanks for the great work on this build!

One thing I can't figure out, wondering if you can help:

I want to get the CPU temperature, which I'd have thought would be found at: /sys/devices/virtual/thermal ...

I ran sensors-detect, but lm-sensors sees nothing.

Is this something up with the distro? Or is it the board itself?

Thanks!
Robbie Ferguson // Bald Nerd
NEMS Linux: https://nemslinux.com/ | My TV Show: https://category5.tv/ | My Blog: https://baldnerd.com
  Reply
#37
(06-25-2018, 12:51 PM)Baldnerd Wrote: Is this something up with the distro? Or is it the board itself?


There is a bash script that you can get those details from it...

Code:
/usr/local/sbin/rock64_diagnostics.sh -m
  Reply
#38
(06-25-2018, 06:08 PM)evilbunny Wrote: There is a bash script that you can get those details from it...
Code:
/usr/local/sbin/rock64_diagnostics.sh -m

Thank you. Yes, I did some searching around before posting, and spotted this as one of the tips, but that script is missing from my filesystem. Did it come with the img? Or something I have to install?

I'll confirm once I can boot up the image (later tonight) -- it's always possible the instructions I'd followed had a typo in the file path. Smile

Thanks!
Robbie Ferguson // Bald Nerd
NEMS Linux: https://nemslinux.com/ | My TV Show: https://category5.tv/ | My Blog: https://baldnerd.com
  Reply
#39
(06-25-2018, 06:28 PM)Baldnerd Wrote:
(06-25-2018, 06:08 PM)evilbunny Wrote: There is a bash script that you can get those details from it...
Code:
/usr/local/sbin/rock64_diagnostics.sh -m

Thank you. Yes, I did some searching around before posting, and spotted this as one of the tips, but that script is missing from my filesystem. Did it come with the img? Or something I have to install?

I'll confirm once I can boot up the image (later tonight) -- it's always possible the instructions I'd followed had a typo in the file path.  Smile

Thanks!

I just noticed you meant on the pine64, nm me
  Reply
#40
Hey CallMeFoxie, anarsoul has some neat patches in his branch - including HDMI, LCD, audio, dvfs, ths and battery support.
If you could drop by the IRC at some point he'd be more than happy to have a chat.

Thanks !
You can find me on IRC, Discord and Twitter


  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  lost eth0 on my pine64 psarazin 7 730 03-22-2021, 05:55 PM
Last Post: kuleszdl
  Debian installer on Pine A64+ but no hdmi mrwick 1 1,871 07-28-2020, 01:49 PM
Last Post: kuleszdl
  Debian Pine64 h264/5 Video under vlc ozcy 6 5,375 04-15-2020, 05:27 AM
Last Post: dmitrymyadzelets
  OMV/debian/systemd: how to start the network kittyland 0 1,020 12-10-2019, 05:29 PM
Last Post: kittyland
  Debian 10 (Buster) in deep freeze - includes support for Pine64+ amp 5 3,835 07-22-2019, 09:29 PM
Last Post: amp
  Installing Debian with the Debian Installer (Buster RC1) amp 1 1,891 06-28-2019, 12:35 PM
Last Post: Kaarme42
  Script to build pure Debian images for Pine64+ amp 1 1,411 05-01-2019, 09:09 PM
Last Post: tllim
  Debian (Stretch) for Pine64-LTS wgray 2 2,096 04-04-2019, 09:54 PM
Last Post: wgray
  Is there just one fuctioning Debian Desktop image? KNERD 7 5,467 03-29-2019, 02:00 AM
Last Post: desai_amogh
  Announcement: OMV (OpenMediaVault) for PINE64 DuDu371 11 14,489 12-07-2018, 09:52 PM
Last Post: flinkazoid

Forum Jump:


Users browsing this thread: 1 Guest(s)