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

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

                        Format: [,[,..]]


        dmasound=       [HW,OSS] Sound subsystem buffers


        dscc4.setup=    [NET]


        dtc3181e=       [HW,SCSI]


        earlyprintk=    [IA-32,X86-64]

                        earlyprintk=vga

                        earlyprintk=serial[,ttySn[,baudrate]]


                        Append ',keep' to not disable it when the real console

                        takes over.


                        Only vga or serial at a time, not both.


                        Currently only ttyS0 and ttyS1 are supported.


                        Interaction with the standard serial driver is not

                        very good.


                        The VGA output is eventually overwritten by the real

                        console.


        eata=           [HW,SCSI]


        eda=            [HW,PS2]


        edb=            [HW,PS2]


        edd=            [EDD]

                        Format: {'of[f]' | 'sk[ipmbr]'}

                        See comment in arch/i386/boot/edd.S


        eicon=          [HW,ISDN]

                        Format: ,,


        eisa_irq_edge=  [PARISC,HW]

                        See header of drivers/parisc/eisa.c.


        elanfreq=       [IA-32]

                        See comment before function elanfreq_setup() in

                        arch/i386/kernel/cpu/cpufreq/elanfreq.c.


        elevator=       [IOSCHED]

                        Format: {'as' | 'cfq' | 'deadline' | 'noop'}

                        See Documentation/block/as-iosched.txt and

                        Documentation/block/deadline-iosched.txt for details.


        elfcorehdr=     [IA-32]

                        Specifies physical address of start of kernel core

                        image elf header.

                        See Documentation/kdump.txt for details.


        enforcing       [SELINUX] Set initial enforcing status.

                        Format: {'0' | '1'}

                        See security/selinux/Kconfig help text.

                        0 -- permissive (log only, no denials).

                        1 -- enforcing (deny and log).

                        Default value is 0.

                        Value can be changed at runtime via /selinux/enforce.


        es1370=         [HW,OSS]

                        Format: [,]

                        See also header of sound/oss/es1370.c.


        es1371=         [HW,OSS]

                        Format: ,[,[]]

                        See also header of sound/oss/es1371.c.


        ether=          [HW,NET] Ethernet cards parameters

                        This option is obsoleted by the 'netdev=' option, which

                        has equivalent usage. See its documentation for details.


        eurwdt=         [HW,WDT] Eurotech CPU-1220/1410 onboard watchdog.

                        Format: [,]


        fd_mcs=         [HW,SCSI]

                        See header of drivers/scsi/fd_mcs.c.


        fdomain=        [HW,SCSI]

                        See header of drivers/scsi/fdomain.c.


        floppy=         [HW]

                        See Documentation/floppy.txt.


        ftape=          [HW] Floppy Tape subsystem debugging options.

                        See Documentation/ftape.txt.


        gamecon.map[2|3]=

                        [HW,JOY] Multisystem joystick and NES/SNES/PSX pad

                        support via parallel port (up to 5 devices per port)

                        Format: ,,,,,

                        See also Documentation/input/joystick-parport.txt


        gamma=          [HW,DRM]


        gdth=           [HW,SCSI]

                        See header of drivers/scsi/gdth.c.


        gpt             [EFI] Forces disk with valid GPT signature but

                        invalid Protective MBR to be treated as GPT.


        gscd=           [HW,CD]

                        Format:


        gt96100eth=     [NET] MIPS GT96100 Advanced Communication Controller


        gus=            [HW,OSS]

                        Format: ,,,


        gvp11=          [HW,SCSI]


        hashdist=       [KNL,NUMA] Large hashes allocated during boot

                        are distributed across NUMA nodes.  Defaults on

                        for IA-64, off otherwise.

                        Format: 0 | 1 (for off | on)


        hcl=            [IA-64] SGI's Hardware Graph compatibility layer


        hd=             [EIDE] (E)IDE hard drive subsystem geometry

                        Format: ,,


        hd?=            [HW] (E)IDE subsystem

        hd?lun=         See Documentation/ide.txt.


        highmem=nn[KMG] [KNL,BOOT] forces the highmem zone to have an exact

                        size of . This works even on boxes that have no

                        highmem otherwise. This also works to reduce highmem

                        size on bigger boxes.


        hisax=          [HW,ISDN]

                        See Documentation/isdn/README.HiSax.

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

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

推荐阅读最新更新时间:2025-12-19 09:47

