nberlee / talos

Friendly fork for Turing RK1 on Talos
https://www.talos.dev
Mozilla Public License 2.0
61 stars 0 forks source link

Boot from NVMe #6

Closed docbobo closed 4 months ago

docbobo commented 4 months ago

Thanks for all the work on this.

As far as I can tell from my experiments, it's not currently possible to install Talos onto an NVMe: flashing is only possible to the eMMC anyway, and changing the install disk to the NVMe doesn't seem to have any effect either. Is that a correct assumption? And if so, do you plan to change that? Or is this project mostly done, now that everybody seems to be waiting for Talos 1.7?

Maybe related to that, a talosctl reset seems to leave the node in an unbootable state for me and I have to flash the eMMC again. Is that the current behavior or am I doing something wrong here?

RealKelsar commented 4 months ago

It is very possible, i am running those. :) Basically you flash the basic RK1 boot stuff to the emmc and write the talos image to the nvme. Everything after that is following the Documentation.

Sadly right now i can not remember where the bootloader image did come from that I use... but the filename is u-boot-rockchip-spi.bin

I guess somebody else knows.

docbobo commented 4 months ago

Hmm. I tried something very similar:

Afterwards, the system booted from mmcblk0, even though I believe I read that the boot order would be nvme0, then mmcblk0. But maybe that's just different for the u-boot that comes with this Talos image?

Anyway, I believe I saw the u-boot-rockchip-spi.bin mentioned over on Discord. Let me see if I can make progress with that.

docbobo commented 4 months ago

Nevermind, found the instructions: https://github.com/nberlee/talos/blob/turingrk1/website/content/v1.6/talos-guides/install/single-board-computers/turing_rk1.md#booting-from-usb-or-nvme