Onira
Members-
Posts
26 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
The strange thing is that when I was writing OS to eMMC years ago I had both microSD and eMMC present and they were working properly with this dedicated 5V 2A power supply One is 5V 2A 0.8mm connector (dedicated one) the other I used is an old Stontronics 5V 2A (T5582Dv) used to power RPi, Pine64, NanoPiNeoPlus2 and other things I've used within those years I had it None of them worked for me when I had microSD and eMMC present (it was hanging as I've wrote in the topic) So I connected any other 5V supply to the GPIO, I only have at home a MeanWell RS-100-5 but it is 16A so it's a bullshit that It's needed to power the board; I bet any 5V connected to GPIO would work maybe when connected through GPIO there's a different power circuit so both cards now work? My ODROID C2 is REV0.2 20151218; I don't remember when I bought it but I guess it was in summer 2019 or even earlier
-
after many tryings I thought of connecting other (more powerful) supply when the one dedicated for C2 didn't work nor any micro USB helped I connected heavy supply to GPIO pins and this time it didn't hang when SD and eMMC were present at the same time the board booted from SD and this time it was possible to make chroot I don't see any logical explanation for this situation but it worked my old os C2 is alive 😸
-
$ sudo mount /dev/sda1 /mnt $ sudo mount --bind /proc /mnt/proc $ sudo mount --bind /sys /mnt/sys $ sudo mount --bind /dev /mnt/dev $ sudo mount --bind /dev/pts /mnt/dev/pts $ sudo chroot /mnt/ chroot: failed to run command ‘/bin/bash’: No such file or directory $ sudo chroot /mnt/bin/bash chroot: cannot change root directory to '/mnt/bin/bash': Not a directory $ cd /mnt /mnt$ sudo chroot ./bin/bash chroot: cannot change root directory to './bin/bash': Not a directory
-
I did it first $ sudo mount /dev/sda1 /mnt Before all those --bind mounting $ ls -l /mnt/bin/bash -rwxr-xr-x 1 root root 1346480 Mar 29 2024 /mnt/bin/bash there you go
-
I found nanopineo+2 from someone at my work and borrowed it but I get $ sudo mount --bind /proc /mnt/proc $ sudo mount --bind /sys /mnt/sys $ sudo mount --bind /dev /mnt/dev $ sudo mount --bind /dev/pts /mnt/dev/pts $ sudo chroot /mnt chroot: failed to run command ‘/bin/bash’: No such file or directory
-
ls -l /mnt/sdcard/boot/armbianEnv.txt -rw-r--r-- 1 1011 1011 161 01-04 18:39 /mnt/sdcard/boot/armbianEnv.txt cat /mnt/sdcard/boot/armbianEnv.txt verbosity=1 console=both overlay_prefix=meson rootdev=UUID=015d852a-9602-49c3-9c98-b032271fcc05 rootfstype=ext4 usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u mount | grep sdcard /dev/sdd1 on /mnt/sdcard type ext4 (rw,relatime) blkid | grep sdd /dev/sdd1: UUID="015d852a-9602-49c3-9c98-b032271fcc05" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="c21f0000-01" ambian minimal doesn't seem to have any USB support I don't see any USB device that I connect, SD reader flash drive network card or anything else ls -al /mnt/sdcard/boot/ razem 61308 drwxr-xr-x 3 root root 4096 01-04 18:39 . drwxr-xr-x 20 root root 4096 01-04 12:31 .. -rw-r--r-- 1 1011 1011 161 01-04 18:39 armbianEnv.txt -rw-r--r-- 1 root root 38518 11-17 13:43 boot.bmp -rw-r--r-- 1 1011 1011 8061 11-17 13:40 boot.cmd -rw-rw-r-- 1 root root 8133 11-17 13:43 boot.scr -rw-r--r-- 1 root root 259048 11-25 12:33 config-6.6.63-current-meson64 lrwxrwxrwx 1 root root 26 01-04 17:20 dtb -> dtb-6.6.63-current-meson64 drwxr-xr-x 3 root root 4096 01-04 17:19 dtb-6.6.63-current-meson64 lrwxrwxrwx 1 root root 30 01-04 16:49 Image -> vmlinuz-6.6.63-current-meson64 -rw-r--r-- 1 root root 15287081 01-04 16:52 initrd.img-6.6.63-current-meson64 -rw-r--r-- 1 root root 0 01-04 16:49 .next -rw-r--r-- 1 root root 4429862 11-25 12:33 System.map-6.6.63-current-meson64 lrwxrwxrwx 1 root root 30 01-04 16:52 uInitrd -> uInitrd-6.6.63-current-meson64 -rw-r--r-- 1 root root 15287145 01-04 16:52 uInitrd-6.6.63-current-meson64 -rw-r--r-- 1 root root 27429376 11-25 12:33 vmlinuz-6.6.63-current-meson64 ls -al /mnt/sdcard/usr/lib/modules razem 12 drwxr-xr-x 3 root root 4096 01-04 12:33 . drwxr-xr-x 72 root root 4096 01-04 18:49 .. drwxr-xr-x 3 root root 4096 11-17 13:42 6.6.63-current-meson64
-
Well is there any way to rescue this system?
-
I copied whole /boot directory changing UUID and copied modules to /usr/lib now I get GXBB:BL1:08dafd:0a8993;FEAT:EDFC318C;POC:3;RCY:0;EMMC:800;NAND:81;SD:0;READ:0;CHK:0; TE: 121174 no sdio debug board detected BL2 Built : 11:44:26, Nov 25 2015. gxb gfb13a3b-c2 - jcao@wonton Board ID = 8 set vcck to 1100 mv set vddee to 1050 mv CPU clk: 1536MHz DDR channel setting: DDR0 Rank0+1 same DDR0: 2048MB(auto) @ 912MHz(2T)-13 DataBus test pass! AddrBus test pass! Load fip header from SD, src: 0x0000c200, des: 0x01400000, size: 0x000000b0 Load bl30 from SD, src: 0x00010200, des: 0x01000000, size: 0x00009ef0 Sending bl30........................................OK. Run bl30... Load bl301 from SD, src: 0x0001c200, des: 0x01000000, size: 0x000018c0 Wait bl30...Done Sending bl301.......OK. Run bl301... 1 from SD, src: 0x00020200, des: 0x10100000, size: 0x00011130 --- UART initialized after reboot --- [Reset cause: unknown] [Image: unknown, amlogic_v1.1.3046-00db630-dirty 2016-08-31 09:24:14 tao.zeng@droid04] bl30: check_permit, count is 1 bl30: check_permit: ok! chipid: eLoad bl33 from SD, src: 0x00034200, des: 0x01000000, size: 0x00080f90 f be ad de d f0 ad ba ef be ad de not ES chip [0.235956 Inits done] secure task start! high task start! low task start! NOTICE: BL3-1: v1.0(debug):4d2e34d NOTICE: BL3-1: Built : 17:08:35, Oct 29 2015 INFO: BL3-1: Initializing runtime services INFO: BL3-1: Preparing for EL3 exit to normal world INFO: BL3-1: Next image address = 0x1000000 INFO: BL3-1: Next image spsr = 0x3c9 U-Boot 2019.07-armbian (Sep 02 2019 - 01:17:47 +0200) odroid-c2 Model: Hardkernel ODROID-C2 Soc: Amlogic Meson GXBB (S905) Revision 1f:b (0:1) DRAM: 2 GiB MMC: mmc@72000: 0, mmc@74000: 1 Loading Environment from EXT4... ** File not found /boot/boot.env ** ** Unable to read "/boot/boot.env" from mmc0:1 ** In: serial Out: serial Err: serial Net: eth0: ethernet@c9410000 Hit any key to stop autoboot: 0 => and it stucks, not doing anything more... If I plug any USB with SDcard it reboots and doesn't boot properly
-
the old card has /lib directory while the new has ~lib pointing to /usr/lib is this a matter? I guess I have to copy correct version of modules to the specific directory
-
I have flashed another sd card with 24.11.1 Bookworm Minimal / IOTand upgraded kernel to 6.6.63 please an advice which files / folder shoult I copy?
-
Yes I am reading it and there are 4 things to download but I can't find the first one Is there 4th thing I should download? With those 3 I've downloaded I don't see uInitrd and initrd
-
I just thought that if it's available in repo I can switch between those kernels I have downloaded https://mirror.hostiko.network/armbian/pool/main/l/linux-6.6.63/linux-image-current-meson64_24.11. 1_arm64__6.6.63-Sbff3-D0531-P0ad2-Cf15dH1526-HK01ba-Ve377-B59f0-R448a.deb https://mirror.hostiko.network/armbian/pool/main/l/linux-dtb-current-meson64/linux-dtb-current-mes on64_24.11.1_arm64__6.6.63-Sbff3-D0531-P0ad2-Cf15dH1526-HK01ba-Ve377-B59f0-R448a.deb https://mirror.hostiko.network/armbian/pool/main/a/armbian-firmware/armbian-firmware_24.11.1_all__ 1-SA8dbb-B6c7f-R448a.deb But don't know about root filesystem
-
It's not SD but it is eMMC and I hope replacing /boot will be the same I don't remember how to chroot I've done it over 10 years ago when installing gentoo but it is still alive and don't need to chroot
-
Hello I wanted to change kernel from meson to sunxi[code] $ dpkg -l | grep linux-image rc linux-image-current-meson64 24.11.1 arm64 Armbian Linux current kernel image 6.6.63-current-meson64 ii linux-image-current-sunxi:armhf 24.11.1 armhf Armbian Linux current kernel image 6.6.62-current-sunxi[/code] and after reboot It is not booting What can I do is it possible to copy some files from fresh downloaded image or edit any file to make it boot from sunxi kernel?