Jump to content

All Activity

This stream auto-updates

  1. Today
  2. Hi everyone, I'm new to creating my own images and I'm learning this just because I'm interested in it. I am trying to build ubuntu 24.04 for my rpi3b using the build configuration for rpi4b. Now I'm trying to automate the process of the first launch (skip the selection of bash, zsh, creating a password for root, creating a regular user, etc.). In one of the topics, I found out that I can delete "rm -rf/root/.not_logged_in_yet" And the system will not ask for the initial setup, but to make all the necessary changes for me, I wrote a small function in customize-image.sh: SettingSystemFirtsRun() { #disable defaut script sudo rm -rf /root/.not_logged_in_yet #setting regul user echo "add user $_userName" sudo useradd -m -c -s /bin/bash "$_userName" "$_userName" -p "$_userPass" #change root pass echo 'change root passssss' echo "root:$_rootPass" | sudo chpasswd # Set hostname permanently echo "Setting hostname to $_Hostname" echo "$_Hostname" > /etc/hostname hostname -b "$_Hostname" # Update hosts file sed -i "s/127.0.1.1.*/127.0.1.1\t$_Hostname/g" /etc/hosts } But when the system starts, I still do not see the directory of the user I am creating in /home, while the user himself is being created. The most important thing is that I really want to implement user creation at the assembly stage, although I am less and less convinced that this is even possible... I do not rule out that there are more concise ways to solve this problem, so I will be glad of any advice, good luck to all. P.S. I read the documentation, but I couldn't find a solution there.
  3. Andrew, thanks for your feedback. I use the dtb released by armbian, I even try to get the dtb from the last image with same kernel, but it is the same. In fact the dtb file for Orange pi 5 is the same that the one I have (sha256 was clear !) I saw this other bug lately : https://github.com/rockchip-linux/kernel/issues/306 You have a Rock5B+ which is not the same thant OrangePI5, I run RK3588s, and you run rk3588. This means that the hardware even if near is not presented to the kernel the same way, ans so this may work for you, ans not for me in 6.1.115. I'm quite sure the issue happened with 6.1.115 kernel, because I encoded x265 easily 1 year ago with previous kernel.
  4. I dropped back to Armbian_24.5.1_Bananapim5_bookworm_current_6.6.31_xfce_desktop.img and while it working, the boot find order of the drives is still random, no two boots is a row report the same lsblk order of disk vs sd* assigbnents. Only by using LABELS have I succeeded in getting them (7 drives) mounted in /etx./fstab. After that dated install an apt upgrade spent about an hour updating 270 some pkgs Just tried to get some of the other partitions mounted and usable, using LABEL= to ID them, got 2 of the 3 on a 1T toshiba drive, but found swapoff -a works, but swapon -a does not, won't even restore whats found at boot. This is from fdisk, also a reboot changed /dev/sdd into /dev/sdb Command (m for help): p Disk /dev/sdb: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors Disk model: MQ01ABD100V Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disklabel type: dos Disk identifier: 0x481e1363 Device Boot Start End Sectors Size Id Type /dev/sdb1 2048 102402047 102400000 48.8G 83 Linux /dev/sdb2 102402048 1748725759 1646323712 785G 83 Linux /dev/sdb3 1748725760 1953523711 204797952 97.7G 82 Linux swap / Solaris but its not swapon-able, note the dos disklable, it s/b gpt, it was done with gparted. ?????? Is there a conversion utility to make gpt or should I wait on working keyboard/mouse kit and let gparted blow it away? So I did, changed 3 parts to 2 and refornatted both and found that swapon should use label's but fails and the reboot to do that moved the toshiba drive from /dev/sdb to /dev/sdd. Howinhell can I stabilize tiis?????
  5. This remembers me a recent set of changes to the DWC3 driver for RK3399 to fix exactly these kind of issues exposed here, including the single-orientation problem, plus some more issues with the displayport over usb type-c functionality. The PR had a lot of comments but finally it got merged because both the author and me tested the whole apparatus and it proved to improve significantly the situation on rk3399: https://github.com/armbian/build/pull/8271 Patches should address some issues in the dwc3 driver in general, and I see from the device tree that rk356x uses the snps,dwc3 compatibility string, so probably also rk356x benefits from them as well. It would although require some device tree tinkering: I tested on Orange PI4 LTS board and the device tree fixes are within this hunk; rk356x-based devices can probably share several declarations but that depends upon the rk356x capabilities. I would start from changing dr_mode to otg and removing regulator-always-on; property from the vbus supply.
  6. Upgrade to Trixie went fine, but pressing the user-button has no effect. I won't look into it further now. I could try with ROCK5B, has a dedicated power button, but also needs to stay active 24/7 as server actually.
  7. Disabling the GPU solves the problem, but I don't know the root cause of the issue.
  8. hi there, I'm a complete Linux noob so please forgive my ignorance. But I do have 25+ years experience in IT so am relatively conversant with basic principles - so please be patient I did try to search for any previous threads but couldn't find any. I'm trying to setup a RADXA Rock 5 ITX with OpenMediaVault for my NAS. I have a 2TB NVMe m.2 SSD that I'll use for the OS. For the NAS storage I'm using 4x Western Digital 16TB SATA III drives. I downloaded the Armbian 25.2.2 bootable image from https://www.armbian.com/radxa-rock-5-itx/ and used Balena Etcher (the legit version from Balena-io) to make my bootable microSD card. When I boot, I receive an error message of "failed to mount /dev/mount/mmcblk0p1 as root file system" I'm guessing this is because there is no emmc on this board other than what's provided for RooibOS flash? Do I just need to reconfigure the Armbian Bookworm setup script to use / look for the NVMe m.2 SSD instead of the emmc? If so, is there a way to do that on a Windows PC? If not, I may just have to go with the standard RooibOS install using Armbian Noble just to get a Linux system up and running, then edit the Armbian setup script, reflash the Rock 5 ITX and start again? Or is there something else I'm missing? Thanks in advance for your help.
  9. @twwn Add to rk3566-radxa-zero-3.dtsi --> snps,usb2-lpm-disable; https://github.com/armbian/build/blob/main/patch/kernel/archive/rockchip64-6.12/dt/rk3566-radxa-zero-3.dtsi#L495 &usb_host0_xhci { dr_mode = "peripheral"; + snps,usb2-lpm-disable; status = "okay"; }; See if it makes a difference. Information: https://www.kernel.org/doc/Documentation/devicetree/bindings/usb/dwc3.txt
  10. Just to clarify, you did try the Armbian vendor build as well or only Radxa's vendor build?
  11. Thank you for making us aware of the problem. But kindly also search the forum and other publicly accessible places of information: https://disk.yandex.ru/d/kK6KIqHShRHLyw/20230620/u-boot-station-m2-EDK2-EFI.img and higher level directories @Igor Can you update the website, please?
  12. Hi subhan i don't wait kernel update , i just use a script who create a user-overlay who enable the sound on the OPI zero 2w via HDMI , i2S via the 40 pin hat or jack connector via the expansion board and the µc is a H618 In fact the main board except for HDMI have no output for sound , so i think it's better to stay with a user-overlay ☺️
  13. Thanks!! Thanks for the overview. ES8388 Codec Driver Something to add to my previous comment here (2 comments up). I've noticed that, with the edge kernel, ALSA calls the ES8388 the 8328 instead. I've also seen the 8328 referenced in the devicetree .dtb file (via a hex viewer). I happened across where it appears to be, in two repositories: https://github.com/armbian/linux-rockchip/tree/rk-6.1-rkr5.1/sound/soc/codecs https://github.com/torvalds/linux/tree/master/sound/soc/codecs In both of those directories, there is an es8328.c, es8328.h and other es-... numbers in that range, but no es8388 file. To any developer reading this, it might be worthwhile to create es8388.h and es8388.c as copies of their respective es8328 counterparts, then have the es8388 files used in the build and referenced in the devicetrees instead of the es8328. This would create the clear (and correct) workspace to make the necessary modification(s) to fix the issue (of the volume apparently being right-shifted by 7 or 8 bits - re my previous comment). I've noticed in the es8328.h file, there are several configuration constants defined. It could be as simple as modifying one of those in the es8388.h to match the actual es8388 codec.
  14. Hi I got error when applying the patch you shared. Can I know how to fix it? Ca
  15. In page station m2 -armbian say: Important. For the new images to work, it is necessary to update the u-boot in eMMC on M2\P2. The new version of u-boot is compatible with the existing official versions of Station and Ubuntu, which are released by Firefly. To upgrade to the new version of u-boot, you need to follow several steps. 1. Download a special version of the image from the link. download link but the download link: Nothing found There's a typo in the link, or the owner deleted the files or restricted access to them. Please update the download link,thanks!
  16. Yesterday
  17. They did. Or at least the kernel is built, and this was reported (https://linux-arm-kernel.infradead.narkive.com/WmgM10BC/rfc-v1-0-5-arm-initial-support-for-marvell-armada-1500) . This family of chipset includes the original Google TV and some others.
  18. Hello brent, have you got a hint, on how it could be done? Best regards Manuel
  19. I'm sure it is possible. I'd be happy to test your patch and submit it so it becomes part of the standard Armbian distro image. - brent
  20. Hello! Is there a possibility to change the default LED0 behaviour of the RTL8201F PHY? Here is the Datasheet: https://file.elecfans.com/web1/M00/99/0F/o4YBAF0VytaAI7ezABH66fmIRIg854.pdf?filename=RTL8201F-VB-CG.pdf And this is the relevant register: It states, that "11" is the default - but I think it is changed to "00" during driver initialization - is that possible? I would like to change it to "01" - is this somehow possible without recompiling the driver? Thank you! Best regards, Manuel
  21. “Looks like the 6.6.x branch still has stability issues on sunxi64 — falling back to legacy 6.1 seems safest until patches land. Curious if anyone’s tested with 6.7+ to see if it’s resolved?”
  22. Yes, the vendor image was compiled by myself. I'm not that bothered by the orientation bug, but the inability to operate a hub given a single USB port badly curtails the use of the SBC. Unfortunately device tree issues are entirely out of my league. I've also edited my post to update the build script diffs. For one, I wasn't actually using ATF master, apparently it was just a cached v2.13. Armbian's build script (at least the rockchip64 part) actually breaks if you set ATFBRANCH='branch:master'. I'll try to get the minor fixes merged, but unfortunately BOOT_SCENARIO="binman-atf-mainline", while now working fine for current and edge, would break vendor as it needs to be set globally.
  23. “Looks like I2S support for the H618 isn’t in the current overlays yet — you may need a custom DTB or wait for kernel updates. Checking mainline Linux patches for sun50i-h618-i2s could be the next step.”
  24. “That’s a really cool find! Running Armbian on such obscure hardware sounds tricky, but maybe checking if anyone has ported Linux for similar Marvell Armada devices could give you a starting point.”
  25. thank you for the extensive testing and superb documentation, @twwn You do know how to compile your own images, right? Did you try vendor kernels with an Armbian image already? it's very odd that orientation of the USB-C cables matters. I thought it was one of the design principles of USB-C that it shouldn't.
  26. thank you for reporting back, @ER Samson
  1. Load more activity
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines