public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH v1 0/7 SECTOR: Support aligning to flash sector boundary
@ 2023-03-10  0:08 binutils
  2023-03-10  0:08 ` [PATCH v1 1/7] SECTOR: NEWS binutils
                   ` (8 more replies)
  0 siblings, 9 replies; 18+ messages in thread
From: binutils @ 2023-03-10  0:08 UTC (permalink / raw)
  To: binutils; +Cc: nickc

Patchset 1

Introduce the BANK command which allows
the user to define flash sector boundaries.

I.E:

BANK (bankname) {
  SECTOR ("32 KB");
  SECTOR ("32 KB");
  SECTOR ("64 KB");
  SECTOR ("64 KB");
  SECTOR ("64 KB");
}

This can be used later to align a sector to the flash boundary using the 

ALIGN_SECTOR command in an output sector.

A user who want to use their own tool to create the
a checksum, maybe using a SHA algorithm need a
simple way to understand the limits of the area
to calculate the digest on.
By aligning to a flash sector, this is much simplified.

When writing a new image to the flash, you first have
to erase the flash sector, so it is practical
to align stuff to flash sector boundaries.

[PATCH v1 1/7] SECTOR: NEWS
[PATCH v1 2/7] SECTOR: ld.texi
[PATCH v1 3/7] SECTOR: ldlex.l
[PATCH v1 4/7] SECTOR: ldgram.y
[PATCH v1 5/7] SECTOR: language additions
[PATCH v1 6/7] SECTOR: add testsuite
[PATCH v1 7/7] SECTOR: Makefile.*


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

end of thread, other threads:[~2023-03-13 17:35 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-10  0:08 [PATCH v1 0/7 SECTOR: Support aligning to flash sector boundary binutils
2023-03-10  0:08 ` [PATCH v1 1/7] SECTOR: NEWS binutils
2023-03-10  0:08 ` [PATCH v1 2/7] SECTOR: ld.texi binutils
2023-03-10  0:08 ` [PATCH v1 3/7] SECTOR: ldlex.l binutils
2023-03-10  0:08 ` [PATCH v1 4/7] SECTOR: ldgram.y binutils
2023-03-10  0:08 ` [PATCH v1 5/7] SECTOR: language additions binutils
2023-03-10  0:08 ` [PATCH v1 6/7] SECTOR: add testsuite binutils
2023-03-10  0:08 ` [PATCH v1 7/7] SECTOR: Makefile.* binutils
2023-03-10  3:46 ` [PATCH v1 0/7 SECTOR: Support aligning to flash sector boundary Alan Modra
2023-03-10 14:13 ` Michael Matz
2023-03-10 17:01   ` Ulf Samuelsson
2023-03-10 17:30     ` Michael Matz
2023-03-10 17:57       ` Ulf Samuelsson
2023-03-13 13:12         ` Michael Matz
2023-03-13 15:29           ` Ulf Samuelsson
2023-03-13 15:54             ` Michael Matz
2023-03-13 17:26               ` Ulf Samuelsson
2023-03-13 17:35                 ` Michael Matz

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 read-only IMAP folder(s) and NNTP newsgroup(s).