* New Arch For Mkimage
@ 2021-07-26 18:08 Randy Yates
2021-08-02 22:01 ` Tom Rini
0 siblings, 1 reply; 4+ messages in thread
From: Randy Yates @ 2021-07-26 18:08 UTC (permalink / raw)
To: u-boot; +Cc: randyy
I am attempting to use mkimage to build a uImage for a new architecture:
csky. This architecture is already in the mainline kernel.
It appears the only thing to do is to added a new enumeration after
IH_ARCH_RISCV in u-boot/include/image.h and to add a corresponding entry
into uimage_arch in u-boot/common/image.c. Is this correct?
Randy Yates
Apex Semiconductors (USA) Company Limited
984-368-8148 (cell, work)
919-412-8994 (cell, personal)
Randy Yates
randyy@scc-inc.com
Apex Semiconductors (USA) Company Limited
http://www.apexsemi-usa.com
984-368-8148 (cell, work)
919-412-8994 (cell, personal)
This message contains confidential information. If you are not the intended recipient, notify the sender immediately and delete this e-mail from your system. You should always check e-mail for viruses. Sender does not accept liability for any viruses that may be inadvertently transmitted.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: New Arch For Mkimage
2021-07-26 18:08 New Arch For Mkimage Randy Yates
@ 2021-08-02 22:01 ` Tom Rini
2021-08-02 22:06 ` [EXTERNAL] " Randy Yates
0 siblings, 1 reply; 4+ messages in thread
From: Tom Rini @ 2021-08-02 22:01 UTC (permalink / raw)
To: Randy Yates; +Cc: u-boot
[-- Attachment #1: Type: text/plain, Size: 508 bytes --]
On Mon, Jul 26, 2021 at 02:08:09PM -0400, Randy Yates wrote:
> I am attempting to use mkimage to build a uImage for a new architecture:
> csky. This architecture is already in the mainline kernel.
>
> It appears the only thing to do is to added a new enumeration after
> IH_ARCH_RISCV in u-boot/include/image.h and to add a corresponding entry
> into uimage_arch in u-boot/common/image.c. Is this correct?
Sorry for the delay, include/image.h is also a place you'll want to
update.
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [EXTERNAL] Re: New Arch For Mkimage
2021-08-02 22:01 ` Tom Rini
@ 2021-08-02 22:06 ` Randy Yates
2021-08-02 22:13 ` Tom Rini
0 siblings, 1 reply; 4+ messages in thread
From: Randy Yates @ 2021-08-02 22:06 UTC (permalink / raw)
To: Tom Rini; +Cc: u-boot
Hey Tom,
I did that. Did you want me to issue a pull request? I'm not sure of the
proper process.
--Randy
On 8/2/21 6:01 PM, Tom Rini wrote:
> ATTENTION: This Email originated outside SCC. Use caution before clicking on any links or attachments.
>
> On Mon, Jul 26, 2021 at 02:08:09PM -0400, Randy Yates wrote:
>
>> I am attempting to use mkimage to build a uImage for a new architecture:
>> csky. This architecture is already in the mainline kernel.
>>
>> It appears the only thing to do is to added a new enumeration after
>> IH_ARCH_RISCV in u-boot/include/image.h and to add a corresponding entry
>> into uimage_arch in u-boot/common/image.c. Is this correct?
> Sorry for the delay, include/image.h is also a place you'll want to
> update.
>
This message contains confidential information. If you are not the intended recipient, notify the sender immediately and delete this e-mail from your system. You should always check e-mail for viruses. Sender does not accept liability for any viruses that may be inadvertently transmitted.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [EXTERNAL] Re: New Arch For Mkimage
2021-08-02 22:06 ` [EXTERNAL] " Randy Yates
@ 2021-08-02 22:13 ` Tom Rini
0 siblings, 0 replies; 4+ messages in thread
From: Tom Rini @ 2021-08-02 22:13 UTC (permalink / raw)
To: Randy Yates; +Cc: u-boot
[-- Attachment #1: Type: text/plain, Size: 636 bytes --]
On Mon, Aug 02, 2021 at 06:06:37PM -0400, Randy Yates wrote:
> Hey Tom,
>
> I did that. Did you want me to issue a pull request? I'm not sure of the
> proper process.
The general answer is that you'll want to submit a series of patches,
likely with git send-email, so that nothing gets mangled, that adds csky
support. And you should start with a minimal set of functionality and
add to it, just like the Linux kernel support was done I assume. If
there's QEMU support as well, updating .azure-pipelines.yml and
.gitlab-ci.yml (and tools/docker/Dockerfile) to build and test should
also be done. Thanks!
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-08-02 22:13 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-26 18:08 New Arch For Mkimage Randy Yates
2021-08-02 22:01 ` Tom Rini
2021-08-02 22:06 ` [EXTERNAL] " Randy Yates
2021-08-02 22:13 ` Tom Rini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox