Jump to content

Sune

Members
  • Posts

    10
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Ah! was that simple huh. Thanks vidplace7! Got it to work once i removed the image on the flash. But I have to put it in maskrom mode if i want to use the SPI in the future which is a pain. Ah well it is fine Also lsusb now works root@luckfox-lyra-zero-w:~# lsusb Bus 001 Device 004: ID 0bda:8152 Realtek Semiconductor Corp. RTL8152 Fast Ethernet Adapter Bus 001 Device 002: ID 1a86:8091 QinHeng Electronics USB HUB Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  2. Ehm I just noticed that I'm running 6.1.99 kernel I am using 6.1.115 otherwise. I am guessing U-boot and boot paritions are where I am headed next. This is getting quite heavy for a newbie like me DO NOT FOLLOW MY PREVIOUS INSTRUCTIONS
  3. Just so I don't forget. To be able to get it working currently I have to do this. Yeah yeah, hate me all you want, I don't know this shit Your SD-card will be fried and wanna give up after this many shitty writes. I always wonder why everyone decided sd-cards were a good idea... Flash with a known good image. Example Luckfoxs own or this from platima (https://github.com/platima/SBC-Images/tree/main/Luckfox/Lyra/Lyra Zero W) verify it with sudo fdisk -l /dev/sdX and it should look like this Device Start End Sectors Size Type /dev/sdg1 8192 16383 8192 4M Linux filesystem /dev/sdg2 16384 40959 24576 12M Linux filesystem /dev/sdg3 65536 2037759 1972224 963M Linux filesystem build your own img. sudo losetup -fP --show armbian.img Open gparted and delete the sdg3 and create a new partition to like 4-6GiB so we are able to write to the partition free space before should be 12MiB Then write to the /dev/sdX3 partition (Make sure you are pointing to the right device so you don't overwrite your USB drive with all the important photos on it ) sudo dd if=/dev/loopXp1 of=/dev/sdX3 bs=4M status=progress Plug that sd-card in and hook up an serial connection and boot it and it will boot up in and you should have this in about 5 mins _ _ _ __ __ _ _ _ /_\ _ _ _ __ | |__(_)__ _ _ _ ___ _ _ _ _ ___ / _|/ _(_)__(_)__ _| | / _ \| '_| ' \| '_ \ / _` | ' \___| || | ' \/ _ \ _| _| / _| / _` | | /_/ \_\_| |_|_|_|_.__/_\__,_|_||_| \_,_|_||_\___/_| |_| |_\__|_\__,_|_| v25.11 rolling for Luckfox Lyra Zero W running Armbian Linux 6.1.99 Packages: Debian stable (bookworm), possible distro upgrade (trixie) Updates: Kernel upgrade enabled and 1 package available for upgrade Support: DIY (custom image) sed: -e expression #1, char 0: no previous regular expression Performance: Load: 49% Uptime: 2 min Memory usage: 7% of 467M CPU temp: 36°C Usage of /: 6% of 29G Commands: Configuration : armbian-config Upgrade : armbian-upgrade Monitoring : htop
  4. I see some new stuff got added into the build on git. also the RV1106 and RV1103 which I both have. So will be able to try it. Currently building a new img to try. Will take longer than my lunch break though, so won't be able to test it. Hopefully someone has fixed the sd card partitions otherwise I will have to do it manually again.
  5. Building a new image did not solve the issue. no output on lsusb when plugging in anything. no output related to usb on dmesg. I personally think it is related to missing dts information. I did find this: https://github.com/armbian/linux-rockchip/blob/rk-6.1-rkr5.1/arch/arm/configs/rk3506-usb-otg.config And this: https://github.com/armbian/linux-rockchip/blob/rk-6.1-rkr5.1/arch/arm/configs/rk3506-usb-host.config Which I hope will enable me to use the usb. Specifcially: CONFIG_USB_COMMON=y & CONFIG_USB_GADGET=y & CONFIG_USB=y Will see what I can do after work today since it is friday Also for my own information, Here is the dtsi for the rk3506: https://github.com/armbian/linux-rockchip/blob/rk-6.1-rkr5.1/arch/arm/boot/dts/rk3506.dtsi And also this one: https://github.com/armbian/linux-rockchip/blob/rk-6.1-rkr5.1/arch/arm/boot/dts/rk3506b-luckfox-lyra-zero-w-sd.dts
  6. I fixed the shitty dd stuff i did previously. I got it to boot now. It seems that the partitions need to be included in the image for it to work. From inside the armbian image: mmcblk0 179:0 0 28.9G 0 disk ├─mmcblk0p1 179:1 0 4M 0 part ├─mmcblk0p2 179:2 0 12M 0 part └─mmcblk0p3 179:3 0 28.8G 0 part /var/log.hdd I will build my own img and see if there is anything I can do about the non working usb. I think it might likely be related to dts
  7. I see now with some examination this: [ 1.995057]3 614e0000-0000-4b53-8000-1d2800995194] No filesystem could moun ext4 [ 1.995269] [ 1.9g: VFS: Unable to mount root fs 002577] CPU2: stopping The reason for the missing characters is likely the shitty CH340 I have connected as the serial monitor. Should still be able to see the issue.
  8. So I am not a person to give up on this I basically took the partition scheme of a working ubuntu img and inserted the armbian partition and got further along. I changed it to below and got further along! Check the log for more information. Hint it threw some panic stuff, I wasn't expecting much but got further along. Hope someone can see what is wrong and help me troubleshoot. sudo fdisk -l /dev/sdd Disk /dev/sdd: 28.85 GiB, 30979129344 bytes, 60506112 sectors Disk model: Storage Device Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Disk identifier: 863CE3B9-B148-45D1-B850-79AC22F0EB72 Device Start End Sectors Size Type /dev/sdd1 8192 16383 8192 4M Linux filesystem /dev/sdd2 16384 40959 24576 12M Linux filesystem /dev/sdd3 65536 60504063 60438528 28.8G Linux filesystem screenlog.log
  9. Hello everyone! Saw that some luckfox boards were getting supported and I was like: YES!!! Flashed an sd-card with the community image. Latest I could find is 25.11.0-trunk.413. And plonked in my working Luckfox Lyra Zero W and it failed to boot. From what I gather there seems to be a missing partition called "misc" and I think it is expected about after the current unallocated 16MB(16,777,216 bytes). I tried creating a 4MB partition after the current unallocated space but it complained about something called "Magic" and my limited u-boot/rockchip/embedded linux experience made me get lost there. This is the serial output: Where the "No misc partition" is where I began. My current board has buildroot flashed to the SPI and boots if i don't have any sd-card inserted. DDR 0ac6b06a19 typ 24/11/13-17:22:47,fwver: v1.04 tREFI:4x, sr_idle:93, pd_idle:13 PHY drv:clk:40,ca:48,DQ:40,odt:240 vrefinner:50%, vrefout:50% dram drv:40,odt:120 sr_dq:0, sr_ca:0, sr_clk:0 rg:0xc-0x1-0x2, 0x3d-0x0-0x2,status:a007 rdtrn:0x14-0x30-0x4c(0x38) wrtrn:0x3-0x20-0x3d(0x3a) DDR3, 750MHz BW=16 Col=10 Bk=8 CS0 Row=15 CS=1 Size=512MB out U-Boot SPL board init U-Boot SPL 2017.09-g4d88b0a #hxj (Jul 30 2025 - 20:08:42) sfc cmd=03H(6BH-x4) SPI Nand ID ef aa 22 unrecognized JEDEC id bytes: ff, ef, aa Trying to boot from MMC1 No misc partition spl: partition error Trying fit image at 0x4000 sector ## Verified-boot: 0 ## Checking op-tee 0x00001000 ... sha256(93603ca22c...) + OK ## Checking u-boot 0x00100000 ... sha256(606b868a00...) + OK ## Checking fdt-1 0x0018baf0 ... sha256(6ae9f912c7...) + OK Jumping to U-Boot(0x00001000) I/TC: I/TC: OP-TEE version: 3.13.0-958-g46dcf51e88a #chenjh (gcc version 10.2.1 20201103 (GNU Toolchain for the A-profile Architecture 10.2-2020.11 (arm-10.16))) #2 Thu Mar 6 10:17:27 CST 2025 arm, fwver: v2.10 I/TC: Status: cluster=0xc00, core=0xe100, bootcpu=0 I/TC: Next entry point address: 0x03f011a7 I/TC: OP-TEE memory size: TEEOS 0x5e000 TA 0x1000 SHM 0x1000 I/TC: Primary CPU initializing I/TC: Primary CPU switching to normal world boot
  10. Do you have a USB to TTL/UART device? You would then be able to check what happens, you might even get a console through the serial connection if it starts up.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines