You are not logged in.
PWM is configurable with values [ 250 - 255 ].
250 - Fan Off.
255 - Fan at maximum power..
The Fan behaviour, suggests( after several tests...), that we have 5 levels of power.. 25{1,2,3,4,5}.
'echo 251 > /sys/class/hwmon/hwmon2/pwm1' - activates Fan in the lower power applied, if you have a not so efficient Cooling system,
The value 251, maybe not sufficient, and so maybe you need to try levels above( 252-255 ).
If you have a emmc flash module in place,
And you have flashed this image to a sdcard, then if you want to boot from sdcard, you need to close Switch4( SW4 jumper close to emmc module, during at least some ~5 seconds, while applying power to the board ), if not, it will boot from the emmc module..
Of course you can also flash it to a emmc module, and then boot normally( because emmc has priority over sdcard on this board.. ).
Hello Camtaf,
Take a look at this image here:
https://dev1galaxy.org/viewtopic.php?id=3209&p=3
see the last 2 posts, and test it on raspberrypi 4
Hello All,
This is a preliminary build, for RockPro64
v0.2beta Server build.
Features & Versions:
1) - Arm Trusted Firmware - v2.3 ( built for arm64 )
U-boot boot-loader - v2020.04 ( built for arm64 )
2) - Linux Kernel - Stable 5.6.10 ( built for arm64 )
3) - UserSpace - Devuan Beowulf ( for arm64 )
4) - ChangeLog - update kernel,correct ethernet, hdmi, initial bringup of sound via hdmi
5) - Problems & to be done - After coming to Beowulf, its impossible to auto-mount zramfs as swap, automatically, sound via 3.5mm Jack still not possible usig codec HIFI ES8316...
1) BootLoader( ATF + u-boot )
Disk Partitioning scheme:
# parted /dev/mmcblk1
(...)
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size Type File system Flags
1 64s 8063s 8000s idbloader
2 16384s 24575s 8192s uboot
3 24576s 32767s 8192s none
4 32768s 262143s 229376s ext2 boot boot, esp
5 262144s 3743744s 3481601s ext4 rootfs
a) - Bootloader( Arm Trusted Firmware + U-Boot ), starting at sector 64( 1st partition.. ), and ending at sector 32767( 3rd partition.. )
a1) - The Bootloader will search for a file called 'boot.scr'( in 4th partition ), and after initialize the u-boot environment, will execute that script..
a2) - In 'boot.scr', for this image, it will point to 'RockPro64 v2.1' Device Tree Binary File by default( was tested there.. )..
a3) - If you have "RockPro64 v2", please Read Bellow in the 'Notes Section'..
b) - 4th Partition( after BootLoader ) is mounted as '/boot'
c) - 5ft Partition is mounted as rootfs '/'
NOTA!
The Bootloader in a) usually takes ~1MiB..
Each time a bootloader is built, all area [ 64s - 32767s ], needs to be clean first( so that you can flash the new bootloader.. because could still be there any bits of the previous one.. which could lead to unpredictable consequences.. ).
If you have Other Board than "RockPro64 v2.1'''( RockPro64 v2' ), situation described in a3):
The 'boot.cmd' script( format, Human Readable ):
setenv macaddr da 19 c8 7a 6d f4
#setenv devtype mmc
#setenv devnum 1
#part uuid ${devtype} ${devnum}:1 idbloaderuuid
#part uuid ${devtype} ${devnum}:2 ubootuuid
#part uuid ${devtype} ${devnum}:3 noneuuid
#part uuid ${devtype} ${devnum}:4 bootuuid
#part uuid ${devtype} ${devnum}:5 rootfsuuid
setenv bootargs "earlyprintk debug=on earlycon=uart8250,mmio32,0xff1a0000 console=tty1 console=ttyS2,1500000n8 root=/dev/mmcblk1p5 rw rootfstype=ext4 fsck.repair=yes net.ifnames=0 video=eDP-1:1680x1050@60 video=HDMI-1:1680x1050@60 bootsplash.bootfile=dev1-arm16.png"
# ubootpart=${bootuuid}
setenv fdtfile rockchip/rk3399-rockpro64.dtb
if load ${devtype} ${devnum}:4 ${kernel_addr_r} vmlinuz; then
if load ${devtype} ${devnum}:5 ${fdt_addr_r} usr/lib/linux-image-5.6.10/${fdtfile}; then
fdt addr ${fdt_addr_r}
fdt resize 65536
fdt set /ethernet@fe300000 local-mac-address "[${macaddr}]"
booti ${kernel_addr_r} - ${fdt_addr_r};
fi;
fi
Write this Image, to a sd-card, then mount it, and change the 'boot.cmd' script to point to your board..
# You can find a list of supported boards in: '/usr/lib/linux-image-5.6.10/rockchip'
# Edit the file 'boot.cmd', with 'vi' for example.
# change the line:
'setenv fdtfile rockchip/rk3399-rockpro64.dtb'
to
'setenv fdtfile rockchip/rk3399-rockpro64-v2.dtb'
Save the file,
# Generate the real script file( binary ), 'boot.scr'
mkimage -C none -A arm64 -T script -d boot.cmd boot.scr
2) - Linux Kernel
Packages:
There are 3 packages installed( in the future will be at least Userspace Panfrost mesa-3d graphics drivers more.. for a desktop version..):
~# dpkg -l |grep -E "(linux-.*(headers|image|libc-dev))"
ii linux-headers-5.6.10 5.6.10-7 arm64 Linux kernel headers for 5.6.10 on arm64
ii linux-image-5.6.10 5.6.10-7 arm64 Linux kernel, version 5.6.10
ii linux-libc-dev:arm64 5.6.10-7 arm64 Linux support headers for userspace development
The target will be to reach, ideally, full usability of all characteristics..
3) - UserSpace -Users & Passwords:
1) root - password 'toor'
2) 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
a) - Kernel update to 5.6.10,
b) - Ethernet working ok
c) - HDMI is working ok, but still needs to be enabled sooner in the boot process..
d) - Panfrost kernel Driver
e) - DVFS - Dynamic Voltage Frequency Scalling working ok
f) - { IR, RTC, SPDIF } Kernel Driver test Handlers, including decoders for RAW IR( NEC, RC5(x/sz), RC6, JVC, Sony. SANYO, Sharp, MCE Keyboard/mouse, XMP )
g) - Its now possible to boot, without assigning '/dev/urandom' to crng( but there are still a warning message in the boot process... ).
h) - reboot now works OK.
i) - Fan PWM works, but always at 255( max power.. )
j) - Sound via HIFI ES8316, to 3.5mm Jack still not possible( Codec added )..
k) - Sound via HDMI, works OK!!
l) - USB Ports work, but still a warning message about usb-otg..
5) - Problems and testings to be done..
a) - After migration to beowulf, its impossible, for now, to automount zramfs as swap, automatically.. you need to issue
swapon -a
it could be related with several packages, including those( most probably): init init-system-helpers initscripts insserv eudev mawk sed( this problem doesn't occurr in the RPi1 Image..armel )
b) - Testing is needed, on camera interfaces
c) - testing is needed in LVDS panels
d) - Test IR driver shipped, tests needed
e) - Compile UserSpace Mesa Panfrost Driver stack( userspace counterpart for kernel space one.. )
f) - Try to tune Fan PWM( if possible will be added ATS to control fan ), Right npw,
the most pratical solution would be to add;
echo 251 > /sys/class/hwmon/hwmon2/pwm1 to /etc/rc.local
g) - solve Sound via HIFI ES8316..
h) - improve Sound Quality via HDMI.. Solved!!
i) - investigate usb-otg warning
j) - other minor warnings..
For this image, to reach more Supported Hardware and Users, your help is also needed
Testing devuan-beowulf-rockpro64-arm64-0.2.img, and posting your feedback.
SHA256sum:
4$ sha256sum devuan-beowulf-rockpro64-arm64-0.2.img.tar.xz
ab0f9547de0d92f1516a2bbde944606043ce88a30aa098a72734782b12dbd9a3 devuan-beowulf-rockpro64-arm64-0.2.img.tar.xz
Best Regards,
tux
You welcome,
The important thing is that you managed to take some conclusions from it, and see the limitations you have on your config..
I also tested a lot, but with the power supply I have.. no way( I need to find another way.. ), I have rpi1, which I believe is more limited than rpi3..
The hard-drives disks, don't spin..
An example case:
I have a NAS( 3 Seagate Ironworlf disks ),
After startup, power consumption goes around 22-25Watts( normal operation ),
But when disks start spinning at beginning... I see in my PowerMeter spikes of around ~60Watts.. which is more than 2x the power consumption in operation..
Yes they are brief, but they are there..
Then around 40watts, after that they start consuming ~20-25watts( normal operation )..
My NAS disks are 3.5"( with 2.5" disks numbers are off-course a lot lower accordingly.. ), but it gives me the notion of power needed to start a drive vs normal utilization( after spinning up the plates )..
The USB 2.0 Specification says that is can deliver "5 units of 100mA each", so by the Specification we are talking about 500mA Max( I believe its per port.. ).
One thing are Specifications, other thing is the real hardware around which is made to be cheap, so it can be competitive..
chargers,power regulators, usb hubs, circuitry limitation designs, Lots of factors..
Yeah,
I would say that, if it has a Global limitation of 600mA,
The best option would be to find a hard drive that is very very low power( which nowadays will be each time more difficult to find.. ).
If you find a very low power harddrive, that works well on this devices,
Please let us know
You welcome,
yeah it seems to be compiled in the kernel..
unfortunatly you couldn't check '/proc/config.gz' because its not present..
your HD disk is 2.5"?
insert it with both USB ports(including) the power supply, and do a dmesg, to check if its controller is detected.
check with: 'sg_scan -i' and 'sg_map -sd', probably it will appears as '/dev/sg0' and would be mapped to '/dev/sda'
check also with 'lsblk'
It could be the same problem I have( in my case I suspect of power supply because my board is badly powered.. that's why I also tested with a pendrive.. )
You have I think 4x usb2.0,
If you had at least a real usb3.0( since it can negotiate more power deliver ), but then again, if power supply for the base board is not enough, having usb3.0 will not help because the power will end delivered in all by the power supply first..
My USB Harddrive adapter controller is detected,
But not enough power for him and also to power the disk
In your config you have 2 things:
1) a USB<->Sata adapter
2) a Harddrive
both consume power, the harddrive should consume more, and so maybe you get the USB<->Sata adapter, detected, but not the disk
This is what hapens in my case:
[34772.896837] usb 1-1.2: Manufacturer: ASMedia
[34772.901150] usb 1-1.2: SerialNumber: 00000000000000000000
[34772.919034] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[34772.932325] scsi host0: usb-storage 1-1.2:1.0
[34773.955039] scsi 0:0:0:0: Direct-Access ASMT 2105 0 PQ: 0 ANSI: 5
[34773.975426] sd 0:0:0:0: [sda] Attached SCSI removable disk
[34773.984745] sd 0:0:0:0: Attached scsi generic sg0 type 0
[34793.627510] usb 1-1.2: USB disconnect, device number 7
[34803.653748] usb 1-1.2: new high-speed USB device number 8 using dwc2
[34804.107548] usb 1-1.2: New USB device found, idVendor=174c, idProduct=5106, bcdDevice= 0.01
[34804.116038] usb 1-1.2: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[34804.123406] usb 1-1.2: Product: AS2105
[34804.127295] usb 1-1.2: Manufacturer: ASMedia
[34804.131600] usb 1-1.2: SerialNumber: 00000000000000000000
[34804.147473] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[34804.163076] scsi host0: usb-storage 1-1.2:1.0
[34805.235612] scsi 0:0:0:0: Direct-Access ASMT 2105 0 PQ: 0 ANSI: 5
[34805.256014] sd 0:0:0:0: [sda] Attached SCSI removable disk
[34805.265445] sd 0:0:0:0: Attached scsi generic sg0 type 0
In my case it has only power to conect to the USB<->Sata controller, but not to provide the suficient power to the disk controllers and mottors to spin the disks.. so dmesg ends like that..
Regards,
hello Altoid,
It could be..
But I would experiment in the rpi3 with a flash pen drive, just in case, to check if it works..
Anyway,
You can sort that out, maybe( if the config is present in the kernel.. )..
zgrep -Ei "_USB_STORAGE|_BLK_DEV_SD" /proc/config.gz
1) If its not present then its what we were expecting..
You will need that module..
2) If everything seems ok to you,
With is been available, compiled not as a module[ =y ]
then I advice to test with a usb pendrive
Check if it was compiled in the kernel
hello,
You can test it with a usb pen drive, and Eliminate the power consumption variable of the hard drive
I, for instance, with this Image on rpi1, and a pendrive inserted, have this on dmesg output:
root@stealth:~# dmesg|grep -Ei "usb-storage|scsi|sd" --color
[ 0.116884] SCSI subsystem initialized
[ 1.614692] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[ 1.669305] Loading iSCSI transport class v2.0-870.
[ 1.670782] usbcore: registered new interface driver usb-storage
[ 1.674223] sdhci: Secure Digital Host Controller Interface driver
[ 1.674248] sdhci: Copyright(c) Pierre Ossman
[ 1.775904] sdhost-bcm2835 20202000.mmc: loaded - DMA enabled (>1)
[ 1.776342] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.079053] mmc0: new high speed SDHC card at address 59b4
[ 9.642520] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[ 9.662141] scsi host0: usb-storage 1-1.2:1.0
[ 10.733319] scsi 0:0:0:0: Direct-Access ASMT 2105 0 PQ: 0 ANSI: 5
[ 10.760260] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 10.854416] sd 0:0:0:0: Attached scsi generic sg0 type 0
[11946.453478] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[11946.469115] scsi host0: usb-storage 1-1.2:1.0
[11947.535614] scsi 0:0:0:0: Direct-Access Generic Flash Disk 8.07 PQ: 0 ANSI: 4
[11947.551405] sd 0:0:0:0: [sda] 15769600 512-byte logical blocks: (8.07 GB/7.52 GiB)
[11947.563219] sd 0:0:0:0: Attached scsi generic sg0 type 0
[11947.575380] sd 0:0:0:0: [sda] Write Protect is off
[11947.580253] sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
[11947.588448] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[11947.623158] sda: sda1 sda2
[11947.637772] sd 0:0:0:0: [sda] Attached SCSI removable disk
root@stealth:~# dmesg|grep -Ei "usb-storage|scsi| sd " --color
[ 0.116884] SCSI subsystem initialized
[ 1.614692] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[ 1.669305] Loading iSCSI transport class v2.0-870.
[ 1.670782] usbcore: registered new interface driver usb-storage
[ 9.642520] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[ 9.662141] scsi host0: usb-storage 1-1.2:1.0
[ 10.733319] scsi 0:0:0:0: Direct-Access ASMT 2105 0 PQ: 0 ANSI: 5
[ 10.760260] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 10.854416] sd 0:0:0:0: Attached scsi generic sg0 type 0
[11946.453478] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[11946.469115] scsi host0: usb-storage 1-1.2:1.0
[11947.535614] scsi 0:0:0:0: Direct-Access Generic Flash Disk 8.07 PQ: 0 ANSI: 4
[11947.551405] sd 0:0:0:0: [sda] 15769600 512-byte logical blocks: (8.07 GB/7.52 GiB)
[11947.563219] sd 0:0:0:0: Attached scsi generic sg0 type 0
[11947.575380] sd 0:0:0:0: [sda] Write Protect is off
[11947.580253] sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
[11947.588448] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[11947.637772] sd 0:0:0:0: [sda] Attached SCSI removable disk
But I also doesn't have the usb-storage module,
Because it was built in[ =Y ]( not compiled has a module.. ).
And it works..
Now, when I attach a 2.5" disk, I see it as a /dev/sg0,
and I can run
# sg_map -sd
/dev/sg0 /dev/sda
also 'sg_scan -i',
But it doesn't appear as a block device, only the controller is detected, I suspect of a power supply problem..
thank you, @tuxd3v - I now have network access and also terminal login
you welcome,
nice you succeded
'
okay - took the beowulff image http://arm-files.devuan.org/devuan_beow … 0.3.img.xz
****
this file does not exist, but I created it
/etc/udev/rules.d/70-persistent-net.rules
. put in the mac address per your guidance
****
added this to my /etc/inittab
T0:2345:respawn:/sbin/agetty -L ttyAMA0 115200 dumb
****
changed my /etc/network/interfaces to just use 'eth0' dhcp
. dropping the predictable naming
yeah the udev rule is not shipped by default,
Because its very difficult to create a udev rule for all boards..
Each one is using a different mac-address and the static udev rule would fail..
yup with eth0,
Now everything should work ok( even firewall( iptables ) will work now )..
.notice they rename eth0 to a 'predictable network interface names' WHO IS THEY???
*****
It was an attempt to generate a always persistent name between reboots, to machines that have several Ethernet Ports..
But in RaspberryPi is gets ugly,
And doesn't make sense, since we only have one Ethernet port, it will always be 'eth0', no need for generating names..
Also, the automatic persistent names generation,
Breaks compatibility with lots of software( you were experiencing that.. )
Almost everyone out there is experiencing problems with that, at some point..
Regards,
hello Altoid,
when you insert the drives in the usb, powered with the 5v, everything ok, what you get with 'dmesg' ?
it could be that the module was not compiled for it..
if you do:
modinfo usb-storage
what is the output?
you can also do:
find /lib/modules -name \*usb-storage\*.ko to check..
This si a config for sub-storage, on kernel 5.4.x:
[
#
# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may
#
#
# also be needed; see USB_STORAGE Help for more info
#
CONFIG_USB_STORAGE=y
# CONFIG_USB_STORAGE_DEBUG is not set
CONFIG_USB_STORAGE_REALTEK=m
CONFIG_REALTEK_AUTOPM=y
CONFIG_USB_STORAGE_DATAFAB=m
CONFIG_USB_STORAGE_FREECOM=m
CONFIG_USB_STORAGE_ISD200=m
CONFIG_USB_STORAGE_USBAT=m
CONFIG_USB_STORAGE_SDDR09=m
CONFIG_USB_STORAGE_SDDR55=m
CONFIG_USB_STORAGE_JUMPSHOT=m
CONFIG_USB_STORAGE_ALAUDA=m
CONFIG_USB_STORAGE_ONETOUCH=m
CONFIG_USB_STORAGE_KARMA=m
CONFIG_USB_STORAGE_CYPRESS_ATACB=m
CONFIG_USB_STORAGE_ENE_UB6250=m
CONFIG_USB_UAS=m
you need also the SCSI sg driver..
I see it there but not been used..
regards,
@tux3dv
I have the debug output from the pi2B, but not an active terminal - some confusion as to how/what to call itnotice they rename eth0 to a 'predictable network interface names'
Predictable?
that name is everything but not predictable( 'enxb827eb14085f' )..
your madaddress is: b8:27:eb:14:08:5f
Remember to change it in the heredocument.. like this:
cat - <<EOF > /etc/udev/rules.d/70-persistent-net.rules
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="b8:27:eb:14:08:5f", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
EOF
After this you should get the network name correctly( 'eth0' ),
reboot the system and check..
Also to get a login prompt via serial, you need in the '/etc/inittab' something like:
T0:23:respawn:/sbin/agetty -L ttyAMA0 115200 vt100
restart the system and check if you get a login tty via serial..
'
stock /etc/network/interfaces (partial)
allow hotplug eth0
iface eth0 inet dhcp
allow hotplug enxb827eb14085f
iface enxb827eb14085f inet dhcp
------
ifconfig -a
shows the enxb827eb14085f device but no IP address
as the lo iface shows "inet 127.etc...."ps. will do some more seach to turn on the debug port as a serial device
maybe I can get some dmesg data that way
you can bringup the ethernet with that "marvelous" name, with:
ifdown enxb827eb14085f && ifup enxb827eb14085f
but that should not be needed, after the udev rule in place..
After renaming the Ethernet to a sane name, you should only maintain in '/etc/network/interfaces' ,
(...)
allow hotplug eth0
iface eth0 inet dhcp
you need a login tty in the inittab, for serial login
its above the line you need
I've managed to build an image using beowulf and kernel 4.19, which gives:
I hope someone with a rpi4 tests your build
the one at the top of the page,
Issue is network configuration -- can't get DHCP address,
my attempts at Static IP failed also
'
not sure what network manager they use.
nmcli is not part of the Synaptic packages
it would be configured to work with dhcp I guess.
it could be the strange naming of the network..
do a 'ifconfig', and post the result..
A 'dmesg' would also be great
it could be that you need to rename the interface, try with this:
cat - <<EOF >> /etc/udev/rules.d/70-persistent-net.rules
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="yours_maccaddress", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
EOF
also tried this one - network seems [iirc] to be an issue http://arm-files.devuan.org/devuan_beow … 0.3.img.xz
You have a rpi2B right?
this image is known to work well with rpi1..
It would be interesting to get a 'dmesg' output from this image, running in your board,
Also a 'cat /proc/cpuinfo'
You can access it via serial right?
Hello:
I'm currently waiting for delivery of a Raspberry Pi 3B+ to use with my coffee roasting setup.
In the meanwhile (lots of it) I'm reading up on what's going on with Raspberry/Raspbian and I came across this page on the official Raspberry Pi web site.What called my attention, knowing there are Devuan Raspbian images available, was that their availability was not listed on the page under the Third Party Operating System Images section along with Ubuntu and others.
Is there a sound reason for that or is it because of the systemd thing? (spelt it right this time ...)
Thanks in advance,
A.
Hello Altoid,
Raspbian images is a thing from RaspberryPi Foundation..
Devuan has Devuan Images..
You can find rpi3 arm64 images for devuan for example here ..
Also you can find a arm64 Image for RPi4 by MetaYan here( scroll to the last post by yan )
Yeee Haaaaw !
armel works on my rPi2B , right from the git-go
Hello garyz.dev1,
What armel image does you tested?
Sorry but i couldn't try suggestions of you and fm81 because i was too busy and still i am.
I think in a few days i will try them.
Thanks for now : )
No problem arilogue
you welcome..
When you can
the usb-serial adapter is conected to usb port, and then to the GPIO uart pins:
for instance take a look at the rpi GPIO:
https://www.raspberrypi.org/documentation/usage/gpio/
Ground - GPIO 6
Tx - GPIO 8
RX - GPTI 10
then use for example picocom to connect to the uart:
apt-get install picocom
#picocom /dev/your_tty_device -b 115200
And only then apply power to the board.. and see wat is comming in the uart, its the best tool for debug
remember:
Tx means board TX( which means it needs to be conected to usb-serial RX )
Rx means board RX( which means it needs to be conected to usb-serial TX )
in the meantime you can try the image I proposed
and say something about it
Best Regards,
tux
hello mmaglis,
Does you have a usb-serial cable to do some debug on that Image?
Does you experimented the image here: http://arm-files.devuan.org/
hello arilogue,
Does you solved your problem?
The driver for what I could see, times out
brcmfmac lines of dmesg ..
Does you experimented with other image?
best regards,
Hello arilogue,
The link for download the image is in the page, or here, its a recent image with beowulf..
Its a description of it in this thread.
You don't have indeed wlan0..
The Wireless device is BCM4343x WiFi..
The dmesg, would be better to post it in a service like https://paste2.org/
its better to analyze
Hi,
I downloaded devuan_ascii_2.0.0_armel_raspi1.img.xz image for my r-pi zero w.
I downloaded raspberry pi imager and wrote it to sd card.
I booted it but i couldn't connect it to wifi.
What can i do for this situation?
I'm a little bit moderate than a newbie for linux & my English is not well.
Sorry for both of them.
Thanks from now for your replies : )
Hello arilogue,
Can you output the result of:
ip link show
and also output of:
dmesg
In any case just give a try here
Best Regards,
tux
Hello All,
I have been busy trying to port Devuan to Radaxa RockPi4{A|B}.
This Image is initially a Server Role, later will come a Desktop Version..
In this case, v0.2beta Server build.
Features & Versions:
1) - Arm Trusted Firmware - Master Branch BL31 Stage ( drivers for - CortexM0( PowerManagment ), The code to run in CPU cores are arm64 )
U-boot boot-loader - v2020.01 ( built for arm64 )
2) - Linux Kernel - MainLine 5.6-rc7 ( built for arm64 )
3) - UserSpace - Devuan Beowulf ( for arm64 )
4) - ChangeLog - Beowulf,Add PanFrost Kernel Drivers,created Kernel deb packages
5) - Problems & to be done - This Image is beign tested, for stability, and will also start to be tested for features, audio, camera, display,mpcie,sdcard speeds, etc
1) BootLoader( ATF + u-boot )
Disk Partitioning scheme:
# parted /dev/mmcblk1
(...)
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size Type File system Flags
1 32.8kB 4129kB 4096kB idbloader
2 8389kB 12.6MB 4194kB uboot
3 12.6MB 16.8MB 4194kB none
4 16.8MB 130MB 113MB ext2 boot boot, esp
5 134MB 1700MB 1566MB ext4 rootfs
a) - Bootloader( Arm Trusted Firmware + U-Boot ),
1st partition( starting at sector 64, til sector 8063 ) 'idbloader.img'
2nd partition( starting at sector 16384, til sector 24575 ) 'uboot.itb'
3rd partition( starting at sector 24576, til sector 32767s ) 'none - empty'
a1) - The Bootloader will search for a file called 'boot.scr', and after initialize the u-boot environment, will execute that script..
a2) - In 'boot.scr', for this image, it will point to 'RockPi4A' Device Tree Binary File by default( was tested there.. )..
a3) - If you have other board than 'RockPi4A', exe: 'rk3399-khadas-edge', please Read Bellow in the 'Notes Section'..
b) - 4th partition( starting at sector 32768 ), is mounted as '/boot', and contain 'boot.scr' refered in a1),a2).
c) - 5th partition( starting at sector 262144 ) is mounted as rootfs '/'
NOTA!
The Bootloader in a) usually takes ~1MiB( idbloader.img + uboot.itb )..
Each time a bootloader is built, all area [ sectors 64 - 32767 ], needs to be clean first( so that you can flash the new bootloader.. because could still be there any bits of the previous one.. which could lead to unpredictable consequences.. ).
In this case as you see above we are using only partition 1, and 2 of the bootloader.
If you have Other Board than 'RockPi4A', situation described in a3):
The 'boot.cmd' script( format, Human Readable ):
setenv macaddr 42 6A C3 80 24 65
#setenv console tty1
#setenv stdout serial,vga
#setenv stderr serial,vga
#setenv scriptaddr 0x00500000
#setenv kernel_addr_r 0x02080000
#setenv fdt_addr_r 0x01f00000
setenv devtype mmc
setenv devnum 1
part uuid ${devtype} ${devnum}:5 uuid
setenv bootargs earlyprintk earlycon=uart8250,mmio32,0xff1a0000 swiotlb=1 coherent_pool=1m net.ifnames=0 biosdevname=0 console=ttyS2,1500000n8 root=PARTUUID=${uuid} ro fsck.repair=yes rootwait
if ext2load ${devtype} ${devnum}:4 ${kernel_addr_r} vmlinuz; then
if ext4load ${devtype} ${devnum}:5 ${fdt_addr_r} /usr/lib/linux-image-5.6.0-rc7/rockchip/rk3399-rock-pi-4.dtb; then
fdt addr ${fdt_addr_r}
fdt resize 65536
fdt set /ethernet@fe300000 local-mac-address "[${macaddr}]"
booti ${kernel_addr_r} - ${fdt_addr_r}
fi;
fi
Write this Image, to a sd-card, then mount it, and change the 'boot.cmd' script to point to your board..
# You can find a list of supported boards in: '/usr/lib/linux-image-5.6.0-rc7/rockchip'
# Edit the file 'boot.cmd', with 'vi' for example.
# change the line:
if ext4load ${devtype} ${devnum}:5 ${fdt_addr_r} /usr/lib/linux-image-5.6.0-rc7/rockchip/rk3399-rock-pi-4.dtb; then
to
if ext4load ${devtype} ${devnum}:5 ${fdt_addr_r} /usr/lib/linux-image-5.6.0-rc7/rockchip/your-board; then
Save the file,
# Generate the real script file( binary ), 'boot.scr'
mkimage -C none -A arm64 -T script -d boot.cmd boot.scr
2) - Linux Kernel
Packages:
Linux Kernel 5.6-rc7:
root@RockPi4A:~# dpkg -l |grep -E "(linux-.*(headers|image|libc-dev))"
ii linux-headers-5.6.0-rc7 5.6.0-rc7-1 arm64 Linux kernel headers for 5.6.0-rc7 on arm64
ii linux-image-5.6.0-rc7 5.6.0-rc7-1 arm64 Linux kernel, version 5.6.0-rc7
ii linux-libc-dev:arm64 5.6.0-rc7-1 arm64 Linux support headers for userspace development
The target will be to reach, at least Linux kernel 5.6, improve the Device Tree Bindings, when possible..
3) - UserSpace -Users & Passwords:
1) root - password 'toor'
2) 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
a) kernel update to 5.6-rc7,
b) Beowulf Userspace,
c) Panfrost Kernel Graphics Driver,
d) Power provided by QUALCOMM QUICK CHARGE 2 or 3 was detected and Working
f) Now the image contains traditional kernel deb-packages( .deb )
5) - Problems and testings to be done..
a) After migration to beowulf, its impossible, for now, to automount zramfs as swap, automatically.. you need to issue
swapon -a
it could be related with several packages, including those( most probably): init init-system-helpers initscripts insserv eudev mawk sed
This problem does not occur in RPi1 Image
b) - Testing is needed, on camera interfaces, display Interface, HDMI( but its working, resolution needs fix's ).
c) - Testing is needed on Video and Audio.
d) - Testing is needed on mpcie( M.2 ) interface, and also on emmc( Flash ).
e) - Compile UserSpace Mesa Panfrost Driver stack( userspace counterpart for kernel space one.. )
f) - Check USB2/USB3 functionality( USB3 was tested already with a mouse and a keyboard, but more serious tests will ne needed )
g) - Check Power on via tipical USB Type-C
For this image, to reach more Supported Hardware and Users, your help is also needed
Testing this image, and posting your feedback.
SHA256sum:
$ sha256sum devuan-beowulf-rockpi4A-arm64-0.2-beta.img.xz
f6f24a29797f22b816b9e6318007ac4db0b706aed40a1b0023b8869cc1d73fb4 devuan-beowulf-rockpi4A-arm64-0.2-beta.img.xz
Best Regards,
tux
Hello Illegalum,
I created a hardkernel version, if you could install it, to test, I apreciate
This share here, contains the deb packages to try the hardkernel compiled kernel, and also the new boot.ini file..
Backup first your boot.ini file:
cp boot.ini boot.ini.backup
Then copy to the sdcard, the contents of the shared folder:
linux-headers-4.14.165_4.14.165-4_armhf.deb
linux-image-4.14.165_4.14.165-4_armhf.deb
linux-libc-dev_4.14.165-4_armhf.deb
Copy also 'boot.ini.new' to /boot,
then boot the board, install the new kernel:
dpkg -i *.deb
change 'boot.ini.new' to 'boot.ini':
mv /boot/boot.ini.new /boot/boot.ini
then restart and check if that kernel, works well in your board,
if it doesn't:
dpkg -l |grep -E "linux-.*(image|headers|libc-dev)"
See the 4.14.165 installed packages and remove them:
apt-get remove --purge linux-headers-4.14.165 linux-image-4.14.165 linux-libc-dev
get back your 'boot.ini' file:
mv /boot/boot.ini.backup /boot/boot.ini
And restart..
It would be nice to get some feedback from you, since you own one of this boards
Best Regards,
hello wtf,
Can you boot and have Ethernet in Devuan xu4 image?
Because that seems to be a difference,
Illegalum detected that he doesn't have Ethernet, on the devuan xu4 image.
Perhaps because of Power supply differences,
The supply voltage to the usb-ethernet controller comes from different places and so, Ethernet is not power properly..
Can you check with devuan xu4 image?
if that doesn't work( xua devuan image...ethernet ), can you install my compiled kernel and check if everything works then?
Thanks in advance,
EDIT: there are there a HC1 dts file even in hardkernel '4.14.165':
https://github.com/hardkernel/linux/blo … oidhc1.dts
hello wfk,
Can you post your .config file, the one you are using to compile hardkernel?
Thanks in Advance,
Best Regards,
tux