inindev / odroid-m1 Goto Github PK
View Code? Open in Web Editor NEWdebian arm64 linux for the odroid m1
License: GNU General Public License v3.0
debian arm64 linux for the odroid m1
License: GNU General Public License v3.0
Hello,
thanks for this project. I'm interested in using the system you prepared for building a NAS.
I got information from odroid forum about booting from nvme:
In order to start the system from NVME, the following prerequisites are required:
Is it true or it works with petitboot? For me petitboot says "Waiting for device discovery" and I can't do anything with it when Bookworm is flashed on nvme (or SSD). To boot your system I need to disable petitboot.
Thanks!
I followed these 3 steps.
wget https://github.com/inindev/odroid-m1/releases/download/v12.0.2/odroid-m1_bookworm-1202.img.xz
before connecting the device
ls -l /dev/sd*
ls: cannot access '/dev/sd*': No such file or directory
after connecting the device
ls -l /dev/sd*
brw-rw---- 1 root disk 8, 0 Apr 10 15:56 /dev/sda
note: for Mac the device is /dev/rdiskX
sudo sh -c 'xzcat odroid-m1_bookworm-1202.img.xz > /dev/sdX && sync'
After all these steps, Odroid cannot boot from this SD card
Is there anything else that needs to be done?
Thank you
Karel
I went for the vacation. When I turned my M1 on again after coming back, it didn't boot. I can only see blinking or not blinking "_" character when HDMI is connected. The board itself and SPI is most likely not broken as it still boots from SD card. The RTC battery was inserted just right after I bought it (which was just like a month or 2 ago).
Found this thread:
https://forum.odroid.com/viewtopic.php?f=216&t=46130
They suggest to add pcie_aspm=off
to kernel command line parameters. I was struggling a bit but finally found this:
https://github.com/inindev/odroid-m1/blob/main/debian/make_debian_img.sh#L138
So I started a system from SD card, mounted the nvme as chroot-debian and run:
mount -o bind /dev chroot-debian/dev
mount -o bind /proc chroot-debian/proc
chroot chroot-debian /bin/bash
changed the kernel parameters in /boot/boot.txt and issued the command from the comment at the top of the file (I think it was /boot/mkscr.sh?)
So the result is the same: blinking or not blinking "_", depends how it decides to boot this time. Blue LED is blinking, network interface is blinking, I can hardly see any activity of nvme's green led.
I could see this behavior in the past, but in the past I managed just to restart the board and it worked. Now it looks quite dead. Any ideas?
Line 32 in the script is unable to find the .dtb
local dtb=$(download "$cache" 'https://github.com/inindev/odroid-m1/releases/download/v12.0/rk3568-odroid-m1.dtb')
I tried downloading the image from <wget https://github.com/inindev/odroid-m1/releases/download/v12.0/bookworm.img.xz>
This failed. Where can I find your image to try?
Thanks, Steve
Is there any need or there are no big changes made on newer u-boot
Thanks !
The uboot read-me says
Once the spi flash has been written, the boot sequence should prefer removable mmc media if present, then boot m.2 nvme ssd.
Does this mean the microSD card is ignored, or is that also checked before booting the nvme ssd.
Also, if i update the spi flash, can it load and execute an OS on the nvme ssd without uboot on the drive?
Just a quick note, I am running the image I built and a quick look says, things are good. I will test your published image when I get a chance. Nice!!!!
Hi, this works in the M1S? thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.