我用得cpu是LPC2290,开发板是周立功公司得MagicArm2200。默认的启动方式是由norflash中的bootloader把uclinux内核(位于nand flash中)调入到内存中引导起uclinux。
由于最终产品内存的限制,现在想把uclinux拿到norflash中直接运行,以减少其对内存的消耗。
重新编译了内核,指定编译成rom启动方式,将映象文件拷贝到norflash中的指定位置,由bootloader跳转过去,但是系统好像没有了响应。。。
从uclinux官方网站看到过如下一个讨论:
Hello Armand,
the CONFIG_ROMKERNEL is used in arch/armnommu/kernel/head-armv.S.
However, I have just recognized that the necessary link script for
execution from rom isn't in the official kernel source. I have never
submitted for CVS because currently I have to copy the right link script
by hand. If you want to run the kernel from flash, you can pick parts of
http://cvs.home.at/midori/sources/linux-2.4.20-uc1/xip.patch
The scripts are arch/armnommu/vmlinux-armv-ram.lds.in and
vmlinux-armv-rom.lds.in.
In the official kernel source, the kernel can be executed from ram only.
Regards,
Erwin
可知uclinux默认并不支持从flash启动,需要打另外的补丁,各位大侠,有没有人做过啊?我已经找到这个补丁,但需要根据具体芯片改写,希望对philips芯片熟悉的朋友一起研究一下啊?
我要赚赏金打赏帖 |
|
|---|---|
| 28BYJ-48机械臂实现人脸跟随被打赏¥24元 | |
| 基于RK3506B的片温识读功能的实现被打赏¥25元 | |
| 【瑞萨RA8D1测评】基于FreeRTOS的lvgl移植教程被打赏¥29元 | |
| 电子价签墨水屏开发被打赏¥35元 | |
| 【Ozone】RTT 打印终端使用被打赏¥29元 | |
| BMS保护板绝缘检测功能-不平衡电桥技术绝缘电阻检测设计与实现被打赏¥34元 | |
| 给28BYJ-48三自由度机械臂加一个网页控制台被打赏¥32元 | |
| 用28BYJ-48电机从零搭一台三自由度机械臂被打赏¥33元 | |
| 【英飞凌开发经验】ModusToolbox配置EdgeTalk外设被打赏¥27元 | |
| 基于BQ76952PFBR的BMS保护板热插拔损坏的原因和处理措施被打赏¥32元 | |
我要赚赏金
