Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [u-boot]

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

0
votes
0answers
37 views

Linux Kernel boot stucks at “Starting kernel …”

I am facing some troubles while booting kernel. U-boot boots and gets stuck at Starting Kernel.... Boot parameters are as below. setenv mmcroot '/dev/mmcblk0 rootwait rw rootdelay=5 mem=256M' ...
1
vote
0answers
24 views

Modifying U-boot booting script and DHCP command script in Petalinux

I want to try the following things : Modify the booting arguments of u-boot of my Petalinux project which is currently using the Xilinx Kernel. I want to modify it such that it runs DHCP during ...
0
votes
0answers
31 views

nfs over usb beaglebone black linux

I'm trying to boot nfs over usb. Till now I'm able to load the kernel and run it with dtb using tftp over ethernet usb. I'm passing setenv bootargs console=ttyO0,115200n8 root=/dev/nfs rw ...
0
votes
0answers
43 views

U-Boot Falcon Mode ft. RFS

I am developing a system for BeagleBone Black. I am using Yocto Project to generate U-Boot, kernel and RFS. In order to reduce boot time of this system, I am trying to set up U-Boot Falcon Mode. I ...
0
votes
1answer
65 views

Verify FIT image signature in Linux userspace

I'm working on software update for my device. The image is a FIT image with RSA signature. My u-boot can verify it before booting it. I'm wondering if there's a tool in linux userspace to do the same ...
0
votes
1answer
60 views

uboot Flattened Image Tree decompilation

i have run into a problem when trying to configure the bootargs for my embedded linux system. The device tree is compiled into the same image as the kernel. It includes bootargs ( /chosen/bootargs ). ...
0
votes
0answers
18 views

Failover boot image

I am trying to create a failover boot image for Ubuntu. The images will be on an SDCard System, and my intent is that if one boot image fails, the other will load. I am using UBoot and Ubuntu. ...
0
votes
0answers
25 views

How to check the status of emmc flashing

I am using a BeagleBone running Linux. I have a Yocto-generated custom Linux image which I flash from the SD card to the internal emmc. This flashes fine, however, I am unable to view the status of ...
1
vote
0answers
50 views

UBI layout volume not found

I am following Bootlin's embedded Linux training which aims to put an embedded Linux system on an Atmel SAMA5D4 Xplained board (theory slides, practical lab instructions) and I am stuck a putting the ...
0
votes
0answers
53 views

Linux command that is equivalent to uboot's nand erase.chip or old flash_eraseall

On occasion when changing partition size/numbers on my nand flash I will get the following error: ubi0: attaching mtd4 ubi0 error: scan_peb: bad image sequence number 1463854777 in PEB 4080, expected ...
0
votes
0answers
63 views

u-boot FIT image signing in dtb

Creating a dtb to attach to u-boot that has public keys to verify a signed FIT image is a 2 step process: 1) dtc u-boot_pubkey.dts -O dtb -o u-boot_pubkey.dtb 2) tools/mkimage -f fitImage.its -K u-...
2
votes
1answer
81 views

Handle booting failure for u boot ( Debian )

I have an embedded device with 512 Mb of ram and 4Gb internal storage. ( Consider Raspberry Pi or Beaglebone ) I have an external SD card available with 3 Partitions. mmcblk0 is the disk and ...
0
votes
0answers
30 views

What do these U-boot arguments do?

I am looking at a uEnv.txt file with the following lines: bootpart=0:1 ...
0
votes
0answers
63 views

Stuck at U-Boot on Zynq platform

I am trying to boot Linaro on a Zynq board, but can't get past U-Boot. If I try to run "bootm" manually at the prompt I just get an error: Zynq> bootm Wrong Image Format for bootm command ERROR: ...
0
votes
1answer
31 views

U-boot messages regarding partition switches not understood

I am using a BeagleBone board with the default Debian image flashed to the internal emmc. I'm trying to understand the U-boot messages below that I get over serial when the device starts, especially ...
0
votes
0answers
17 views

How deep is U-Boot's `bootm` command checking for a valid header?

TL;DR: How many ways can the bootm command fail with this error in version 1.1.4?: # bootm Booting image at 31000000 Bad Magic Number Background: I've bricked a device whose U-Boot is deeply ...
0
votes
1answer
192 views

Altering eth1 MAC address [duplicate]

I need to alter the MAC address for eth1 ethernet device on my embedded system permanently so it retains this MAC address on every boot. The OS I'm using: VERSION_ID="v2015.12" NAME="Angstrom" ID="...
2
votes
1answer
87 views