u-boot-2014.10移植(7)修改环境变量的存储位置
原来环境变量存储在nor flash里, 前面mtdparts分区第二个分区就是params 现在修改环境变量到nand里, 搜索default environment 在Env_common.c函数里面: default_environment结构体 default_environment结构体定义在env_common.c里面 其中有: #ifdef CONFIG_BOOTARGS bootargs= CONFIG_BOOTARGS #endif 这里CONFIG_BOOTARGS没有定义,bootargs是传给内核的环境变量,在smdk2440.h里面定义CONFIG_BO
[单片机]
定制Linux操作系统的环境变量
Linux是一个多用户的操作系统。每个用户登录系统后,都会有一个专用的运行环境。通常每个用户默认的环境都是相同的,这个默认环境实际上就是一组环境变量的定义。用户可以对自己的运行环境进行定制,其方法就是修改相应的系统环境变量。 常见的环境变量 对于PATH和HOME等环境变量大家都不陌生。除此之外,还有下面一些常见环境变量。 ◆ HISTSIZE是指保存历史命令记录的条数。 ◆ LOGNAME是指当前用户的登录名。 ◆ HOSTNAME是指主机的名称,许多应用程序如果要用到主机名的话,通常是从这个环境变量中来取得的。 ◆ SHELL是指当前用户用的是哪种Shell。 ◆ LANG/LANGUGE是和语言相关的环境变量,
[嵌入式]
编译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] (第一章)uboot流程——概述
一、bootloader & uboot 1、bootloader的概念  Bootloader是在操作系统运行之前执行的一段小程序。而这段小程序的最终目的,正确地设置好软硬件环境,使之能够成功地引导操作系统。 2、bootloader的核心功能 bootloader的核心功能就是引导操作系统,部分工作如下 初始化部分硬件,包括时钟、内存等等 加载内核到内存上 加载文件系统、atags或者dtb到内存上 根据操作系统启动要求正确配置好一些硬件 启动操作系统 3、bootloader的monitor功能 上述2是bootloader的核心功能,也就是引导操作系统的功能。 但是部分bootloader还支持monitor
[单片机]
Linux内核分析:uboot与Linux内核机器码分析
1. uboot机器码 在uboot启动的start_armboot阶段,调用board_init函数初始化机器码。 int board_init(void) { .............................. gd- bd- bi_arch_number = MACH_TYPE_SMDKV210; gd- bd- bi_boot_params = PHYS_SDRAM_1 + 0x100;   return 0; } 在uboot启动内核时,将机器码传参至内核。 uboot源码中,也有一个/uboot/arch/arm/include/mach-types.h文件,该文件维护至该版本的u
[单片机]
使用uboot启动低版本内核卡死在Starting kernel...
  在u-boot2016.11(我用的这个版本)中用串口发送的时候使能了FIFO的方法,因fifo_mask,fifo_max没有被赋值,所以导致卡死在一个while循环里面(linuxarcharmplat-samsungincludeplatuncomperss.h static void putc(int ch))。 解决办法:   1.把uboot的串口FIFO关闭,linux那边就不会走这边的流程就没有问题成功引导内核,打印正常,但是在uboot打印的时候就会出现问题。所以我的解决办法是在uboot打印完最后一句话(Starting kernel...)且fifo为空的时候的时候再将程序交接给内核。   2.还有一个办
[单片机]
S5PV210的开发与学习:2.2 UBOOT学习笔记(零距离初体验uboot
《2.uboot和系统移植-第3部分-2.3.零距离初体验uboot》 -------------------------------------------------------- 欢迎访问《朱老师物联网大讲堂》官方网站 www.zhulaoshi.org 以获取本课程更多信息 -------------------------------------------------------- 第一部分、章节目录 2.3.1_2.X210官方uboot配置编译实践 2.3.3.uboot的源码目录分析1 2.3.4.uboot的源码目录分析2 2.3.5.uboot的源码目录分析3 2.3.6.SourceInsight的基本使用
[单片机]
uboot启动过程理解
对于2440而言,启动的方式不多。一般就是外界一个NAND FLASH ,2440内部有个NAND FLASH Controller,会自动把NAND FLASH的前4K拷贝到2440的片内SRAM。2440这个片内SRAM就是所谓的 Stepping Stone刚好也是4K。 在制作启动代码时,就是uboot。一般会把uboot分为两个部分,一般就会叫做BL1和BL2。 BL1和BL2两者相加就是整个uboot。这两个部分各有分工。 为了符合2440的特点,BL1的大小会被设置为4K,这4K需要完成的任务有: 1、配置好内存(对于2440来说,内存就是SDRAM)。 2、配置好内存后,将整个uboot搬运到SDRAM
[单片机]
<font color='red'>uboot</font>启动过程理解
小广播
最新单片机文章
何立民专栏 单片机及嵌入式宝典

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

厂商技术中心

 
EEWorld订阅号

 
EEWorld服务号

 
汽车开发圈

 
机器人开发圈

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