📄 在s3c4510b评估板上移植uclinux-20030305全过程--电子技术文章-技术资料-广东电子商贸网.htm
字号:
/drivers/block/blkmem.c <BR>/* <BR>* Please, configure the ROMFS for
your system here <BR>*/ <BR>/*S3C4510b */ <BR>#ifdef
CONFIG_ARCH_SAMSUNG <BR>extern char romfs_data[]; <BR>extern char
romfs_data_end[]; <BR>#endif <BR>找到: <BR>arena[] = { 加入: <BR>#ifdef
CONFIG_ARCH_SAMSUNG <BR>{0, romfs_data, -1}, <BR>#endif
<BR>[说明]这里象0927版一样少了针对samsung 的rom代码,同时也是为了和10保持一致。 <BR>11.
/arch/armnommu/tools/mach-types <BR>snds100 ARCH_SNDS100 SNDS100
90改为: <BR>snds100 BOARD_SNDS100 SNDS100 90
<BR>[说明]这应该是最先该的一个错误,在0305版中使用的是BOARD_SNDS100而该文件中继续沿用以前的格式ARCH_*,这个问题会导致arch_setup()的时候产生内存溢出错误。
<BR>三、编译过程 <BR>1.make config(menuconfig/xconfig) <BR>选择Samsung/4510B
linux-2.4.x uC-libc 其他各项根据需要配置 <BR>2.make dep <BR>3.make lib_only
<BR>4.make user_only <BR>5.make romfs <BR>6.make image <BR>7.make
<BR>ok在imges文件夹得到uclinux_ram.bin和uclinux_rom.bin如果有调试器可直接将前者烧入sdram中运行,后者烧进flash中运行,hoho马上你就可以看到熟悉的启动画面。
</P>
<P>[补]
<BR>生成的uclinux_rom.bin烧写在flash中,上电复位时,从rom开始执行(compressed/head.S),先将rom中的映像文件拷进ram,然后是地址重定位,重定位之后ram位于0x0,而rom位于0x1000000,之后从0x8000开始执行初始化,之后是start_kernel()
... ...<BR></SPAN></P></DIV></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=1 cellPadding=1 width="96%" align=center
bgColor=#cccccc border=0>
<TBODY>
<TR>
<TD class=fonts14 width="93%" bgColor=#ffffff height=20>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD bgColor=#cccccc height=23>
<DIV align=left><STRONG class=fonts14> <SPAN
class=copyright01>相关联接</SPAN></STRONG></DIV></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD class=copyright01 width="93%" bgColor=#f7f7f7>
<SCRIPT
src="在S3C4510B评估板上移植uclinux-20030305全过程--电子技术文章-技术资料-广东电子商贸网.files/otherlink.htm"></SCRIPT>
</TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="96%" border=0>
<TBODY>
<TR>
<TD height=3></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=1 cellPadding=1 width="96%" align=center
bgColor=#cccccc border=0>
<TBODY>
<TR>
<TD class=fonts14 width="93%" bgColor=#ffffff height=20>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD bgColor=#cccccc height=23>
<DIV align=left><STRONG class=fonts14> <SPAN
class=copyright01>发表评论</SPAN></STRONG></DIV></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD class=copyright01 width="93%" bgColor=#f7f7f7>
<TABLE cellSpacing=0 cellPadding=0 width="100%" align=center
border=0>
<TBODY>
<TR>
<TD class=copyright01 width="4%" height=23>
<DIV align=center><IMG height=7
src="在S3C4510B评估板上移植uclinux-20030305全过程--电子技术文章-技术资料-广东电子商贸网.files/index_guide_title01.gif"
width=7></DIV></TD>
<TD class=copyright01 width="96%" height=23>
<DIV align=left>尊重网上道德,遵守中华人民共和国的各项有关法律法规。</DIV></TD></TR>
<TR>
<TD class=copyright01 height=23>
<DIV align=center><IMG height=7
src="在S3C4510B评估板上移植uclinux-20030305全过程--电子技术文章-技术资料-广东电子商贸网.files/index_guide_title01.gif"
width=7></DIV></TD>
<TD class=copyright01 height=23>
<DIV align=left>承担一切因您的行为而直接或间接导致的民事或刑事法律责任。</DIV></TD></TR>
<TR>
<TD class=copyright01 height=23>
<DIV align=center><IMG height=7
src="在S3C4510B评估板上移植uclinux-20030305全过程--电子技术文章-技术资料-广东电子商贸网.files/index_guide_title01.gif"
width=7></DIV></TD>
<TD class=copyright01 height=23>
<DIV align=left>本站管理人员有权保留或删除其管辖留言中的任意内容,本站有权在网站内转载或引用您的评论。
</DIV></TD></TR>
<TR>
<TD class=copyright01 height=23>
<DIV align=center><IMG height=7
src="在S3C4510B评估板上移植uclinux-20030305全过程--电子技术文章-技术资料-广东电子商贸网.files/index_guide_title01.gif"
width=7></DIV></TD>
<TD class=copyright01 height=23>
<DIV
align=left>参与本评论即表明您已经阅读并接受上述条款。</DIV></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD class=copyright01 bgColor=#f7f7f7>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<FORM name=form1 action=../wordsave.asp method=post>
<TBODY>
<TR bgColor=#f7f7f7>
<TD class=fonts14 width="12%" height=25>
<DIV class=copyright01 align=center>
<DIV align=center><STRONG>主 题: </STRONG></DIV></DIV>
<DIV class=copyright01 align=center></DIV></TD>
<TD class=fonts14 colSpan=2>
<DIV align=left><INPUT id=addtitle size=40 name=addtitle>
</DIV></TD></TR>
<TR bgColor=#f7f7f7>
<TD class=fonts14 height=25>
<DIV class=copyright01 align=center><STRONG>内
容:</STRONG></DIV></TD>
<TD class=fonts14 colSpan=2>
<DIV align=left><TEXTAREA id=info name=info rows=8 cols=60></TEXTAREA>
</DIV></TD></TR>
<TR bgColor=#f7f7f7>
<TD class=fonts14 height=25> </TD>
<TD class=fonts14 width="20%" height=40>
<DIV align=left><INPUT class=all type=submit value=" 发 表 " name=Submit2>
</DIV></TD>
<TD class=fonts14 width="68%"><INPUT class=all type=reset value=" 重新填写 " name=Submit2></TD></TR></FORM></TBODY></TABLE></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="96%" border=0>
<TBODY>
<TR>
<TD height=3></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=1 cellPadding=1 width="96%" align=center
bgColor=#cccccc border=0>
<TBODY>
<TR>
<TD class=fonts14 width="93%" bgColor=#ffffff height=20>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD bgColor=#cccccc height=23>
<DIV align=left><STRONG class=fonts14> <SPAN
class=copyright01>查看评论</SPAN></STRONG></DIV></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD class=copyright01 width="93%" bgColor=#f7f7f7>
<SCRIPT
src="在S3C4510B评估板上移植uclinux-20030305全过程--电子技术文章-技术资料-广东电子商贸网.files/pinglun.htm"></SCRIPT>
</TD></TR></TBODY></TABLE><BR></DIV></TD>
<TD width=10> </TD>
<TD vAlign=top width=176>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD height=2></TD></TR></TBODY></TABLE>
<DIV align=center>
<SCRIPT
src="在S3C4510B评估板上移植uclinux-20030305全过程--电子技术文章-技术资料-广东电子商贸网.files/RDWZ.htm"></SCRIPT>
</DIV></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=778 align=center border=0>
<TBODY>
<TR>
<TD height=5></TD></TR></TBODY></TABLE>
<SCRIPT
src="在S3C4510B评估板上移植uclinux-20030305全过程--电子技术文章-技术资料-广东电子商贸网.files/bottom.js"></SCRIPT>
<SCRIPT language=JavaScript
src="在S3C4510B评估板上移植uclinux-20030305全过程--电子技术文章-技术资料-广东电子商贸网.files/counter.htm"
type=text/javascript></SCRIPT>
</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -