openbmc.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [Help] I want to know how to make an image for w25q256JV flash memory.
@ 2022-03-07  3:00 pooky
  2022-03-08 17:33 ` Patrick Williams
  0 siblings, 1 reply; 4+ messages in thread
From: pooky @ 2022-03-07  3:00 UTC (permalink / raw)
  To: openbmc

[-- Attachment #1: Type: text/plain, Size: 410 bytes --]

To whom it may concern,

My name is Hounjoung, Software engineer for Sysmate in South Korea.

I found your email address on website.

 

I am a complete beginner to openbmc.

I am developing a motherboard using AST2500 chip using openbmc. 

It is booting with w25q256JV flash memory attached to the AST2500 chip.

I want to know how to make an image for w25q256JV flash memory.

 

Best regards, 

Houn-Joung


[-- Attachment #2: Type: text/html, Size: 2777 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Help] I want to know how to make an image for w25q256JV flash memory.
  2022-03-07  3:00 [Help] I want to know how to make an image for w25q256JV flash memory pooky
@ 2022-03-08 17:33 ` Patrick Williams
  2022-03-09 23:18   ` pooky
  2022-03-11  9:02   ` pooky
  0 siblings, 2 replies; 4+ messages in thread
From: Patrick Williams @ 2022-03-08 17:33 UTC (permalink / raw)
  To: pooky; +Cc: openbmc

