Questions tagged [u-boot]

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

Filter by
Sorted by
Tagged with
1
vote
0answers
26 views

How to flash SPI NOR and read back from the SPI Nor - Microzed Zynq from Uboot?

I am trying to read the kernel image from the mmc card and flash it on the SPI Nor flash. My kernel image is uImage only. So, I read the kernel image from mmc card and put that into the memory ...
0
votes
0answers
16 views

How to enable fastboot in u-boot for am335x-evm-sk in PROCESSOR-SDK-LINUX-AM335X-EVM

I need a step by step procedure for enabling fastboot in am335x-evm-sk in Linux (not Android!). Firstly, how can I enumerate the u-boot as a usb device? Then, how can I make it a fastboot device? The ...
0
votes
0answers
9 views

U-Boot Automatic Redundant Booting for BeagleBoneBlack

I would like to know how to properly set up redundant booting for my BBB with U-Boot. Basically, I'd like U-Boot to attempt to boot from a specific partition on my SD card and if it fails, I want it ...
0
votes
0answers
32 views

Flashing Uboot Image to SD Card

I am trying to flash the uBoot image of MIPS based processor however I dont see anything written to the SD card. I determined the mount location of the SD card using the following command lsblk ...
1
vote
0answers
31 views

How to Load Device Tree From Separate File in U-Boot Image

I'd like to load the device tree from a separate dtb file. So in the end I'd like to end up with the following files on my boot partition: BOOT.BIN (first stage boot loader) image.ub (U-Boot second ...
1
vote
0answers
24 views

Disabling CPU core in u-boot DTS

I am trying to 'convince' a FriendlyARM ZeroPi (Allwinner H3, 4 x Cortex-A7) that it only has 3 physical cores in the SoC, and there is only 256M of RAM (instead of the 512 actually on board). I have ...
-1
votes
1answer
35 views

Building Kernel Image for Embedded Linux Platform

I am interested in compiling a linux image for Ingenic SoC based platform. The vendor vaguely provided instruction on how to compile the linux kernel for the target SoC. So based on vendor ...
0
votes
0answers
27 views

U-BOOT failed to boot kernel on nitrogen6x

I have a nitrogen6 SOM v2 board with latest U-Boot version (U-Boot 2018.07-36085-g7f2aeb258c (Jan 24 2020 - 11:35:14 -0800), Build: jenkins-uboot_v2018.07-139) and i have problem with booting any ...
0
votes
1answer
60 views

NFS mount failed after upgrading server, no route to host, embedded, nfsvers=4

After hours of reading and try and error process i'd like to explain my nfs mount problem and solution. I was working for years on a virtual debian 8.5 host system to develop software for multiple ...
1
vote
0answers
56 views

How to make multiple SLC region on eMMC User Area?

I have to partition (i.e hardware partition) the UDA (User Data Area) of the eMMC as follows: First 336MB region should be in pSLC. Next 2GB region as MLC partition. The remaining region again should ...
3
votes
1answer
73 views

mtdparts arguments seems ignored by linux kernel since Buster upgrade

Running Debian on my NAS for years. Vanilla Debian with linux-image-kirkwood/linux-image-kernel. Bootloader is u-boot. With Debian Stretch (4.9.0-11-marvell) it was fine : u-boot handed the parameter ...
0
votes
0answers
147 views

How do I Boot and Deploy Ubuntu Image From USB drive on a Beagle Bone Black?

Purpose I am attempting to do the following: Power on and automatically boot the Beagle Bone Black Rev C from USB drive. Note: Build Root seems to be an option. Automatically execute shell script ...
0
votes
1answer
286 views

How can I add missing “env import” to u-boot?

I'm trying to set up a u-boot on an imx8 board to load environment variables from a uEnv.txt file on the first partition. I've got it working so that it loads the file, and now I'm trying to import ...
1
vote
0answers
142 views

SD card image creation for RPi with U-Boot and redundant U-Boot environment in MMC

I'm fairly new to embedded linux and I'm currently working on a device using a Raspberry Pi 3B+. The OS is built using Buildroot and the device can be upgraded with a double-copy strategy using ...
0
votes
1answer
289 views

uboot-menuconfig not available in make targets

I'm trying to setup a custom default environment for u-boot while building an embedded Linux system with Buildroot. I was able to achieve this in u-boot standalone, but I'm unable to reproduce the ...
1
vote
2answers
224 views

Linux kernel on stm32f746 discovery board stuck after u-boot loading

I'm trying to move first steps in the embedded Linux world. For this purpose I retrieved an old STM32F746 Discovery demo board. My objective is to have u-boot load a Linux kernel and see it run on it; ...
0
votes
1answer
44 views

Why can't / doesn't U-boot log messages for us to view later

I have a problem whereby a remote BeagleBone device is taking hours to boot up. When it does, I don't see any problems in the kernel boot logs such as journalctl -b or journalctl -b -1 Without ...
0
votes
0answers
30 views

Failing to create/build u-boot.srec with gap-fill option

I am trying to build u-boot-2019.07 for custom board with custom configuration. It is failing in gap-filling 0xff on u-boot.srec. It build if I don't use --gap-fill=0xff option. This is the command ...
2
votes
1answer
587 views

How to decompress (extract) U-Boot boot.scr.uimg to boot.scr?

I got an ARM dev board (STM32MP157A-DK1) and I'm messing around to see how the Linux Image is built. I got boot.scr.uimg file in the boot partition. As far as I know boot.scr.uimg is a compressed ...
0
votes
0answers
379 views

what is uboot loadaddr means?

1) Does uboot load addr means the compressed kernel image will be loaded in this address in the RAM. 2) Is that load addr is a physical address? 3) Or is after uncompressing hte kernel image, the ...
0
votes
1answer
73 views

Max line length for u-boot setenv?

I have a line in my u-boot script that looks like: # set default Linux kernel boot parameters setenv bootargs console=ttyPS0,115200 root=/dev/mmcblk0p2 ro rootfstype=ext4 earlyprintk rootwait ...
0
votes
0answers
102 views

U-boot overlays and implementation

I have build uboot and kernel from https://www.digikey.com/eewiki/display/linuxonarm/BeagleBone+Black and create SD card as per instrucution.This one having minimal image. i want to add overlays in ...
3
votes
0answers
168 views

Beaglebone Boot Fail with ALERT! PARTUUID does not exist

I have tried booting a Linux image in the eMMC through u-boot but it always drops to the busybox shell. As suggested by the busybox shell I double checked the PARTUUID (8fb410a9-01) using blkid, which ...
0
votes
0answers
125 views

Unpacking and repacking of U-Boot image

Under unavoidable circumstances, I have to modify environment variables (typically accessed in the bootloader console with printenv) in the U-Boot image. The motivation is to be able to distribute ...
2
votes
0answers
127 views

USB keyboard not working after building the mainline Linux kernel on a generic Allwinner A23 Chinese tablet

For quite a while I've been trying to install a Debian distribution on my useless cheap tablet PC. After reading the details of building Linux kernel on ARM architecture Manual Build Howto I've found ...
0
votes
0answers
457 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
269 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
165 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
1answer
198 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
331 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
451 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
35 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. ...
1
vote
1answer
175 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 ...
2
votes
1answer
170 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 ...
2
votes
1answer
241 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
1answer
520 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
244 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
70 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 ...
1
vote
1answer
585 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, ...
1
vote
1answer
2k 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
46 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
98 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
746 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
838 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
220 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
115 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
70 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
2k 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
870 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 ....
4
votes
0answers
164 views

Show splash screen 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 ...