Skip to content
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

nanopi-r6c: u-boot: bump to 2025.01 final, with working UMS and SD -> NVMe -> eMMC boot order #7682

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

rpardini
Copy link
Member

@rpardini rpardini commented Jan 8, 2025

nanopi-r6c: u-boot: bump to 2025.01 final, with working UMS and SD -> NVMe -> eMMC boot order

  • nanopi-r6c: enable usage with EXT=uefi-edk2-rk3588
  • nanopi-r6c: u-boot: bump to 2025.01 final, with working UMS and SD -> NVMe -> eMMC boot order
    • also LEDs, networking, more supported compression methods...
    • copypasta reigns supreme. refactor is coming, just not today
    • also hack the u-boot dtsi for consistent-with-Linux-mainline-DT mmc/sd numbering

… NVMe -> eMMC boot order

- also LEDs, networking, more supported compression methods...
- copypasta reigns supreme. refactor is coming, just not today
- also hack the u-boot dtsi for consistent-with-Linux-mainline-DT mmc/sd numbering
@github-actions github-actions bot added size/medium PR with more then 50 and less then 250 lines Needs review Seeking for review Hardware Hardware related like kernel, U-Boot, ... labels Jan 8, 2025
@rpardini rpardini marked this pull request as ready for review January 8, 2025 14:08
@igorpecovnik igorpecovnik added the 02 Milestone: First quarter release label Jan 8, 2025
Comment on lines +52 to +60
function pre_config_uboot_target__r6c_patch_uboot_dtsi_for_ums() {
display_alert "u-boot for ${BOARD}" "u-boot: add to u-boot dtsi for UMS" "info" # avoid a patch, just append to the dtsi file
cat <<- EOD >> arch/arm/dts/rk3588s-nanopi-r6c-u-boot.dtsi
&u2phy0 { status = "okay"; };
&u2phy0_otg { status = "okay"; };
&usbdp_phy0 { status = "okay"; };
&usb_host0_xhci { dr_mode = "peripheral"; maximum-speed = "high-speed"; status = "okay"; };
EOD
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't this disable host mode for one of the USB ports?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it's exactly the point.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright, I'll trust that this makes sense for most people's setups 👍

config/boards/nanopi-r6c.csc Show resolved Hide resolved
config/boards/nanopi-r6c.csc Show resolved Hide resolved
config/boards/nanopi-r6c.csc Show resolved Hide resolved

declare -g BOOTBRANCH="tag:v2025.01"
declare -g BOOTPATCHDIR="v2025.01"
declare -g BOOTDIR="u-boot-${BOARD}" # do not share u-boot directory
Copy link
Collaborator

@ColorfulRhino ColorfulRhino Jan 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is setting a custom BOOTDIR needed specifically or just copy-paste stuff?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bit of both; recently I changed the overall u-boot building code to clean the dir completely before building a target; before that, you would risk using one of the previous build that ran on the same BOOTDIR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
02 Milestone: First quarter release Hardware Hardware related like kernel, U-Boot, ... Needs review Seeking for review size/medium PR with more then 50 and less then 250 lines
Development

Successfully merging this pull request may close these issues.

3 participants