[-- Attachment #1: Type: text/plain, Size: 2554 bytes --]

On Mon, Mar 07, 2022 at 12:00:42PM +0900, pooky@sysmate.com wrote:
 
> I am developing a motherboard using AST2500 chip using openbmc. 
> It is booting with w25q256JV flash memory attached to the AST2500 chip.
> I want to know how to make an image for w25q256JV flash memory.

That chip is relatively small for our codebase (32MB).  We still have some
machines running that size but we typically have to reduce the features in order
to make it fit.

Building an image doesn't really concern itself with the particular model of
chip but the size.  The more important thing for your system is all the
configuration information you need to provide about your motherboard so that the
software knows how to operate the hardware.

In our repository you'll see a lot of 'meta-*' subdirectories.  Most of these
are the Yocto layers for machines designed by various companies.  These are the
configuration data on those machines.  You may want to take one that looks
similar in design and start with that.

Specifically on your question regarding this chip, the only thing we really need
configured is the FLASH_SIZE variable.  This will build the 32MB image that can
fit into your chip.  Nothing else should care about the specific model because
u-boot and Linux should use the JEDEC model information to determine the size of
that chip when they access it.  Here are a number of machines configured with a
32MB flash layout:

```
$ git grep 'FLASH_SIZE = "32768"'
meta-amd/meta-ethanolx/conf/machine/ethanolx.conf:FLASH_SIZE = "32768"
meta-asrock/meta-e3c246d4i/conf/machine/e3c246d4i.conf:FLASH_SIZE = "32768"
meta-facebook/meta-tiogapass/conf/machine/tiogapass.conf:FLASH_SIZE = "32768"
meta-facebook/meta-yosemitev2/conf/machine/yosemitev2.conf:FLASH_SIZE = "32768"
meta-ibm/meta-palmetto/conf/machine/palmetto.conf:FLASH_SIZE = "32768"
meta-inspur/meta-on5263m5/conf/machine/on5263m5.conf:FLASH_SIZE = "32768"
meta-intel-openbmc/meta-s2600wf/conf/machine/s2600wf.conf:FLASH_SIZE = "32768"
meta-nuvoton/conf/machine/evb-npcm750.conf:FLASH_SIZE = "32768"
meta-quanta/meta-gsj/conf/machine/gsj.conf:FLASH_SIZE = "32768"
meta-quanta/meta-olympus-nuvoton/conf/machine/olympus-nuvoton.conf:FLASH_SIZE = "32768"
meta-quanta/meta-q71l/conf/machine/quanta-q71l.conf:FLASH_SIZE = "32768"
meta-supermicro/meta-x11spi/conf/machine/x11spi.conf:FLASH_SIZE = "32768"
meta-tyan/meta-s7106/conf/machine/s7106.conf:FLASH_SIZE = "32768"
meta-tyan/meta-s8036/conf/machine/s8036.conf:FLASH_SIZE = "32768"
```

-- 
Patrick Williams

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [Help] I want to know how to make an image for w25q256JV flash memory.
  2022-03-08 17:33 ` Patrick Williams
@ 2022-03-09 23:18   ` pooky
  2022-03-11  9:02   ` pooky
  1 sibling, 0 replies; 4+ messages in thread
From: pooky @ 2022-03-09 23:18 UTC (permalink / raw)
  To: 'Patrick Williams'; +Cc: openbmc

Dear Patrick,

Thank you very much for your quick response.

Houn-Joung Rim


-----Original Message-----
From: Patrick Williams <patrick@stwcx.xyz> 
Sent: Wednesday, March 9, 2022 2:34 AM
To: pooky@sysmate.com
Cc: openbmc@lists.ozlabs.org
Subject: Re: [Help] I want to know how to make an image for w25q256JV flash
memory.

On Mon, Mar 07, 2022 at 12:00:42PM +0900, pooky@sysmate.com wrote:
 
> I am developing a motherboard using AST2500 chip using openbmc. 
> It is booting with w25q256JV flash memory attached to the AST2500 chip.
> I want to know how to make an image for w25q256JV flash memory.

That chip is relatively small for our codebase (32MB).  We still have some
machines running that size but we typically have to reduce the features in
order to make it fit.

Building an image doesn't really concern itself with the particular model of
chip but the size.  The more important thing for your system is all the
configuration information you need to provide about your motherboard so that
the software knows how to operate the hardware.

In our repository you'll see a lot of 'meta-*' subdirectories.  Most of
these are the Yocto layers for machines designed by various companies.
These are the configuration data on those machines.  You may want to take
one that looks similar in design and start with that.

Specifically on your question regarding this chip, the only thing we really
need configured is the FLASH_SIZE variable.  This will build the 32MB image
that can fit into your chip.  Nothing else should care about the specific
model because u-boot and Linux should use the JEDEC model information to
determine the size of that chip when they access it.  Here are a number of
machines configured with a 32MB flash layout:

```
$ git grep 'FLASH_SIZE = "32768"'
meta-amd/meta-ethanolx/conf/machine/ethanolx.conf:FLASH_SIZE = "32768"
meta-asrock/meta-e3c246d4i/conf/machine/e3c246d4i.conf:FLASH_SIZE = "32768"
meta-facebook/meta-tiogapass/conf/machine/tiogapass.conf:FLASH_SIZE =
"32768"
meta-facebook/meta-yosemitev2/conf/machine/yosemitev2.conf:FLASH_SIZE =
"32768"
meta-ibm/meta-palmetto/conf/machine/palmetto.conf:FLASH_SIZE = "32768"
meta-inspur/meta-on5263m5/conf/machine/on5263m5.conf:FLASH_SIZE = "32768"
meta-intel-openbmc/meta-s2600wf/conf/machine/s2600wf.conf:FLASH_SIZE =
"32768"
meta-nuvoton/conf/machine/evb-npcm750.conf:FLASH_SIZE = "32768"
meta-quanta/meta-gsj/conf/machine/gsj.conf:FLASH_SIZE = "32768"
meta-quanta/meta-olympus-nuvoton/conf/machine/olympus-nuvoton.conf:FLASH_SIZ
E = "32768"
meta-quanta/meta-q71l/conf/machine/quanta-q71l.conf:FLASH_SIZE = "32768"
meta-supermicro/meta-x11spi/conf/machine/x11spi.conf:FLASH_SIZE = "32768"
meta-tyan/meta-s7106/conf/machine/s7106.conf:FLASH_SIZE = "32768"
meta-tyan/meta-s8036/conf/machine/s8036.conf:FLASH_SIZE = "32768"
```

--
Patrick Williams


^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [Help] I want to know how to make an image for w25q256JV flash memory.
  2022-03-08 17:33 ` Patrick Williams
  2022-03-09 23:18   ` pooky
@ 2022-03-11  9:02   ` pooky
  1 sibling, 0 replies; 4+ messages in thread
From: pooky @ 2022-03-11  9:02 UTC (permalink / raw)
  To: 'Patrick Williams'; +Cc: openbmc

Dear Patrick,

I created an image based on on5263m5

Please let me know where I need to edit to log in automatically.

Yours sincerely,

Houn-Joung Rim


-----Original Message-----
From: Patrick Williams <patrick@stwcx.xyz> 
Sent: Wednesday, March 9, 2022 2:34 AM
To: pooky@sysmate.com
Cc: openbmc@lists.ozlabs.org
Subject: Re: [Help] I want to know how to make an image for w25q256JV flash
memory.

On Mon, Mar 07, 2022 at 12:00:42PM +0900, pooky@sysmate.com wrote:
 
> I am developing a motherboard using AST2500 chip using openbmc. 
> It is booting with w25q256JV flash memory attached to the AST2500 chip.
> I want to know how to make an image for w25q256JV flash memory.

That chip is relatively small for our codebase (32MB).  We still have some
machines running that size but we typically have to reduce the features in
order to make it fit.

Building an image doesn't really concern itself with the particular model of
chip but the size.  The more important thing for your system is all the
configuration information you need to provide about your motherboard so that
the software knows how to operate the hardware.

In our repository you'll see a lot of 'meta-*' subdirectories.  Most of
these are the Yocto layers for machines designed by various companies.
These are the configuration data on those machines.  You may want to take
one that looks similar in design and start with that.

Specifically on your question regarding this chip, the only thing we really
need configured is the FLASH_SIZE variable.  This will build the 32MB image
that can fit into your chip.  Nothing else should care about the specific
model because u-boot and Linux should use the JEDEC model information to
determine the size of that chip when they access it.  Here are a number of
machines configured with a 32MB flash layout:

```
$ git grep 'FLASH_SIZE = "32768"'
meta-amd/meta-ethanolx/conf/machine/ethanolx.conf:FLASH_SIZE = "32768"
meta-asrock/meta-e3c246d4i/conf/machine/e3c246d4i.conf:FLASH_SIZE = "32768"
meta-facebook/meta-tiogapass/conf/machine/tiogapass.conf:FLASH_SIZE =
"32768"
meta-facebook/meta-yosemitev2/conf/machine/yosemitev2.conf:FLASH_SIZE =
"32768"
meta-ibm/meta-palmetto/conf/machine/palmetto.conf:FLASH_SIZE = "32768"
meta-inspur/meta-on5263m5/conf/machine/on5263m5.conf:FLASH_SIZE = "32768"
meta-intel-openbmc/meta-s2600wf/conf/machine/s2600wf.conf:FLASH_SIZE =
"32768"
meta-nuvoton/conf/machine/evb-npcm750.conf:FLASH_SIZE = "32768"
meta-quanta/meta-gsj/conf/machine/gsj.conf:FLASH_SIZE = "32768"
meta-quanta/meta-olympus-nuvoton/conf/machine/olympus-nuvoton.conf:FLASH_SIZ
E = "32768"
meta-quanta/meta-q71l/conf/machine/quanta-q71l.conf:FLASH_SIZE = "32768"
meta-supermicro/meta-x11spi/conf/machine/x11spi.conf:FLASH_SIZE = "32768"
meta-tyan/meta-s7106/conf/machine/s7106.conf:FLASH_SIZE = "32768"
meta-tyan/meta-s8036/conf/machine/s8036.conf:FLASH_SIZE = "32768"
```

--
Patrick Williams


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-03-14 23:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-07  3:00 [Help] I want to know how to make an image for w25q256JV flash memory pooky
2022-03-08 17:33 ` Patrick Williams
2022-03-09 23:18   ` pooky
2022-03-11  9:02   ` pooky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).