Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1635655
  • 博文数量: 511
  • 博客积分: 967
  • 博客等级: 准尉
  • 技术积分: 2560
  • 用 户 组: 普通用户
  • 注册时间: 2012-07-06 14:19
文章分类

全部博文(511)

文章存档

2016年(11)

2015年(61)

2014年(257)

2013年(63)

2012年(119)

发布时间:2013-12-06 10:36:48

转自:tekkamanninja.blog.chinaunix.net~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~     自己移植编译过内核的朋友都知道:生成的zImage内核的位置在arch/arm/boot目录下。但是这个映像是怎么产生的?下面简要地分析一下。&nbs.........【阅读全文】

阅读(824) | 评论(0) | 转发(0)

发布时间:2013-12-06 10:34:06

Linux内核源码分析--内核启动之(2)Image内核启动(汇编部分)(Linux-3.0 ARMv7) //转载 tekkamanninja.blog.chinaunix.net    在完成了zImage自解压之后,就跳转到了解压后的内核(也就是vmlinux的bin版本Image),具体的入口可以在arch/arm/kernel/vmlinux.lds.S(最终的链.........【阅读全文】

阅读(739) | 评论(0) | 转发(0)

发布时间:2013-11-22 11:20:33

1) 在RamDisk为initramfs时start_kernel()->vfs_caches_init()->mnt_init()->init_rootfs()->init_mount_tree()注册了类型为rootfs的fs 然后:start_kernel 最后 rest_init->kernel_initkernel_init->do_basic_setup->do_initcalls 调用 rootfs_initcall 注册过的函数rootfs_initcall(populate_rootfs);popula.........【阅读全文】

阅读(2559) | 评论(0) | 转发(0)

发布时间:2013-11-20 12:29:02

Tech Tip: How to use initramfs.By: Rob LandleyLast time, we covered why initramfs was created: because it saves memory, gives the user more control over the boot process, and simplifies the kernel's internal implementation. This article is about understanding how initramfs works, and shows.........【阅读全文】

阅读(1179) | 评论(0) | 转发(0)

发布时间:2013-09-13 13:47:07

#define USB_DEBUG_BOOT 1#if USB_DEBUG_BOOT/***************************************************/char * my_strcpy_x(char * dst, const char * src) {    char * cp = dst;    while (*cp++ = *src++)        ;    return (dst);}char * my_strcat_x(ch.........【阅读全文】

阅读(827) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册