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

learn more… | top users | synonyms

1
vote
1answer
311 views

Encrypt root file system and decrypt using U-Boot with key stored in FPGA

We are using Cyclone V, which essentially is a SOC comprised of FPGA + ARM core. Is it possible to encrypt the root file system and decrypt it by using U-Boot with a key which is located in the FPGA?
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 ...
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: ...
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 ...
0
votes
1answer
106 views

Debian 8.1 with Uboot bootloader cannot run FSCK on reboot

I am running Debian 8.1 on an SD card on a Banana PI with U-boot bootloader. I'm trying to force my system to run fsck on reboot, but no matter what I do, nothing happens. Here are what I have tried ...
0
votes
0answers
16 views

Make a bootable ubuntu-core for Raspberry pi2

I've been trying to build a minimal Ubuntu system for my raspberry pi2, based on an Ubuntu 14.0.4 core (base) image. here: wiki.ubuntu.com/Core I deployed the image to the SD card, Cross compiled a ...
6
votes
2answers
227 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 ...
0
votes
2answers
45 views

Booted from NFS Linux has no permission for su command

I've booted Linux from NFS with Android system. And now I have to execute command as super use in minicom. But system doesn't allow me to switch to super user mode. Every time when I type: shell@...
0
votes
0answers
27 views

U-BOOT error- data abort

occurs here: reading initfs.image.gz data abort pc : [<3ff5ae10>] lr : [<3ff7c38c>] reloc pc : [<04024e10>] lr : [<0404638c>] sp : 3f314a78 ip : ...
1
vote
0answers
10 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 ...
2
votes
0answers
77 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 ...
0
votes
2answers
393 views

Disabling MMC in uboot

Following is the log message related to u-boot on Xilinx zynq platform: [Fri Apr 04 19:57:50.990 2014] U-Boot 2013.07 (Apr 04 2014 - 19:38:00) [Fri Apr 04 19:57:50.990 2014] [Fri Apr 04 19:57:50....
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 ...
0
votes
0answers
18 views

Question on how uBoot operates

I'm trying to learn how to use uboot for embedded systems. Right now I'm looking at the contents of uEnv.txt, which is a startup script for uboot. I'm assuming that uBoot just knows that a text file ...
3
votes
1answer
58 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:...
2
votes
0answers
113 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-...
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.
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 ...
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 ...
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 ...
0
votes
0answers
31 views

How to play a beep/sound file from the u-boot for Panda-board?

I want to play a Beep/Sound file during the boot up from the u-boot on the speakers connected to panda-board. As this functionality is there in PC ,How to replicate the same on the embedded platform ...
0
votes
1answer
322 views

kernel panic not syncing: vfs :unable to mount root fs on unknown block(31,1)

I am trying to boot linux from flash on an powerpc board. In u-boot I set bootargs with: setenv bootargs root=/dev/mtdblock1 rootfstype=ext2 rw console=ttyS0,115200 ramdisk_image=\${rd_size} I also ...
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
votes
1answer
51 views

How to create a U-boot Image?

I have U-Boot source files and GCC-4.9.3 and I want to create U-Boot image for wandboard and I am using following commands: export PATH=$PATH:"address of arm-none-eabi" export CROSS_COMPILE=arm-none-...
0
votes
2answers
56 views

U-boot make march error

After following the instructions here, http://elinux.org/RPi_U-Boot, for setting up U-Boot, I am getting the following error when running the command make -j8 -s cc1: error: bad value (armv5) for -...
0
votes
1answer
34 views

Extlinux.conf on separate partition?

I'm trying to configure a system with separate boot partition, booted with U-boot and extlinux loader. Could I locate extlinux.conf on separate partition, but kernel (zImage) and device tree on root ...
3
votes
1answer
165 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 ...
4
votes
1answer
594 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
1answer
783 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 ...
0
votes
1answer
692 views

gcc: error trying to exec 'cc1': execvp: No such file or directory

When trying to run make -j2 -s as instructed from this guide, I am getting the following error. gcc: error trying to exec 'cc1': execvp: No such file or directory Any idea what I have done ...
5
votes
1answer
134 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, ...
0
votes
1answer
130 views

What do I put in /etc/fw_env.config when using Debian Jessie's u-boot-sunxi-with-spl.bin

I'm trying to move my exsting armhf Debian Jessie setup from a CuBox to a BananaPro. I've copied the u-boot-sunxi-with-spl.bin from the u-boot-sunxi package to an offset 8k from the start of the ...
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 ...
0
votes
1answer
330 views

Editing make process?

So.. I figure this is alright to ask around here. https://github.com/swarren/u-boot — I have this, need to get the binary so I can finally run something other than Raspbian on the Pi. The ...
0
votes
2answers
2k views

Uboot passes arguments to kernel!

How can uboot pass command line argument to kernel? I did some googling and got to know that it uses the bootargs environment variable. There it was mentioned that setenv bootargs key=value. Since I ...
0
votes
1answer
99 views

U-Boot and armhf installation

I am currently trying to install ANY linux distro onto an external HD. My goal is to boot using the external device, but my problem at the moment is that I am unable to achieve this. I try to boot ...
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 ...
1
vote
1answer
490 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 ...
3
votes
0answers
232 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 ...
2
votes
2answers
932 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-...
1
vote
0answers
73 views

Move/Change boot file system

I have a webcam Sunluxy 720p and I need to adapt the configuration to my needs. The / file system is read-only. I have access to u-boot via UART/USB cable. I can also connect via telnet as root. ...
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 ...
1
vote
0answers
81 views

U-Boot: Changing TTY columns and rows for virtual consoles

Having installed GRUB as boot manager allows the operating system (Linux) to boot on specific video mode so the TTY virtual consoles change its columns and rows (width and height). For example, ...
0
votes
1answer
21 views

Do less severe log level INCLUDE more severe log levels?

Will loglevel=7 include the logs, for example, that would be produced by loglevel=0? http://www.makelinux.net/ldd3/chp-4-sect-2
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 ...
2
votes
3answers
136 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 ...
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 ...
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 ...
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 ...
0
votes
1answer
125 views

FDT and ATAGS support not compiled in - hanging ### ERROR ### Please RESET the board ###

I'm following the tutorial from the below mentioned website to install Linux on SoCkit by Terasic: https://zhehaomao.com/blog/fpga/2013/12/24/sockit-2.html. This is my first time building a Linux, ...