You are not logged in.
devuan-ascii-rpi4-arm64-0.1-beta.img.xz is the one I've been trying to get.
I succeeded downloading it
Could be that for some reason, after some extent you are limited in MB?
I know how to download, but it just fails after a few minutes for some reason, I managed to get about 20MB once.
Edit: Literally just tried again & it failed after downloading just 25MB.
The kernel file only has 25MB, you need to click per file..
Right now I am downloading the Image( 'devuan-ascii-rpi4-arm64-0.1-beta.img.xz' ) which is more than 500MB, and I am going with ~136Mb already..
I am not experiencing that problem..
Is anybody else, experiencing that problem?
Your link keeps on failing to download for me, tried several times yesterday, & a couple of times today.
what do you mean by keep failing?
You click on the link then,
A shared folder appears, to download something, you need to click on that specific file you want to download, and then the download will start..
Are you still facing problems?
Kernel 5.5 is out, but not yet on the mirrors..
So I will await its release and will make new kernels..
I read a bit about ARMSTUB... which seems to be a thing that is executed by the graphics card or so..
I start to think that we need it somehow
You guys can comfirm you are able to boot with 'Raspbian Buster Lite' from '2019-09-26' ?
There are no armstub there( at least not visible.. )... maybe in 'start.elf'..don't know..
Without a serial connector we can only guess
I'm only an end user, not a developer, but I could dig out my RPi4B, & give your image a go, sometime next week, probably.
Where can I download the RPi4 image from?
Hello Camtaf, the Image is Here, with the last kernel 5.5-rc7 also in the share and other stuff..
It would be nice if you have a usb-serial converter, to analyse the boot process..
You are right uther,
Any person that has a RaspberryPi4, would be nice to helping us out.
Maybe someone could have a usb-serial adapter( plus rpi4.. ) and can help.
For what I read, the booting process of raspberry pi4 is a lot different from the older versions..
The boot-loader is loaded from flash, as soon ad the processor starts to initialise on boot( what previously was known as 'bootcode.bin'.. now is in that flash.. )..
Indeed, I also read about it, the bootloader is been updated because it was very basic, with only sd-card support( at beginning.. ), but here we are also only using sd-card, anyway..
Nevertheless, could be that the developing of it changes the way things were working..
There are also the fact that its not possible yet to use the 4GB Ram, due to the fact that only the 1st 1GB RAM is dma capable..
So 'config.txt', will need one more thing at least..
total_mem=3072
I updated the share with newer kernels, from linux-mainline to 5.5-rc7( with last week developments.. )
We need at least, has additions, in 'config.txt':
arm_64bit=1
kernel=RPi4_u-boot.bin
total_mem=3072
Tomorrow( ..or Today... 5:24H here.. ) maybe I will release a new Image If I find evidences of what is missing..
hello,
In the mean time, if anyone( uther ? ), has some spare time. it would be nice to debug a devuan based image for rpi4
I was thinking in changing the '/etc/default/rng-tools' to point to '/dev/urandom'( as a way to continue the debugging of last weekend ).
It could be that there are no TRNG driver in the kernel for rpi4( kernel 5.5 is the first one to support it.. ).
In this way, we could eliminate a possibility of error on boot..
It can be done also by anyone who has a rpi4,
Burning the image and then going to '/etc/default/rng-tools', and set rng to '/dev/urandom':
HRNGDEVICE=/dev/urandom
Hello Uther,
Was a pleasure!
Sad we don't succeed at first try,
But we are not so far away from success, we are almost there..
Thanks for your help on debugging, and trying out this image!
Ok, we will wait until you have some spare time to test, no problem.
EDIT: I think I found out why it doesn't boot
I tried a git pull to update my mainline branch...and I think I forgot to explicitly tell on the Makefile that I want vmlinux uncompressed
The first image was nice on this, but I believe the second as this fault..
I will check everything again.. not that 5.5-rc7 is here..
Best Regards,
tux
Unfortunately beta doesn't work neither. Checked both with arm_control=0x200 and arm_64bit=1. Exactly the same output as with the alpha.
Some things should need to be troubleshooted..
EDIT:
changed kernel=RPi4_u-boot.bin to kernel=vmlinuz-5.5.0-rc6+ - green led flashed couple times more, but the final output is the same.
Checked both kernel links with arm_control=0x200 and arm_64bit=1 variants.
Can you test with this config below, in '/boot/config.txt?
# Serial console output!
enable_uart=1
# 64bit-mode
arm_64bit=1
# arm_control=0x200
# Use U-Boot
kernel=RPi4_u-boot.bin
device_tree_address=0x100
device_tree_end=0x80000
dtparam=i2c_arm=on
dtparam=spi=on
Also can you attach a serial debugger if you have one, serial to usb converter, and check the output?
to configure the device as root in yout computer:
~# stty -F /dev/your_tty_USB_Serial_converter 115200
then to capture the output:
~# cat /dev/your_tty_USB_Serial_converter
then apply power, to rpi4, and please, post the uart log..
thanks for your testing..
EDIT1: does you have the last bootloader firmware?
RPi4 have a small flash that is used to boot usually..
That flash holds the bootcode.bin binary usually found in /boot...
I deleted it because I though that all RPi4 come with flash bootcode.bin... can you copy the bootcode.bin to /boot and test?
EDIT2: bootcode.bin was put in the share, the idea is copying it to /boot on the beta image sdcard..
1) Copy 'bootcode.bin'..
2) Certify you have in 'config.txt':
# 64bit-mode
arm_64bit=1
# Use U-Boot
kernel=RPi4_u-boot.bin
3) Configure uart to get the bootlog( see above ):
~# stty -F /dev/your_tty_USB_Serial_converter 115200
then to capture the output:
~# cat /dev/your_tty_USB_Serial_converter
4) then powerup rpi4 and see if it boots now with ( bootcode,bin present in /boot ).
5) If it doesn't work, then change 'config.txt', accordingly with above parameters..
6) configure uart,
7) powerup rpi4
8) if it doesn't work,
uboot has a configuration file there boot.cmd..
inside it is configured a environment variable called 'fdtfile' ( setenv fdtfile broadcom/bcm2711-rpi-4-b.dtb )
we need to find a way to tell directly to 'config.txt', what file it should look for..
Sorry, I'm blind. I downloaded alpha version two times.
Anyway. Alpha image didn't boot. Sequence was stuck at rainbow square.
For the record, I've unpacked the archive with unxz, flashed .img with dd and edited fstab. .deb files were copied to /usr/src
I'm downloading beta right now.
No problem
At least we know that the alpha kernel, or the config.txt was wrong..
yeah I should have done the same way, try the beta image
Please, don't forget to try with arm_64bit=1 in '/boot/config.txt'..
If that doesn't work, try also with 'arm_control=0x200'
if it doesn't work, try something different..
Comment line kernel=RPi4_u-boot.bin, change it to kernel=vmlinuz-5.5.0-rc6+
thanks..
If you are not able to boot, according with some documentation, change in '/boot/config.txt':
arm_control=0x200 -> arm_64bit=1
I've just downloaded updated image. I'm flashing it right now, so we will see.
ED: Ok. So we have first obstacle. I've never accually booted up system this way, so forgive me any stupid questions at this point.
I see there is linux-headers directory in /usr/src and there is vmlinuz executive in /boot/. So what are .deb packages wiht the kernel for?
No problem...that packages are or will be installed inside the system, once it boot up
Indeed there are there already a kernel, vmlinuz...
But don't worry with that.. it says 'vmlinuz' instead of 'vmlinux' but it his a uncompressed image ( 'vmlinux' ), the name is for a compressed one.. don't pay attention to it
There are several packages because one of main failures in distributions is that they provide a kernel but forget to provide the headers, and libc-dev so if you really want to make development you are stopped right there..
To ensure that everyone has the tools to proceed in its projects all the packages are provided
EDIT: Dont install linux-image-5.5.0-rc6+-2-dbg_arm64.deb
You can copy them to sdcard( exclude dbg package.. ), and when system boot's up, install them:
dpkg -i linux-headers-5.5.0-rc6+-2_arm64.deb linux-image-5.5.0-rc6+-2_arm64.deb linux-libc-dev_5.5.0-rc6+-2_arm64.deb
ED2: The newest image still contains fstab bug. I needed to change ext4 to vfat manually under /boot/.
No, the new Image has the ext2 corrected fo vfat:
# <file system> <dir> <type> <options> <dump> <pass>
/dev/mmcblk0p1 /boot vfat defaults 0 2
/dev/mmcblk0p2 / ext4 defaults,noatime 0 1
/dev/zram0 none swap pri=1 0 0
/dev/zram1 none swap pri=2 0 0
/dev/zram2 none swap pri=4 0 0
/dev/zram3 none swap pri=3 0 0
Hello Uther,
Does you know if the image boot's up?
I updated Image, kernel and so on, for the current .config file 'bcm2711_defconfig', present in the shared folder
the fstab problem was solved, added also in '/boot/config.txt'
# 64bit-mode
arm_control=0x200
Best Regards,
tux
Camtaf wrote:N.B. If only using one monitor, you have to use the HDMI socket next to the USB C power socket.
Good to know! Downloaded all the packages. I should do tests tommorow.
If there are particular logs you want to inspect, let me know beforehand, so I could extract them all at once.From monday I'm going offgrid for a couple of days. Next weekend I plan to do more extensive tests if the image you provided boots up properly - some light number crunching, default settings tweaking, maybe softRAID setup and code compilation.
This preliminary Image needs editing '/etc/fstab', you can burn the image in a card and the edit fstab on the card
Next image will have that corrected..
root Passwd: 'tor'
devuan Passwd: 'devuan'
Things that would be interesting would be,
a) If you have a serial debugger, connect to the uart, and get all the information about bootloader/boot process.
b) Find if thermal zones do exist, what temps system have..if something really out of what to be expected..
find /sys/class/thermal -name thermal_\* -exec ls -l {} \; -exec cat {}/temp \;
c) Get information about cpuinfo, and if it is correct..
'cat /proc/cpuinfo'
d) get information about swap, and system memory:
swapon -a && free -m
e) check swap quantity and algos( it should be 'lz4' )
swapon --show
find /sys/class/block -name zram\* -exec cat {}/comp_algorithm \;
f) List Loaded Modules:
lsmod
I updated the shared folder with '.condig' file for kernel 5.5, 'bcm2711_defconfig',
Updated also the generated kernel/KernelHeaders/Modules/Libc_headers( for this updated .config )
Feel free to provide information that you also think would be useful, like WiFi/Bluetooth, or adjust the config file
Share your thoughts
Hello,
I tried to create a config file and this is the result, I also compared it with 4.19 and also 5.5, and your dmesg..
Its a good start...the kernel has also support for 2 other broadcom Socs..
but it supports raspberrypi3,4 arm64..
You can check Here the Image, and also the kernels
NOTES!!
When the Image was produced,I didn't notice, but my RPI4 builder config, had at least 1 bug
You need to edit '/etc/fstab'
Change:
/dev/mmcblk0p1 /boot ext2 defaults 0 2
to
/dev/mmcblk0p1 /boot vfat defaults 0 2
Please provide some feedback,
things you think should be improved
We have some progress. I've extracted two configs. Default 4.19.75-v7l+ (just in case) and 5.5.0-rc6-v7l+ They're pretty lenghy, so do you prefer them pasted here directly or on some pastebin?
During compilation 5.5.0 kernel there was couple of warnings about soundcard and Realtek network card. No errors thou.
Thanks a lot for your work
I assume the default kernel that comes in Raspbian is the '4.19.75-v7l+' ?
Have you tested the WiFi/Bluetooth , and the network?
Can you do, in the default image,and kernel, as root:
dmesg
You can use any site available, I usually use: paste2, others use another service they like
Best Regards,
tux
I have 4GB model.
Ok, can you please issue on the Oficial raspbian image, as root:
zcat /proc/config.gz
And post the result?
I have checked, uboot has support for it..
ArmTrustedFirmware has also some support at least..
I compiled uboot with stage 'bl31' without issues..
For the kernel, I would need that output to start with( config.gz above.. )..
Kernel 5.4.11 doesn't support this board yet, but kernel 5.5 is were I believe support was added
tuxd3v, if you are still looking for a beta tester for RPi4 builds than I volounteer.
Want to use it as a small NAS in the future, so having Devuan on it would be great!
Yup
What is the memory size of the version you have?
nunya wrote:... the belena-Etcher to install devuan_ascii_2.0.0_arm64_raspi3.img.xz ...
Think you mean 'balena-Etcher"?
But from my point of view I would not trust this piece of software anymore: https://github.com/balena-io/etcher/issues/2977
The combination of "secretly spies" and pure root-access to raw-devices sounds not good in my ears, no matter under wich operating system?!
Not sure, what they will do in future versions, if nobody would care about ...Best regards, FM_81
Indeed, but it goes deep..
Look into $HOME/.config directory..
No free launches from them..
I plan on buying a raspberry pi 4, but I want to check if my favorite distribution will be able to potentially run on this thing. I realize that not many distributions support the raspberry pi 4 as of now, but is it planned as of now?I would really like if my favorite distribution would run on it
Hello,
I would make a Image of RPi4, but I don't own one..
If you agree in be a beta tester, sure I will do!!
This both explains and (hopefully) solves your eth0 issue: StackExchange link
This explains how to control the LEDs: Jeff Geerling's blog. Your options for triggers are:
gpio - controlled through GPIO (off by default)
heartbeat - heartbeat-like pulse
timer - pulse every second
input - under-voltage detection
mmc0 - memory I/O
cpu0 - CPU activityGood luck!
Thanks!
I will try that, specially the the ACK les to 'cpu0'
I Built a image for RPi's using the CPU 'arm1176jzf-s':
rpi-a-plus
rpi-a
rpi-b-plus
rpi-b-rev2
rpi-b
rpi-cm1-io1
rpi-zero-w
rpi-zero
rpi-2-b
rpi-3-a-plus
rpi-3-b-plus
rpi-3-b
rpi-cm3-io3
Its a server type Image..
Hello All,
This is the arm32( armel ) counterpart, for RaspBerryPi's, Using ARMv6 'arm1176jzf-s'..
Suported Boards:
bcm2835-rpi-a-plus.dtb
bcm2835-rpi-a.dtb
bcm2835-rpi-b-plus.dtb
bcm2835-rpi-b-rev2.dtb
bcm2835-rpi-b.dtb
bcm2835-rpi-cm1-io1.dtb
bcm2835-rpi-zero-w.dtb
bcm2835-rpi-zero.dtb
bcm2836-rpi-2-b.dtb
bcm2837-rpi-3-a-plus.dtb
bcm2837-rpi-3-b-plus.dtb
bcm2837-rpi-3-b.dtb
bcm2837-rpi-cm3-io3.dtb
In the next Iterations, will be also there a 'Desktop' build type..
In this case, there is a v0.3beta Server build.
Features & Versions:
1) - U-boot boot-loader - v201910 ( built for for armel BUT with Floating Point support )
2) - Linux Kernel - Stable 5.3.13-1 ( built for armel BUT with Floating Point support )
3) - UserSpace - Devuan beowulf ( for armel )
4) - Changelog - Beowulf, Leds
1) BootLoader( RPi binaries plus u-boot )
'bootcode.bin', starts the board, calls 'config.txt', were it knows about uboot, then the Videocore4 executes 'start.elf', and will bring-up, the kernel specified in 'uboot.cmd'
Disk Partitioning scheme:
# parted /dev/mmcblk0
(...)
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 4194kB 273MB 268MB primary fat32 lba
2 273MB 1321MB 1049MB primary ext4
a) - Bootloader( U-Boot ), is in the 1st partition
a1) - The Bootloader will search for a file called 'boot.scr', and after initialise the u-boot environment, will execute that script..
a2) - In 'boot.scr', for this image, it will point to 'RaspBerry Pi1 B v1.0' Device Tree Binary File by default( was tested there.. )..
a3) - IF you have other board than 'RaspBerry Pi1 B v1.0', please Read Bellow in the 'Notes Section'..
b) - 1st Partition is mounted as '/boot'
c) - 2nd Partition is mounted as rootfs '/'
NOTA!
The Bootloader in a) usually takes ~600KiB..
If you have Other Board than 'RaspBerry Pi1 B v1.0', situation described in a3):
The 'boot.cmd' script( format, Human Readable ):
setenv bootdelay 3
#setenv baudrate 115200
# Send debug info to uart, and also display
setenv stdout serial,vga
setenv stderr serial,vga
mmc dev 0
# Set fdtfile envvar to corresponding dtb file
setenv fdt_addr 0x02400000
setenv fdtfile bcm2835-rpi-b.dtb
# 64bits Kernels loads at kernel_addr_r 0x80000
setenv kernel_addr 0x08000
setenv bootargs earlyprintk=serial,ttyAMA0,115200n8 console=ttyAMA0,115200n8 console=tty0 root=/dev/mmcblk0p2 rw rootfstype=ext4 elevator=noop fsck.repair=yes rootwait smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 kgdboc=ttyAMA0,115200 selinux=0 noinitrd
load mmc 0:2 ${fdt_addr} usr/lib/linux-image-5.3.13/${fdtfile} || load mmc 0:1 ${fdt_addr} ${fdtfile} || load mmc 0:1 ${fdt_addr} boot/${fdtfile}
load mmc 0:1 ${kernel_addr} vmlinuz-5.3.13 || load mmc 0:1 ${kernel_addr} zImage || load mmc 0:1 ${kernel_addr} boot/vmlinuz-5.3.13 || load mmc 0:1 ${kernel_addr} boot/zImage
bootz ${kernel_addr} - ${fdt_addr}
Write this Image, to a sd-card.
Mount 1st Partition in '/mnt',
mount /dev/sdb1 /mnt
Then change the 'boot.cmd' script to point to your board..
# You can find a list of supported boards 'dtb' files in: '/usr/lib/linux-image-5.3.13'( or in the beguining of this article )
# Edit the file 'boot.cmd', with 'vi' for example.
# change the line:
setenv fdtfile bcm2835-rpi-b.dtb
to
setenv fdtfile your_board.dtb
Save the file,
# Generate the real script file( binary ), 'boot.scr'
mkimage -C none -A arm -T script -d boot.cmd boot.scr
Done!
2) - Linux Kernel
Packages:
There are 3 packages installed:
# dpkg -l |grep -E "(linux-.*(headers|image|libc-dev))"
ii linux-headers-5.3.13:armhf 5.3.13-1 armhf Linux kernel headers for 5.3.13 on armhf
ii linux-image-5.3.13:armhf 5.3.13-1 armhf Linux kernel, version 5.3.13
ii linux-libc-dev:armhf 5.3.13-1 armhf Linux support headers for userspace development
The target will be to improving the Device Tree Bindings, for each board, when possible..
3) - UserSpace -Users & Passwords:
a) root - password 'toor'
b) devuan - password 'devuan'
NOTA!
SSH is enabled, so that you can login, but root login, is disabled, you should login as 'devuan', only then switch to 'root', if you want to.. for that,
After Login as 'devuan', issue:
sudo su -
And type your 'devuan' password, that's it..
4) - ChangeLog
Migration to beowulf
Led 'ACK' driver changed to 'cpu0', to reflect CPU usage
~# echo cpu0 > /sys/class/leds/ACT/trigger
For this image, to reach more Supported Hardware and Users, your help is also needed
Testing this Image, posting your feedback, and improvements..
Sha256sum:
~$ sha256sum devuan-ascii-rpi-armel-0.3-beta.img.xz
eadf5b2e94e9953c80467ea3f2e8c1b962e6459a7f712d8bf817e4bb56c3ea64 devuan-ascii-rpi-armel-0.3-beta.img.xz
Hello!
I know terribly little about u-boot, however, i see no messages about mmc-bcm2835 and sdhost-bcm2835 (comparing with a Pi Zero here), so it really looks like a missing card reader driver to me.
Hello,
My kernel '.config' is yet very crude.. and I trusted it too much( to bad for me..I paid the price )
You were straight to the point
My rpi1B v1.0 is up and running
its consuming now 17MB of Ram..
So bootcode.bin->start.elf->u-boot-> real kernel..
I still have some annoyances, the iface 'eth0' gets renamed to something very absurd..
and maybe I don't have yet all modules that I need enabled.. :S
For example the CPU Activity led, is only blinking, not reflecting the load, or processing my PI have..
I will recompile also a u-boot with support for HardFloat operations..
I still need to do a lot of checkings on it..
Now, that delay i do know a little about, but no sureshot fix for it. It is something introduced with kernels 4.16 onwards (i believe), and related to how it gathers random data.
- Try installing haveged and reboot. It fixed things for some people (supposedly works without a hardware RNG).
- Try removing haveged, installing rng-tools and reboot. Fixed things for other people (supposedly requires a hardware RNG).
- Try removing rng-tools, plugging an 802.11 USB adapter and reboot. This fixed it for me on a Pi 2.
The driver in Kernel 5.3.11, seems to be working now, about 14 seconds, a lot less from the 211 before.. but more checking is needed..
About rng-tools:
You can use in '/etc/default/rng-tools' a device like '/dev/urandom' it is the only way I could boot a 'Orange PI one Plus', because the TRNG hardware isn't yet supported( will be in kernel 5.4 I believe )..
You can try this solution has a last resort..
I will update, with my findings about what I could optimise
Thanks a lot to put me in the right track!!