[Armadillo:02680] Re: Armadillo-9のパーティション構成変更について
Fumihiro SHIMONO
email@hidden
2008年 2月 5日 (火) 23:47:20 JST
$B$*@$OC$K$J$C$F$*$j$^$9!#(B
shimono$B$G$9!#(B
yashi$BMM!"$I$&$b$"$j$,$H$&$4$6$$$^$9!#(B
$B$*65$($$$?$@$-$^$7$?J}K!$G%Q!<%F%#%7%g%sJ,3d$G$-$^$7$?!#(B
$B!&(Buserland$B$N%5%$%:$r(B0x670000$B"*(B0x240000$B$KJQ99!#(B
$B!&(Buserland-user($B?75,(B)$B$N%5%$%:$r(B0x430000$B$email@hidden!#(B
($B%5%$%:$O!"$H$j$"$($:$N%5%$%:$G$9!#(B)
$B0J9_!"<B;\FbMF$N>\:Y$G$9!#(B
$B!!(BA. src/target/armadillo9/memregions.h$B!!$GJT=8$7$?FbMF(B
$B!!(BB. $B:email@hidden$7$?%V!<%H%m!<%@=q$-9~$_8e$N5/F0%a%C%;!<%8(B
A. src/target/armadillo9/memregions.h$B!!$GJT=8$7$?FbMF$r5-=R$7$^$9!#(B
-------<$BJT=8$7$?FbMF(B $B$3$3$+$i(B>-------
$B-!(B
--
#define FLASH_USERLAND_START (FLASH_KERNEL_START + FLASH_KERNEL_SIZE)
#define FLASH_USERLAND_SIZE 0x670000
#define FLASH_CONFIG_START (FLASH_USERLAND_START + FLASH_USERLAND_SIZE)
#define FLASH_CONFIG_SIZE (FLASH_START + FLASH_SIZE - FLASH_CONFIG_START)
--
$B$r0J2<$KJQ99!#(B
--
#define FLASH_USERLAND_START (FLASH_KERNEL_START + FLASH_KERNEL_SIZE)
//#define FLASH_USERLAND_SIZE 0x670000
#define FLASH_USERLAND_SIZE 0x240000
#define FLASH_USERLAND_USER_START (FLASH_USERLAND_START + FLASH_USERLAND_SIZE)
#define FLASH_USERLAND_USER_SIZE 0x430000
#define FLASH_CONFIG_START (FLASH_USERLAND_USER_START + FLASH_USERLAND_USER_SIZE)
#define FLASH_CONFIG_SIZE (FLASH_START + FLASH_SIZE - FLASH_CONFIG_START)
--
$B-"(B
--
#define FLASH_BOOTLOADER_NAME "bootloader"
#define FLASH_KERNEL_NAME "kernel"
#define FLASH_USERLAND_NAME "userland"
#define FLASH_CONFIG_NAME "config"
--
$B$r0J2<$KJQ99!#(B
--
#define FLASH_BOOTLOADER_NAME "bootloader"
#define FLASH_KERNEL_NAME "kernel"
#define FLASH_USERLAND_NAME "userland"
#define FLASH_USERLAND_NAME_USER "userland-user"
#define FLASH_CONFIG_NAME "config"
--
$B-#(B
--
#define FLASH_BOOTLOADER_BLOCK "8x8K/l"
#define FLASH_KERNEL_BLOCK "23x64K"
#define FLASH_USERLAND_BLOCK "103x64K"
#define FLASH_CONFIG_BLOCK "8x8K"
--
$B$r0J2<$KJQ99!#(B
--
#define FLASH_BOOTLOADER_BLOCK "8x8K/l"
#define FLASH_KERNEL_BLOCK "23x64K"
//#define FLASH_USERLAND_BLOCK "103x64K"
#define FLASH_USERLAND_BLOCK "36x64K"
#define FLASH_USERLAND_USER_BLOCK "67x64K"
#define FLASH_CONFIG_BLOCK "8x8K"
--
$B-$(B
--
#define MTDPARTS "mtdparts=armadillo9-nor:0x10000(bootloader)ro,0x170000(kernel),0x670000(userland),-(config)"
--
$B$r0J2<$KJQ99!#(B
--
//#define MTDPARTS "mtdparts=armadillo9-nor:0x10000(bootloader)ro,0x170000(kernel),0x670000(userland),-(config)"
#define MTDPARTS "mtdparts=armadillo9-nor:0x10000(bootloader)ro,0x170000(kernel),0x240000(userland),0x430000(userland-user),-(config)"
--
$B-%(B
--
#define SECTOR_IDX_BOOTLOADER 0
#define SECTOR_IDX_KERNEL 8
#define SECTOR_IDX_USERLAND 31
#define SECTOR_IDX_CONFIG 134
--
$B$r0J2<$KJQ99(B
--
#define SECTOR_IDX_BOOTLOADER 0
#define SECTOR_IDX_KERNEL 8
#define SECTOR_IDX_USERLAND 31
#define SECTOR_IDX_USERLAND_USER 67
#define SECTOR_IDX_CONFIG 134
--
-------<$BJT=8$7$?FbMF(B $B$3$3$^$G(B>-------
B. $B:email@hidden$7$?%V!<%H%m!<%@=q$-9~$_8e$N5/F0%a%C%;!<%8$O0J2<$H$J$j$^$7$?!#(B
$B!!(B($B4X78$7$=$&$J$H$3$m$rH4?h(B)
-------<$B5/F0%a%C%;!<%8H4?h(B $B$3$3$+$i(B>-------
Hermit-At v1.1.13(armadillo9) ...
...
($B>JN,(B)
...done.
Doing mtdparts=armadillo9-nor:0x10000(bootloader)ro,0x170000(kernel),0x240000(userland),0x430000(userland-user),-(config)
...
($B>JN,(B)
...
5 cmdlinepart partitions found on MTD device armadillo9-nor
parse_mtd_partitions:5
Creating 5 MTD partitions on "armadillo9-nor":
0x00000000-0x00010000 : "bootloader"
0x00010000-0x00180000 : "kernel"
0x00180000-0x003c0000 : "userland"
0x003c0000-0x007f0000 : "userland-user"
0x007f0000-0x00800000 : "config"
...
($B0J9_>JN,(B)
-------<$B5/F0%a%C%;!<%8H4?h(B $B$3$3$+$i(B>-------
0x00000000-0x00010000 : "bootloader"
0x00010000-0x00180000 : "kernel"
0x00180000-0x003c0000 : "userland"
0x003c0000-0x007f0000 : "userland-user"
0x007f0000-0x00800000 : "config"
$B$K$D$$$F$G$9$,!"%^%K%e%"%k!V(BAN010 hardware manual$B!W$h$j!"(B
$email@hidden}%a%b%j%^%C%W$HG'<1$7$^$9$,!"(B
$B6-3&CM$,$+$V$C$F$$$k$h$&$J5$$,$7$F$$$^$9(B...$B!#(B
$B0cOB46$r46$8$F$$$^$7$F!"$3$N%a%C%;!<%8$K$D$$$F(B
$B8f65<x$$$?$@$1$^$7$?$i9,$$$G$9!#(B
$B$h$m$7$/$*4j$$$$$?$7$^$9!#(B
On Tue, 05 Feb 2008 12:07:29 +0900
Yasushi SHOJI <email@hidden> wrote:
yashi> At Sun, 03 Feb 2008 21:56:49 +0900,
yashi> Fumihiro SHIMONO wrote:
yashi> >
yashi> > $B$3$l$r!"%k!<%H%U%!%$%k%7%9%F%`$r(B2$BJ,3d$7!"$H$b$K(Bjffs2$B$H$9$k$K$O!"(B
yashi> > $B$I$N$h$&$KA`:n$7$?$i$h$$$G$7$g$&$+!)(B
yashi>
yashi> $B$^$:$O!"%Q!<%F%#%7%g%s$rJ,$1$J$1$l$P$$$1$^$;$s!#$=$N$?$a$KI,MW$J%3!<%I(B
yashi> $B=$@5$N>l=j$O(Bhermit$B$N%a%b%j%^%C%W>pJs$G$9!#(Bsrc/target/armadillo9/
yashi> memregions.h$B$K%U%i%C%7%e%a%b%j$N%a%b%j%^%C%W(B(FLASH_ $B$G;O$^$k(Bdefine$BC#(B)
yashi> $B$,$"$k$N$G!"=$@5$7$F$/$@$5$$!#(B
yashi>
yashi> armadillo-9$B$O!"(Bhermit$B$+$i%+!<%M%k$K%U%i%C%7%e%a%b%j$N%Q!<%F%#%7%g%s>p(B
yashi> $BJs$rEO$9$h$&$K$J$C$F$$$k$N$G!"$3$l$G$G$-$k$H;W$$$^$9!#(B
yashi> --
yashi> yashi
yashi>
yashi>
yashi>
yashi>
yashi>
yashi> _______________________________________________
yashi> armadillo mailing list
yashi> email@hidden
yashi> http://lists.atmark-techno.com/mailman/listinfo/armadillo
--
Fumihiro SHIMONO <email@hidden>
armadillo メーリングリストの案内