Kernel can't find initrd?

When trying to mount ext2 I get this error: Creating 4 MTD partitions on "MPC8313RDB Flash Map Info": 0x000000000000-0x000000100000 : "U-Boot" 0x000000100000-0x000000300000 : "Kernel" 0x000000300000-...
1
vote
1answer
40 views

JTAG'ing firmware into imx28

My goal here is to load a custom kernel and initramfs into the memory of the wink hub 1 based on imx28 dev board and boot it using the bootm command from u-boot shell. So, I downloaded the u-boot ...
0
votes
1answer
198 views

Flashing U-boot on beaglebone black

I got a beaglebone black which comes with u-boot linux preinstalled on the emmc. For the sake of learning I want to put u-boot on the flash myself and build linux from scratch. I have compiled u-boot, ...
0
votes
1answer
692 views

mmc0 warning on SD card bootup of linux

I get the following warning on debian linux (kernel 4.18.8) bootup of my microchip sama5d3 board: mmc0: unrecognised SCR structure version 4 mmc0: error -22 whilst initialising SD card after spewing ...
1
vote
0answers
120 views

login system on a buildroot linux router [closed]

I have a Gemtek WVRTM 127ACN router / modem, If you do not touch any key during startup, linux starts automatically. It's a linux version created with buildroot, the problem is that there is not a ...
0
votes
0answers
19 views

integrity check of uboot using dd

I just upgraded uboot using dd and it boot successfully : dd if=uboot_file of=/dev/mmcblk0 bs=512 The output is : 1360+1 records in 1360+1 records out I would like to read backup to ensure every ...
1
vote
0answers
33 views

Switch root filesystem after copy

I currently have a script that copy the content of a microSD card to the eMMC of a BeagleBone Black. Once the copy is done, I would like to switch root filesystem for the eMMC and finish installing ...
1
vote
0answers
47 views

Set U-boot video resolution?

I recently obtained an Nano-PI A64 device and installed Ubuntu core as described on the wiki. The distro appears to use U-boot but I'm not sure how to set the console video resolution or other boot ...
0
votes
1answer
435 views

Custom-built u-boot not booting kernels

I have built mainline U-Boot, with following commands: make ARCH=arm CROSS_COMPILE=armv7a-hardfloat-linux-gnueabi- -j3 Bananapi_M2_Ultra_defconfig make ARCH=arm CROSS_COMPILE=armv7a-hardfloat-linux-...
1
vote
1answer
400 views

Accessing U-Boot with an SSH Connection

I need to access U-boot on a uPC that I have that is running Debian. Typically I connect my uPC to a monitor and during the boot up sequence press any key on my keyboard and I am immediately entered ...
0
votes
1answer
122 views

BeagleBone Black running upstream stable kernel/u-boot without any patches

I have been exploring the BeagleBone Black (BBB) for some time now with pre-built images. Now I'm trying to get my own kernel compiled and deployed. In that search, I found that TI has it's own ...
0
votes
1answer
53 views

is uboot.bin location-independent?

ubootgenerate uboot.bin and uboot.elf. uboot.bin is used to burn to flash, at the start address of the CPU. uboot.elf is not very useful. NOTE: I think uboot.bin/uboot.elf are all location-...
1
vote
0answers
44 views

Changing Master Boot Record (MBR) starting partition address of boot loader

From what I understand, the partitioning of the Linux system - when booting from an SD card on an embedded device should look something similar to: I want to move partition 2 up and merge it with the ...
2
votes
1answer
1k views

Repair uEnv.txt from U-Boot terminal?

I have a BeagleBone Black, with Debian 8.3, Linux 4.1.15-ti-rt-r43. EDIT: The system is installed on the internal flash. I modified the /boot/uEnv.txt to load a different dtb file, apparently with ...
0
votes
1answer
475 views

load a file in u-boot over nfs

Note: this is not about using nfs for the rootfs or using tftp to download a kernel. U-boot is based on v2017.11, the board is custom but similar to the imx6dl-sabresd. I've set CONFIG_CMD_NFS=y in ....
3
votes
0answers
102 views

Execute a command instantly after system is powered

I would like to execute a command instantly after system is powered. My project is realized in an embedded Linux environment (Yocto-based, with U-boot bootloader), therefore I would like to show a ...
0
votes
1answer
31 views

U-Boot: Error: “autodetectfdt” not defined

