Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Feb 2010 17:58:49 +0200
From:      Alexandr Rybalko <ray@dlink.ua>
To:        freebsd-mips@freebsd.org
Cc:        loos.br@gmail.com
Subject:   GEOM_MTD
Message-ID:  <20100211175849.602d08cf.ray@dlink.ua>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

--Multipart=_Thu__11_Feb_2010_17_58_49_+0200_+K1J7_aWM.rE=eUR
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Hi,

in attachment GEOM module to support MTD partitioning.
All systems in which I have seen support MTD partitions do it via values in source code.
For more convenient change the partitions, I use hints.

Example hints file also in attachment.
In this example one of partitions (0x00040000-0x003e0000) split by keyword '--PaCkImGs--' into two partitions ("kernel" and
"roots")
Others think things will be clear from the file itself.






-- 
Alexandr Rybalko <ray@dlink.ua>

--Multipart=_Thu__11_Feb_2010_17_58_49_+0200_+K1J7_aWM.rE=eUR
Content-Type: application/octet-stream;
 name="BCM5354.hints"
Content-Disposition: attachment;
 filename="BCM5354.hints"
Content-Transfer-Encoding: base64

aGludC5zaWJhLjAuYXQ9Im5leHVzMCIKaGludC5zaWJhLjAubWFkZHI9IjB4MTgwMDAwMDAiCmhp
bnQuc2liYS4wLm1zaXplPSIweDEwMDAwIgoKIyB1YXJ0MApoaW50LnVhcnQuMC5hdD0ic2liYV9j
YzAiCmhpbnQudWFydC4wLm1hZGRyPSIweDE4MDAwMzAwIgpoaW50LnVhcnQuMC5tc2l6ZT0iMHg4
IgpoaW50LnVhcnQuMC5mbGFncz0iMHgzMCIKaGludC51YXJ0LjAuaXJxPTAKCgoKaGludC5tdGQu
MC5hdD0iY2ZpZDAiCmhpbnQubXRkLjAuc3RhcnQ9MHgwMDAwMDAwMApoaW50Lm10ZC4wLmVuZD0w
eDAwMDMwMDAwCmhpbnQubXRkLjAubmFtZT0iY2ZlIgpoaW50Lm10ZC4wLnJlYWRvbmx5PTEKCgpo
aW50Lm10ZC4xLmF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ludC5tdGQu
Ni5zZWFyY2hrZXk9Ii0tUGFDa0ltR3MtLSIKaGludC5tdGQuNi5zZWFyY2hzdGFydD0iNTI0Mzg0
IiAjIDggNjRLIGJsb2NrcyArIEFscGhhSGVhZGVyU2l6ZSggOTZCICkKaGludC5tdGQuNi5zZWFy
Y2hzdGVwPSI2NTUzNiIKCgpoaW50Lm10ZC43LmF0PSJjZmlkMCIKaGludC5tdGQuNy5zdGFydD0w
eDAwM2UwMDAwCmhpbnQubXRkLjcuZW5kPTB4MDAzZjAwMDAKaGludC5tdGQuNy5uYW1lPSJsYW5n
cGFjayIKCg==

--Multipart=_Thu__11_Feb_2010_17_58_49_+0200_+K1J7_aWM.rE=eUR--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100211175849.602d08cf.ray>