Das U-Boot (The Universal Bootloader) is an open source, primary boot loader.

learn more… | top users | synonyms

12
votes
2answers
12k views

How to extract files from uImage?

Buildroot is generating Images for an embedded device where they should run on. This is working very well. In those Images the rootfs is included. Due to some research I'd like to look into that ...
8
votes
3answers
7k views

Can vmlinux be used instead of uImage?

I want to use an uncompressed kernel image and boot the BeagleBoard. Generally I use uImage to boot the kernel which is in compressed format. How do I use an uncompressed kernel image?
6
votes
2answers
3k views

How can I tell what memory RAM address range is being used by uboot?

I am in uboot and was wondering, how could I tell what RAM address range is being used by uboot. uboot needs memory to run so it might be using some of the RAM. I want to avoid modifying those RAM ...
6
votes
2answers
228 views

Disabling PHY auto-negotiation during Linux boot process on Xilinx

I'm trying to install Linux on an FPGA board. The linux flavour is petalinux for Xilinx FPGA chips. The current Xilinx SoC has a Cortex A9 processor and a programmable hardware logic i.e FPGA. I ...
5
votes
3answers
9k views

Kernel panic - not syncing: No init found. While booting from U-Boot

Kernel mounted the root file system but can not find any init script. I'm sure that script exists in my ramdisk.img! I also checked out this and GE863-PRO3 U-BOOT Software User Guide 1VV0300777 Rev. ...
5
votes
1answer
4k views

Kernel booting stops right after “Uncompressing Linux…”

I'm trying to bring up an ARM-based board. I've got U-Boot working but can't seem to get the kernel to load. Most of the time it only goes as far as: Starting kernel ... Uncompressing Linux... A ...
5
votes
1answer
135 views

Applying device tree overlay

I have a device based on imx233-Olinuxino-Nano. The Arch Linux Arm distro boots and works. However, there is a slave device on my board that is connected to SPI of CPU. It is supported by kernel, ...
4
votes
2answers
2k views

Restricting memory area for linux kernel

I am running ltib Linux on P1022RDK (P1022 Core) platform. I have 512 MB = 0x20000000 memory. I want my Linux kernel to use the second half of the board memory (i.e from 256 MB to 512 MB) and want the ...
4
votes
1answer
596 views

What does this dd command do exactly?

I have an embedded device with this SD card: [root@(none) ~]# busybox fdisk -l Disk /dev/mmcblk0: 3965 MB, 3965190144 bytes 4 heads, 16 sectors/track, 121008 cylinders Units = cylinders of 64 * 512 = ...
3
votes
2answers
15k views

How to convert a zImage into uImage for booting with u-boot

I have a zImage that I want to boot using u-boot. I think zImage is not understood by u-boot,as I am getting the following error after uboot executes: Wrong Image Format for bootm command ERROR: can'...
3
votes
1answer
3k views

Booting using initramfs instead of uramdisk

I am working on Zynq Microzed board. It is booting perfectly with uramdisk.image.gz but I trying to boot it with initramfs.cpio. In this regard I have made following changes in header files of u-...
3
votes
2answers
4k views

How to create boot SD card for Banana Pi manually

It seems that I have a lack of understanding how booting SD-Card images on devices like the Banana Pi work. The situation is as follows. I have a Banana Pi and a Banana Pro. Every device has an ...
3
votes
1answer
5k views

How do I tell which device tree blob (dtb file) I'm using?

I'm working with TS-4900, an embedded 'Computer on Module' plugged into a baseboard, running Yocto Linux. It uses U-Boot to start, and supposedly basing on the model of the baseboard it chooses the ...
3
votes
1answer
1k views

FreeBSD on Raspberry Pi2

I want to build FreeBSD custom Image for my Raspberry Pi2. I have read about the boot process in RPi2. I also went through the chrochet build instruction document. I learned from some websites that ...
3
votes
1answer
61 views

ICMP - Destination unreachable (Port unreachable)

I have two Ethernet-wired connected devices. I gave to both of them address from same sub-network. As result I can see second device in arp-table of the first. $ arp -a ? (128.247.77.90) at 10:60:4b:...
3
votes
1answer
785 views

ERROR: image is not a fdt - must RESET the board to recover

I am attempting to boot the freescale 1040RDB and am having some difficulty. I'm using a pre-built SDK from Freescale that has a linux VB image with the yocto installation along with all of the yocto ...
3
votes
1answer
1k views

rootfs.jffs2 files system won't fit in mtd3

