-
Notifications
You must be signed in to change notification settings - Fork 0
Add loongson generic 2k0300 device support #9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
5e637f4 to
3155a3f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Please run
cargo fmtonce you finished your change. - Your image does not have a bootloader "installed" to it. You must supply at least a
boot.scrscript if it uses U-Boot (skip this if the U-Boot does automatically discover and boot the media.) - The above is to make sure your image will boot once the storage media is plugged in.
Please post a screenshot showing the device boots with your image written to an SD card, or a USB media.
3155a3f to
7d46e78
Compare
7d46e78 to
63b9e2f
Compare
7f4970a to
c081a36
Compare
Signed-off-by: Ilikara <[email protected]>
c081a36 to
e37c398
Compare
Cyanoxygen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rest of them LGTM. Thanks!
| name = "Generic LS2K0300 Board" | ||
|
|
||
| bsp_packages = [ | ||
| "linux-kernel-loongarch-2k0300-6.12.35" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remember to change this after you build the metapackage.
devices/loongson/2k0300/device.toml
Outdated
|
|
||
| vendor = "loongson" | ||
|
|
||
| arch = "loong_arch64" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why put an underscore? Shouldn't it be loongarch64?
e37c398 to
c0c3879
Compare
Signed-off-by: Ilikara <[email protected]>
warning: unnecessary parentheses around closure body
--> src/topics.rs:101:12
|
101 | .map(|x| (x + "\n"))
| ^ ^
|
= note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
help: remove these parentheses
|
101 - .map(|x| (x + "\n"))
101 + .map(|x| x + "\n")
|
Signed-off-by: Ilikara <[email protected]>
Signed-off-by: Ilikara <[email protected]>
c0c3879 to
245c5da
Compare
No description provided.