After some time I booted up my Cubox i4 Pro. This microcomputer uses U-Boot, or at least, it should do that. The box doesn't boot, though. When I connect my Mac over micro-USB, or a monitor over HDMI,...
0
votes
0answers
85 views

Linux kernel update

I'm trying to update the kernel version from 3.14 to 4.0.9 of Debian distribution. For boot I'm using U-Boot, and my microcontroller is imx6 (ARM architecture). I have the sources for the 4.0.9 ...
0
votes
2answers
708 views

Uboot Hangs when Initrd size increased in FIT image

Im booting Linux on arm64 using FIT multi image (image + initrd + DTB). So if I increase the initrd size (from 16 MB -> 20MB) board hangs at "starting kernel"). However if I change the load address of ...
4
votes
1answer
2k views

When can Linux boot with a Read-Only Root Filesystem

I am working on a embedded Linux with u-boot as bootloader and systemd init system. The tools are limited to standard busybox. While analyzing some problems, I figured out the root filesystem is read ...
1
vote
0answers
1k views

udhcpc: no lease, failing WHEN booting on embedded linux created by Buildroot

The responsiveness of the Linux service udhcpc (native DHCP relative to /etc/init.d/S40network service which invokes ip up and udhcpc) differs before and after logging at the prompt. When invoked via ...
0
votes
0answers
130 views

Rescue u-boot boot-partition with encrypted root filesystem

I've installed a Debian on my BananaPi according to this section. After manually configuring the partitions (/boot on SD-card, / and swap are LVM volumes in a LUKS partition on a SSD), the debian-...
0
votes
1answer
325 views

How to debug u-boot issue?

I am working on putting a custom system together on the Beaglebone Black. Things work most of the time, but every once in a while, the system will fail to boot when powered on. This never happens ...
0
votes
1answer
413 views

u-boot bootdelay=2 when booting ext4, and bootdelay=0 when booting fat

I am running u-boot on a Beaglebone Black custom install, and have modified ./include/configs/am335x_evm.h to set the default bootdelay to 0, which was working well when I was loading my kernel and ...
1
vote
1answer
1k views

Why is uboot ignoring mmcroot in uEnv.txt?

I am trying to get an embedded linux build using yocto to work. I'm very close, but I'm having trouble with the boot. I have 2 root file systems. One is the main and the other is to be used during ...
1
vote
2answers
83 views

How to identify relevant parts of an ext4 partition

Background: I need to clone ext4 partitions from an eMMC using uboot (and if neccessary custom bare metal code). I copied the whole thing using mmc read and found that most of the partition is empty, ...
1
vote
1answer
444 views

Looking for a complete(ish) u-boot shell syntax guide [closed]

I am looking for a complete(ish) u-boot shell syntax guide. Supposedly it is the Hush Shell, but I cannot find good guides for this shell either.
1
vote
0answers
305 views

Adding wifi nfs boot to initramfs, under armbian and uboot

I'm trying to setup my an initramfs image to nfs boot from a WPA wifi access point. My image is working with armbian and uboot. so far I have NFS booting over ethernet just fine. But no real path to ...
1
vote
0answers
348 views

U-Boot RAM Test

I have an iMX6UL board, i am doing U-Boot Ram Test RAM address range start from 0x80000000 to 0x90000000. i need to find out the safe address range to perform U-boot- RAM test, because some portion of ...
1
vote
1answer
1k views

Backup Nand Flash memory area

Linux version 2.6.26.5 embedded system on board. Device use full Image's Kernel. File system stored on NAND Flash memory, Hynix NAND 32MiB 3,3V 8-bit. # printenv baudrate=115200 ethaddr=FF:FF:FF:FF:...
0
votes
1answer
281 views

Shorthand syntax for U-Boot arguments

What is proper syntax for setenv bootargs command when using shorthand syntax for method? For example, the full kernel environment variables is U-Boot> setenv bootargs console=ttyS1,115200n8 ...
2
votes
1answer
841 views

Pass root file system by label to linux kernel

How can I boot the linux rootfs from u-boot passing rootfs partition by label ? I'm using u-boot as bootloader and the card is a RedPitaya. The linux is a customized Linux based on the stable ubuntu ...
1
vote
1answer
580 views

Access the filesystem as the root user

Embedded device, Linux version 2.6.26.5, U-Boot 2009.03 bootloader. ARM Linux Kernel Image on NAND flash, loading from NAND. How to access the filesystem as the root user, and to reset the root ...