Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[Linux] Unable to boot from SATA

152

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
152

【Linux】 Unable to boot from SATA

Posted at 8/23/2022 16:48:22      View:3123 | Replies:6        Print      Only Author   [Copy Link] 1#
Last edited by v.redin In 8/23/2022 16:50 Editor

There is such a problem - by no means can we boot from external SATA. Perhaps we have something wrong with the launch line or with the disk layout, but the system hangs tightly when trying to boot and says that it cannot find such a UUID, although it definitely exists and this is the UUID of the disk on which the kernel, DTB and extlinux that we are running.
In u-boot I do:
scsi scan
scsi dev 0
sysboot scsi 0:1 any ${scriptaddr} /boot/extlinux/extlinux.conf
System start to booting and after kernel initialization, the system unable to find rootfs - does not find the UUID of the desired disk. Kernel startup line:
bootargs = "earlycon=uart8250,mmio32,0xfeb50000 console=ttyFIQ0 irqchip.gicv3_pseudo_nmi=0 root=UUID=0cf25c02-214a-44b2-96a1-e8afedc1db87 rootfsgrouptype=ext4 rw rootwait coherent_pool=1m systemd.gpt_enauto swap=0 ";
Can you please tell me how to properly partition a SATA disk and what startup line should I use to successfully boot from an external SATA?
Reply

Use props Report

152

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
152
Posted at 9/1/2022 15:22:38        Only Author  2#
I booted - if you obtained the same problem - you should previously done every "=m" in linux defconfig to "=y". And use such bootcmd:
bootargs = "earlycon=uart8250,mmio32,0xfeb50000 console=ttyFIQ0 irqchip.gicv3_pseudo_nmi=0 root=/dev/sda2 rootfstype=ext4 rw rootwait coherent_pool=1m";
Reply

Use props Report

51

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
51
Posted at 12/5/2022 19:45:29        Only Author  3#
Hello,

Could you please tell how did you obtain SATA device visible in uboot for RK3588J board?
For my config I can not see any devices after this command:
scsi scan

Maybe you have used specific uboot binaries/sources?

Thanks.
Reply

Use props Report

122

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
122
Posted at before yesterday 00:59        Only Author  4#
人生にはいろいろな可能性があります。挑戦すれば、成功するかもしれません。200-901試験は多くの人にとって重要な試験です。そして、難しいです。しかし、200-901復習教材を利用すれば、ずべてのことは簡単になります。つまり、200-901試験をパスしたい場合、200-901復習教材は不可欠です。
Reply

Use props Report

125

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
125
Posted at before yesterday 06:03        Only Author  5#
GoShikenの Oracleの1Z0-1085-25試験トレーニング資料を選ぶなら、君がOracleの1Z0-1085-25認定試験に合格するのを保証します。一人あたりは自分の選択によって、成功する可能性があります。GoShikenを選ぶのは成功に導く鍵を選ぶのに等しいです。長年の努力を通じて、GoShikenのOracleの1Z0-1085-25認定試験の合格率が100パーセントになっていました。GoShikenを選ぶのは、成功を選ぶのに等しいと言えます。
Reply

Use props Report

131

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
131
Posted at yesterday 07:59        Only Author  6#
The article left a lasting impression on me. This PDF C_BCBAI_2502 cram exam enabled me to get a promotion and salary increase. It's free for everyone now. Wishing you all success in your career advancements!
Reply

Use props Report

138

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
138
Posted at yesterday 21:44        Only Author  7#
By reading this article, I’ve developed a new understanding of both my work and life. Best of luck! Sharing the JN0-232 real exam questions materials with you all.
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