-
Notifications
You must be signed in to change notification settings - Fork 6.9k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
boards:khadas: adding support for the edge2 #79559
base: main
Are you sure you want to change the base?
Conversation
@nordicjm hey I did the the changes is it fine now ? |
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.
Make the SoC changes first then add the new soc/board in the second commit
03f76e1
to
008ba4c
Compare
@nordicjm hey I have reordered the commits (sorry for making a mess with the git) |
172942c
to
b7cf5ef
Compare
@nordicjm hello, I have re-ordered the commits and fixed the issues following your inputs,
|
hey @carlocaione @npitre @povergoing @SgrrZhf can you take a look at this PR ? thank you in advance :) |
@EstAK unfortunately this needs a rebase due to merge conflict. Thanks! |
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.
some comments related to documentation (btw, please consider adding an image for this board), and a question re: board name to @nordicjm
@@ -0,0 +1,5 @@ | |||
board: | |||
name: khadas_edge2 |
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.
I think we typically wouldn't want the vendor name to prefix the board name, as it's redundant, is it not @nordicjm?
There are some boards that do it, but it's a minority AFAICS. That being said, "edge2" definitely is a very generic name so it doesn't sound like a bad idea to anticipate and namespace it, it's just that I am not sure what the rule/guideline is here.
@@ -0,0 +1,5 @@ | |||
board: | |||
name: khadas_edge2 |
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.
name: khadas_edge2 | |
name: khadas_edge2 | |
full_name: Edge2 |
boards/khadas/edge2/doc/index.rst
Outdated
.. _khadas_edge2: | ||
|
||
Khadas Edge2 | ||
################################# |
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.
.. _khadas_edge2: | |
Khadas Edge2 | |
################################# | |
.. zephyr:board:: khadas_edge2 |
boards/khadas/edge2/doc/index.rst
Outdated
|
||
.. code-block:: console | ||
|
||
mkimage -C none -A arm64 -O linux -a 0x10000000 -e 0x10000000 -d build/zephyr/zephyr.bin build/zephyr/zephyr.img |
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.
nit
mkimage -C none -A arm64 -O linux -a 0x10000000 -e 0x10000000 -d build/zephyr/zephyr.bin build/zephyr/zephyr.img | |
mkimage -C none -A arm64 -O linux -a 0x10000000 -e 0x10000000 -d build/zephyr/zephyr.bin build/zephyr/zephyr.img |
boards/khadas/edge2/doc/index.rst
Outdated
|
||
.. code-block:: console | ||
|
||
mmc read ${pxefile_addr_r} 0x100000 0x1000; bootm start ${pxefile_addr_r}; bootm loados; bootm go |
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.
mmc read ${pxefile_addr_r} 0x100000 0x1000; bootm start ${pxefile_addr_r}; bootm loados; bootm go | |
mmc read ${pxefile_addr_r} 0x100000 0x1000; bootm start ${pxefile_addr_r}; bootm loados; bootm go |
boards/khadas/edge2/doc/index.rst
Outdated
*** Booting Zephyr OS build XXXXXXXXXXXX *** | ||
Hello World! khadas_edge2 |
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.
*** Booting Zephyr OS build XXXXXXXXXXXX *** | |
Hello World! khadas_edge2 | |
*** Booting Zephyr OS build XXXXXXXXXXXX *** | |
Hello World! khadas_edge2 |
boards/khadas/edge2/doc/index.rst
Outdated
Overview | ||
******** | ||
|
||
See <https://www.khadas.com/edge2> | ||
|
||
Hardware | ||
******** | ||
|
||
See <https://docs.khadas.com/products/sbc/edge2/hardware/start> |
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 check rendered output https://builds.zephyrproject.io/zephyr/pr/79559/docs/boards/khadas/edge2/doc/index.html and use the correct ReStructuredText way of adding links
@kartben thank you for your feedback I will try to make the changes as soon as possible :) |
added the rk35 series and moved the rk3568 under it Signed-off-by: Esteban Aguililla Klein <esteban.aguililla.klein.pro@outlook.com>
it looks like you might have addressed the feedback -- can you please re-request a review when you feel this is ready (and it might already be the case), otherwise it's hard for reviewers to know (and be notified!) when it's time to have another look :) Thanks! |
Also, a reminder to check the rendered output for your docs as there might still be some issues, it would seem |
a436716
to
2bd4655
Compare
added the rk35 series and moved the rk3568 under it Signed-off-by: Esteban Aguililla Klein <esteban.aguililla.klein.pro@outlook.com>
Hello, this PR adds support for the rk3588s soc and khadas edge2 board
The board requires to download a tool and a SPL should I add them directly or it is fine as is with links to them ?