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

Marvell Armhf support and Arm64 support #125

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

Conversation

antony-rheneus
Copy link
Contributor

  1. Back ported commit from master
    Adding support to compile ARM architecture (Adding support to compile ARM architecture #102)

  2. Added support for marvell Armada A7020 Arm64

Signed-off-by: Antony Rheneus [email protected]

Adding support to compile ARM architecture (sonic-net#102)

2. Added support for marvell Armada A7020 Arm64

Signed-off-by: Antony Rheneus <[email protected]>
Date: Mon, 26 Aug 2019 13:43:39 +0300
Subject: [PATCH 4/6] ARM64/PCI: Allow userspace to mmap PCI resources

Change-Id: I87ef6492e4956c77c75470ec010a4f11a9a8bdaf
Copy link
Contributor

Choose a reason for hiding this comment

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

is this back port? if yes, what is original commit id in linux kernel tree?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, this is not a backport, For arm64 this change is been circulated in the kernel forum and still not taken.
https://lore.kernel.org/patchwork/patch/770393/

@lguohan
Copy link
Contributor

lguohan commented Feb 11, 2020

please identify the upstream commit id and the start linux version that introduce this patch.

check below for example

https://github.com/Azure/sonic-linux-kernel/blob/master/patch/linux-4.13-thermal-intel_pch_thermal-Fix-enable-check-on.patch

Adding support to compile ARM architecture (sonic-net#102)

2. Added support for marvell Armada A7020 Arm64

Signed-off-by: Antony Rheneus <[email protected]>
@lguohan
Copy link
Contributor

lguohan commented Feb 14, 2020

this patch. patch/0001-Marvell-support-for-armada7020-on-LK4.9.168.patch

what is the nature? is it upstreamed? How could we maintain this patch? also, I do not see this patch in master branch.

@antony-rheneus
Copy link
Contributor Author

this patch. patch/0001-Marvell-support-for-armada7020-on-LK4.9.168.patch

what is the nature? is it upstreamed? How could we maintain this patch? also, I do not see this patch in master branch.

Armada 7020 support got upstreamed.
In master branch, PR124 it is named as patch/0001-Marvell-support-for-armada7020-on-LK4.9.189.patch, as it had changes with respect to version migration.

Im also thinking how to maintain it, as it would break future kernel version migration.
One way is to avoid patching it, except based on dependent version and platform.

Copy link
Contributor

@paulmenzel paulmenzel left a comment

Choose a reason for hiding this comment

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

Are you planning on updating the merge/pull request? Please also update the commit messages of the two commits. Currently they have the same message, and are not written and formatted according to common guidelines.

# CONFIG_MTD_TESTS is not set
# CONFIG_MTD_REDBOOT_PARTS is not set
-# CONFIG_MTD_CMDLINE_PARTS is not set
+CONFIG_MTD_CMDLINE_PARTS=y
Copy link
Contributor

Choose a reason for hiding this comment

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

Please add to the commit message of this patch patch/0042-armhf-additional-configs.patch, for what these options are needed.

Date: Mon, 26 Aug 2019 14:58:10 +0300
Subject: [PATCH 5/6] add a7020-comexp dts

Change-Id: If4d6e2b704aad1616ad91871282e678eabb400dd
Copy link
Contributor

Choose a reason for hiding this comment

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

If this has been sent upstream, please add the URL or git hash in the Linux repository.

Date: Mon, 22 Jul 2019 13:44:06 +0300
Subject: [PATCH 1/4] Micron 4G flash support

Change-Id: Ib4dd7094920c124c213f6b3c81140845e5baa084
Copy link
Contributor

Choose a reason for hiding this comment

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

If this has been sent upstream, please add the URL or git hash in the Linux repository.

From: Antony Rheneus <[email protected]>
Date: Thu, 17 Oct 2019 18:31:57 +0530
Subject: [PATCH] arm64 default config for sonic patches

Copy link
Contributor

Choose a reason for hiding this comment

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

Please elaborate. Currently it looks like, only make olddefconfig was run against a newer Linux kernel version. This could be split out into a separate merge/pull request, couldn’t it be?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, the patch approach for kernel config is obsolete in current master branch,

This PR has to be revisited and the required changes should go into patch/kconfig_inclusion and patch/kconfig_exclusion.
Thanks for your time to review this PR.
Action Item would be to raise a as per new manage_kernel_config infra.

@jarias-lfx
Copy link

/easycla

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants