uboot环境变量与内核MTD分区关系

发布者:BlissfulSunrise最新更新时间:2024-08-30 来源: cnblogs关键字:uboot  环境变量 手机看文章 扫描二维码
随时随地手机看文章


        hugepages=      [HW,IA-32,IA-64] Maximal number of HugeTLB pages.


        noirqbalance    [IA-32,SMP,KNL] Disable kernel irq balancing


        i8042.direct    [HW] Put keyboard port into non-translated mode

        i8042.dumbkbd   [HW] Pretend that controlled can only read data from

                             keyboard and can not control its state

                             (Don't attempt to blink the leds)

        i8042.noaux     [HW] Don't check for auxiliary (== mouse) port

        i8042.nokbd     [HW] Don't check/create keyboard port

        i8042.nomux     [HW] Don't check presence of an active multiplexing

                             controller

        i8042.nopnp     [HW] Don't use ACPIPnP / PnPBIOS to discover KBD/AUX

                             controllers

        i8042.panicblink=

                        [HW] Frequency with which keyboard LEDs should blink

                             when kernel panics (default is 0.5 sec)

        i8042.reset     [HW] Reset the controller during init and cleanup

        i8042.unlock    [HW] Unlock (ignore) the keylock


        i810=           [HW,DRM]


        i8k.ignore_dmi  [HW] Continue probing hardware even if DMI data

                        indicates that the driver is running on unsupported

                        hardware.

        i8k.force       [HW] Activate i8k driver even if SMM BIOS signature

                        does not match list of supported models.

        i8k.power_status

                        [HW] Report power status in /proc/i8k

                        (disabled by default)

        i8k.restricted  [HW] Allow controlling fans only if SYS_ADMIN

                        capability is set.


        ibmmcascsi=     [HW,MCA,SCSI] IBM MicroChannel SCSI adapter

                        See Documentation/mca.txt.


        icn=            [HW,ISDN]

                        Format: [,[,[,]]]


        ide=            [HW] (E)IDE subsystem

                        Format: ide=nodma or ide=doubler or ide=reverse

                        See Documentation/ide.txt.


        ide?=           [HW] (E)IDE subsystem

                        Format: ide?=noprobe or chipset specific parameters.

                        See Documentation/ide.txt.


        idebus=         [HW] (E)IDE subsystem - VLB/PCI bus speed

                        See Documentation/ide.txt.


        idle=           [HW]

                        Format: idle=poll or idle=halt


        ihash_entries=  [KNL]

                        Set number of hash buckets for inode cache.


        in2000=         [HW,SCSI]

                        See header of drivers/scsi/in2000.c.


        init=           [KNL]

                        Format:

                        Run specified binary instead of /sbin/init as init

                        process.


        initcall_debug  [KNL] Trace initcalls as they are executed.  Useful

                        for working out where the kernel is dying during

                        startup.


        initrd=         [BOOT] Specify the location of the initial ramdisk


        inport.irq=     [HW] Inport (ATI XL and Microsoft) busmouse driver

                        Format:


        inttest=        [IA64]


        io7=            [HW] IO7 for Marvel based alpha systems

                        See comment before marvel_specify_io7 in

                        arch/alpha/kernel/core_marvel.c.


        ip=             [IP_PNP]

                        See Documentation/nfsroot.txt.


        ip2=            [HW] Set IO/IRQ pairs for up to 4 IntelliPort boards

                        See comment before ip2_setup() in drivers/char/ip2.c.


        ips=            [HW,SCSI] Adaptec / IBM ServeRAID controller

                        See header of drivers/scsi/ips.c.


        irqfixup        [HW]

                        When an interrupt is not handled search all handlers

                        for it. Intended to get systems with badly broken

                        firmware running.


        irqpoll         [HW]

                        When an interrupt is not handled search all handlers

                        for it. Also check all handlers each timer

                        interrupt. Intended to get systems with badly broken

                        firmware running.


        isapnp=         [ISAPNP]

                        Format: ,,,


        isolcpus=       [KNL,SMP] Isolate CPUs from the general scheduler.

                        Format: ,...,

                        This option can be used to specify one or more CPUs

                        to isolate from the general SMP balancing and scheduling

                        algorithms. The only way to move a process onto or off

                        an 'isolated' CPU is via the CPU affinity syscalls.

                        begins at 0 and the maximum value is

                        'number of CPUs in system - 1'.


                        This option is the preferred way to isolate CPUs. The

                        alternative -- manually setting the CPU mask of all

                        tasks in the system -- can cause problems and

                        suboptimal load balancer performance.


        isp16=          [HW,CD]

                        Format: ,,,

[1] [2] [3] [4] [5] [6] [7] [8] [9] [10] ..[13]
关键字:uboot  环境变量 引用地址:uboot环境变量与内核MTD分区关系

上一篇:s3c2440对nandflash的操作1
下一篇:GCC 内联汇编(GCC内嵌ARM汇编规则)

推荐阅读最新更新时间:2026-03-03 22:39

迅为-IMX6Q开发-非设备树uboot-修改默认环境变量
iTOP-iMX6 开发板烧写好之后,默认是 android 系统 9.7 寸屏幕的系统参数和屏幕参数。如下图。本文档主要介绍如何修改默认启动参数。 70.1 重要的环境变量 比较重要的环境变量或者说经常使用的环境变量,已经在上图中的红色方框中。 主要是:bootsystem、lcdtype 和 bootargs。这些参数都可以在 uboot 源码中进行设置。具体文件为:“iTOP-iMX6_android4.4.2/bootable/bootloader/uboot-imx/lib_arm/board.c”文件。 70.2 默认启动系统设置 默认启动系统参数是:bootsystem。打开“board.c”文件。搜索关键词“b
[单片机]
迅为-IMX6Q开发-非设备树<font color='red'>uboot</font>-修改默认<font color='red'>环境变量</font>
uboot移植到6410开发板的过程及环境变量的修改
一、通过U盘下载uboot.bin到开发板,U盘事先必须用飞凌光盘里的一个快速烧写工具,把mmc.bin烧写进U盘内,但是打开U盘后看不到这个文件。然后将uboot.bin烧写进U盘。(ps,如果要直接通过U盘将内核还有文件系统烧写进开发板里,可以直接将zImage跟cramfs文件系统拷进U盘) 二、将U盘插入开发板,选择U盘启动模式,1 2 3 off ,其他on;打开终端,启动;之后就开始烧写,由于没有在U盘内放zImage ,所以烧写的最后一行会提示not found zImage 等。 三、断开电源,选择nand flash启动:1 2 3 6 7 off,其他on;打开电源,在bootdelay计时的时候按下空
[单片机]
uboot环境变量(设置bootargs向linux内核传递正确的参数)
这是我uboot的环境变量设置,在该设置下可以运行initram内核(从内存下载到nandflash再运行),但是运行nfs根文件系统的时候一直出错,各种错误。查看了很多资料后猜想应该是uboot传递给linux内核的参数有问题,也就是bootargs的设置有问题。 #printenv bootargs=noinitrd root=/dev/mtdblock3 init=/linuxrc console=ttySAC0,115200 rootfstype=yaffs2 rw mem=64M bootcmd=nand read 0x32000000 0x60000 0x300000; bootm 0x32000000 bootdel
[单片机]
【IMX6ULL学习笔记】六、U-BOOT环境变量与Linux启动
一、环境变量 bootcmd bootcmd 和 bootagrs 是采用类似 shell 脚本语言编写的,里面很多的变量引用,这些变量都是环境变量,很多是 NXP 定义的。文件mx6ull_alientek_emmc.h 中的宏 CONFIG_EXTRA_ENV_SETTINGS 保存着这些环境变量的默认值,内容如下: #if defined(CONFIG_SYS_BOOT_NAND) #define CONFIG_EXTRA_ENV_SETTINGS CONFIG_MFG_ENV_SETTINGS panel=TFT43AB fdt_addr=0x83000000 fdt_high=0xffff
[单片机]
【IMX6ULL学习笔记】六、U-BOOT<font color='red'>环境变量</font>与Linux启动
编译IMX6ULL开发板的Uboot内核(一)
一《安装第三方库》 基于迅为imx6ull开发板,在编译 Uboot 和内核源码之前,我们需要安装三个第三库他们分方别是:lzop 、libncurses5-dev。 、u-boot-tools。首先在 Ubuntu 系统桌面打开终端,如下图所示: 然后在终端输入“sudo apt-get install lzop”命令,开始安装 lzop 库文件,如下图所示: 然后回车运行,会提示我们输入用户名密码,输完密码,开始继续安装,最后安装完成,如下图所示: 然后我们在终端输入“sudo apt-get install u-boot-tools”命令,最后完成安装,如下图所示: 然后我们在终端输入“sudo ap
[单片机]
编译IMX6ULL开发板的<font color='red'>Uboot</font>和<font color='red'>内核</font>(一)
uboot段相关变量
在分析relocate_code函数之前,先来总结一下相关的uboot段相关变量,这些段的地址在uboot代码重定位的时候需要用到,将uboot源码进行编译后,会在源码根目录生成u-boot.lds链接文件和u-boot.map内存映射文件,通过这两个文件,可以寻找到uboot段的地址 在上面寻找到的变量值中,除了_start和__image_copy_start值不会该变,当修改了uboot的源码或改变了编译条件,其他的变量都可能会发生改变,因此分析时,一定要以实际编译时进行uboot分析。 relocate_code函数 relocate_code函数会传入一个参数,该参数为gd- relocaddr,也就是uboot
[单片机]
<font color='red'>uboot</font>段相关变量
imx6ull uboot启动流程
首先,NXP提供的uboot经过编译最终烧写进存储介质中的是uboot.imx文件,这个imx后缀的文件不同于传统的比如S3C2440最终烧写的uboot.bin文件。 imx文件是在bin文件的基础上加上了一个头部,IMX6ULL芯片内部自带的BOOTROM程序会根据拨码开关的高低电平选择对应的启动介质,从中读取这个头部信息,然后对头部信息进行解析,头部中最重要的是一个叫DCD表的东西。 DCD表中包含了时钟寄存器的地址和寄存器的值,引脚复用寄存器地址和寄存器的值,DDR控制器的寄存器地址和寄存器的值。imx6ull内部的BOOTROM程序会根据DCD表的内容打开时钟,初始化外部DDR。因此NXP提供的uboot代码的汇
[单片机]
imx6ull <font color='red'>uboot</font>启动流程
uboot中关于LCD的代码分析
以下内容源于朱有鹏《物联网大讲坛》课程的学习,如有侵权,请告知删除。 1、在uboot-jiuding/board.c中,init_sequence中的display_banner中的open_backlight函数中,给GPF3_5输出高电平。 注释掉这一句uboot的LCD显示照样正常的,因为后面LCD操作的部分还会再做一遍的。 真正的初始化LCD系统并且显示logo,在start_armboot函数的后段的x210_preboot_init函数中(这个函数在mpadfb.c文件中);此函数纯粹是九鼎在移植时添加的。如果我们自己移植uboot可以考虑自己去添加。 2、logo显示和LCD屏幕分辨率适
[单片机]
<font color='red'>uboot</font>中关于LCD的代码分析
小广播
最新单片机文章
何立民专栏 单片机及嵌入式宝典

北京航空航天大学教授,20余年来致力于单片机与嵌入式系统推广工作。

厂商技术中心

 
EEWorld订阅号

 
EEWorld服务号

 
汽车开发圈

 
机器人开发圈

电子工程世界版权所有 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号 Copyright © 2005-2026 EEWORLD.com.cn, Inc. All rights reserved