Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[Linux] Can't boot from SATA/NVMe/USB

152

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
152

【Linux】 Can't boot from SATA/NVMe/USB

Posted at 8/11/2022 19:19:16      View:1497 | Replies:1        Print      Only Author   [Copy Link] 1#
I cant' understand - why I can't boot from SATA for example, using your SDK.
I have done everything like always - created bootable SATA device, plug it, then:
```
setenv bootcmd 'scsi scan; scsi dev 0; ext4load scsi 0:1 0x00400000 /boot/Image-5.10.66;ext4load scsi 0:1 0x0a100000 /boot/rk3588-firefly-itx-3588j.dtb;setenv bootargs console=ttyFIQ0 root=/dev/sda1 rw rootwait; booti 0x00400000 - 0x0a100000'
run bootcmd
```
And I can see that bootargs var is ignoring. Then, to prove it, I wrote "console=nothing", but it booting in my SDCARD like always. How I can see - bootargs var completely ignoring.
I tried to find kernel option CMDLINE_OVERRIDE that can cause such effect, but there is no such option you using to compile kernel. So, I can't understand what to do...
Reply

Use props Report

152

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
152
Posted at 8/11/2022 19:23:29        Only Author  2#
I can't use such an option like hardcoding my BOOTCMD in Linux Device Tree, because I need to create hot boot from each bootable device - I need to have an ability to boot from SD/SATA/NVMe/USB/EMMC - without recompiling something.
Also I need GUI for this process...
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list