I have a files system that I am trying to put in flash memory mtd3 partition. I first boot using uboot and then do run sdboot to boot using SD card as shown below: U-Boot-PetaLinux> U-Boot-...
3
votes
1answer
5k views

u-boot disable DHCP requests with setenv

I am trying to disable the DHCP requests after the Kernel was loaded. Using freescale imx25 dev-board in standard config. In u-boot, I find two lines ip=dhcp: MX25 U-Boot > pri bootdelay=3 ...
3
votes
1answer
166 views

FDT relocated by U-Boot cannot be accessed by Linux (in highmem)

We run a customized version of U-Boot on an ARM-based embedded system and would like to load Linux 4.3 with a device tree blob. The system features 1GB of RAM of which the top 128MB are reserved for ...
3
votes
0answers
233 views

Procedure to figuring out U-Boot environment location from binary/hex dump

TL;DR: I have a u-boot (version 1.6.1) enabled board, I have dumped the partition that contains the environment variables to a binary file using dd and now am stumped at finding out how to translate ...
3
votes
0answers
1k views

Can a zImage be used with U-Boot and ArchLinuxARM?

I am using U-Boot on a Cubieboard 2, sun7i AllWinner A20 board to boot into ArchLinux ARM. The kernel version that I have is the sun7i latest, which is 3.4.103-5-ARCH so, in kernel terms, it's a bit ...
3
votes
1answer
2k views

Understanding SPL & U-Boot Memory Map using bdinfo?

We are using beaglebone black based custom board, I want to write some test results into RAM location from SPL, and read that log and send it via tftpput to the host PC. So far I'm able to do tftpput ...
3
votes
2answers
1k views

How to make sd card as default boot in uboot?

U-Boot 2013.07 (Nov 21 2013 - 18:12:40) Memory: ECC disabled DRAM: 1 GiB MMC: zynq_sdhci: 0 SF: Detected N25Q128A with page size 64 KiB, total 16 MiB In: serial Out: serial Err: serial Net: ...
2
votes
3answers
5k views

tftpput in U-Boot: error: 'Access violation' (2)

I have enabled CONFIG_CMD_TFTPPUT in U-Boot, but I am not able to use it. I have set the serverip and ipaddr environment variables. When I use it as follows, it times out: u-boot# tftpput ...
2
votes
3answers
137 views

Create cpio file with different absolute directory

I am trying to modify a file system image packed with cpio. For that reason I first need to extract and later pack the image. As the image contains a whole file system all the files are given in ...
2
votes
1answer
3k views

Memory display using md in u-boot

U-Boot-PetaLinux> md 0xc 0000000c: 2201c2a0 1a8441c5 90031018 52011010 ...".A.........R 0000001c: 0045c903 022c19ae 01077620 ca173dc0 ..E...,. v...=.. 0000002c: 0804e426 15dd0c12 201092c1 ...
2
votes
2answers
2k views

File system CRC check

I know that before running the kernel, u-boot (the boot loader) will check the kernel image CRC. Only if it is correct it will go further, else it will give a "Bad CRC" error. I want to do same thing ...
2
votes
0answers
83 views

Linux kernel hangs at “Starting kernel …”

I have enabled Secure Boot on an embedded device successfully. The problem is that when I am booting in this mode the process seems to get stuck right after the line: Starting kernel ... once U-boot ...
2
votes
0answers
120 views

Linux - couldn't mount RDWR because of unsupported optional features (400)

I try to run Android from SD-card. This card is prepared. There are partitions: boot(FAT32), rootfs(ext4), system(ext4), cache(ext4) and usedata(ext4). Boot partitions has files to run u-boot: MLO, u-...
2
votes
2answers
56 views

Redundant U-Boot images

I'm currently working on an embedded system which uses a NAND flash as it main storage. Bootloader + Kernel + rootfs are written to it, and we are looking for ways to make our system more robust to ...
2
votes
1answer
42 views

boots from usb but uses internal hd as sda1

I am currently booting a kernal (via uboot) from a usb drive which works fine. The issue I am having is when the SSD is plugged in it uses the SSD as the sda1 and i have to unplug the SSD for the usb ...
2
votes
0answers
360 views

How to run Ubilinux / u-boot under qemu (x86)

I wish to test Ubilinux (http://www.emutexlabs.com/ubilinux) before flashing it onto my Intel Edison board, which currently has Yocto on it. I am able to emulate Yocto for Edison with qemu, running ...
2
votes
2answers
941 views

NFS root filesystem doesn't mount at boot

This is an embedded device with a custom kernel (see below for relevant config). It's an x86-32 machine booting like this: coreboot->uboot->linux. I can mount the NFS share in linux if I use on-...
2
votes
0answers
81 views

configure port for dhcp request in uboot

We are fetching ip using DHCP in u-boot. we need to send via same interface (eg eth1) every time. but DHCP request sent via any configured interface(eth1/eth2..). How can we configure u-boot to send ...
2
votes
0answers
273 views

How to quote the quote marks in strings in u-boot?

Currently my boot string (displayed with env print) is: If I want to set a variable to a string in u-boot, I do env set variable 'my string' But what to do if the string contains the quote ...
2
votes
1answer
384 views

In u-boot why spi flash is probed twice?

This is a section of the log from u-boot running on Avnet Microzed board -ARM CORTEX A9: [Thu Jun 26 17:40:53.656 2014] [Thu Jun 26 17:40:53.656 2014] [Thu Jun 26 17:40:53.656 2014] U-Boot 2013.07 (...
2
votes
0answers
49 views

Can I avoid writing to the screen until a couple seconds before X11 is initialized?

On an embedded device running Linux, I am writing to the monitor from the bootloader (U-Boot) to display a given logo. Once the linux kernel is loaded, however, it clears the screen until X11 is ...
2
votes
0answers
149 views

Why u-boot starts so late after I give power

Running petalinux from sd card on ARM cortex A9 based zynq zc702 board. Zynq is an SoC with ARM and FPGA. Before the log messages (corresponding to u-boot) start printing, the screen (serail console)...
2
votes
0answers
623 views

Booting over the LAN using uboot

I am trying to boot my beaglebone over the LAN. I am able to download the Kernel uImage from the TFTP server. Here is what I did - U-Boot SPL 2011.09-00053-gb423c52 (Aug 10 2012 - 11:26:55) Texas ...
1
vote
1answer
102 views

How to download original ramdisk file to the computer? [closed]

Linux embedded, is it possible to download original ramdisk file to the computer, to get source code? Access via SFTP. U-boot 1.2.0 Kernel command line: root=/dev/mtdblock3 mtdparts=spansion:0x20000(...
1
vote
2answers
984 views

How to find out the bad block table offset and how to change it in u-Boot

I am facing a similar problem as this: Kernel does not recognize nand bad blocks marked by u-boot I'm using a friendlyARM micro2440 board that contains the s3c2440 ARM processor. u-Boot has found ...
1
vote
1answer
567 views

How to get log from u-boot without com-port

U-boot is configured to print its logs into com-port by default. There is a device I can't receive this information (without uart/com). Can I configure u-boot to store its log strings into some place ...
1
vote
1answer
1k views

How to configure bootloader to boot the new kernel?

I succesfully upgraded linux kernel from 2.6.32.61 to 3.0.7 on BeableBoard-xM, following the steps below: download and untar kernel sources 3.0.7 from kernel.org copy kernel sources on /usr/src ...
1
vote
2answers
43 views

U-Boot shell - show memory usage (like Linux free command)

Is there any way of displaying memory usage from U-Boot? I mean operation memory - like sdram - not mmc.. Ideally from shell but I can be happy also with C command as I compile U-Boot myself.
1
vote
1answer
496 views

uboot & uImage & linux boot process

Usually, in embedded systems the NAND flash is partitioned in four parts:-- A partition for the bootloader (here goes uboot.bin) A small partition where uboot saves its environment variables A ...
1
vote
1answer
2k views

Is vmlinuz and bzImage really the same?

I just stumbled upon this page, which says that bzImage and vmlinuz are identical. bzImage is then copied using the cp (i.e., copy) command to the /boot directory and simultaneously renamed ...
1
vote
1answer
2k views

U-Boot Bootup error

I'm running a Debian Linux on a Cubietruck, running off a SD card. When I power on, I get the following error: ## Booting kernel from Legacy Image at 46000000 ... ...
1
vote
1answer
85 views

U-boot static IP doesn't seem to “apply”

When I enter the command setenv ippaddr xxxx.xxxx.xxxx.xxxx it doesn't seem to actually connect to the network on that address. I have a private network set up with the address in the same subnet ...
1
vote
2answers
2k views

Bootloader fails to load linux kernel

I upgraded linux kernel from 2.6.32 to 3.0.7 but now bootloader isn't able to load the kernel image. Specifically, boot procedure freezes after: Starting kernel ... Uncompressing Linux... done, ...
1
vote
0answers
11 views

Can you unwrap an image prepared for Uboot using mkimage? [duplicate]

I have an image that's currently wrapped in a uboot header from using the Uboot mkimage utility. I don't have the original of that image, so I want to take off the uboot header to turn the uimage back ...