Questions tagged [u-boot]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
11 views

clone uboot and embedded linux fw (openwrt) to a single binary image

I have my embedded device with the following partition: # cat /proc/mtd dev: size erasesize name mtd0: 00030000 00010000 "u-boot" mtd1: 00010000 00010000 "u-boot-env" mtd2: ...
MOHAMED's user avatar
  • 301
0 votes
2 answers
36 views

uboot kernel and dtb calculation

What is the method to calculate these parameters in uboot ? : bootm_low=0 bootm_size=7ff00000 fdt_addr_r=0x40000000 fdt_high=0x100000 fdt_size_r=0x400000 fdtcontroladdr=7bc971c0 kernel_addr_r=...
rBeal's user avatar
  • 61
0 votes
1 answer
29 views

Slow TFTP File Transfer in Uboot 2020

I've got a tftp server running on a virtual machine host, and I'm trying to tftp a linux kernel onto a TI AM33 processor. Both devices are connected on the same network switch. I'm noticing that TFTP ...
angry-mastadon's user avatar
0 votes
0 answers
68 views

How u-boot can chain "grub" and booting a mainline kernel on my ARM Chromebook

I would like to enable KVM virtualization on my old ARM Chromebook laptop,based on the Exynos5250 arm 32 bit cpu aka snow,model xe303c12. The first thing I did has been to dd the image below directly ...
Marietto's user avatar
  • 495
0 votes
0 answers
45 views

Is it possible to improve the speed of calculating cryptographic commands like sha256 in U-Boot?

I tried counting sha256 from the same memory area in U-Boot and on Linux on the same development board (sama5d27-som-ek). The time taken to perform the same operation in U-Boot is almost double. I ...
user1111's user avatar
1 vote
1 answer
67 views

Why does linux freezes when trying to access peripherals connected to the lightweight hps-to-fpga bridge (or any bridge)?

I have been working on a Altera DE1-SoC Development Board for 8 months. The system I was working on includes a Cyclone V FPGA chip, particularly the 5CSEMA5F31C6N. It was running an embedded Linux ...
SMAero22's user avatar
1 vote
1 answer
442 views

Testing u-boot on qemu arm64 virtual machine

I'm trying to run u-boot on qemu arm64 virtual machine. (qemu 6.2.0, u-boot v2022.07) so I compiled u-boot using qemu_arm64_defconfig, it does build u-boot (and not u-boot-spl). I made initrd ...
Chan Kim's user avatar
  • 367
1 vote
1 answer
318 views

u-boot/linux hangs after "Starting Linux...."

I need some pointers on how to debug this further. My setup looks like this: Hardware: CM3 Pi Firmware boots u-boot, u-boot loads FIT image and is supposed to boot it. FIT image contains the kernel (...
Chris Pahl's user avatar
1 vote
1 answer
694 views

How to write data to raw NAND FLASH through /dev/mtd0 in Linux?

I am working on an embedded Linux system (5.10.24), where there is a NAND FLASH as storage. The NAND FLASH is partitioned into 4 parts, part 0 is used for u-boot, part 1 is used for kernel, part 2 is ...
wangt13's user avatar
  • 327
0 votes
0 answers
68 views

how to pass initramfs address in uboot menuconfig?

Hiii I am running a Linux kernel image in qemu I make 2 virtual partitions in my SSD (1 for the Linux image and 2 for the root directory (for initials)) now I am running about binary from qemu and I ...
admin linux's user avatar
0 votes
0 answers
98 views

How to boot from a usb stick when using U-Boot

I am trying to install ubuntu Mac but once I get to uboot I have absolutely no clear way to boot from my usb-stick that has a bootable ios installed on it. I assume its possible to boot from a usb ...
Jamie Hutber's user avatar
1 vote
0 answers
281 views

OpenBSD 7.2 NanoPi R4S sdmmc0: can't enable card

I am facing the following issue with SD card when trying to install OpenBSD 7.2 on Nanopi R4S (Rockchip RK3399 ARM64 SoC). The same problem as previously described on OpenBSD 7.1 here. sdmmc0: can't ...
Krakonoš's user avatar
0 votes
0 answers
147 views

openSUSE installation on root partition encrypted with adiantum cipher

I’m trying to install openSUSE Tumbleweed on my Raspberry Pi 4, using SD card encryption. That would normally be a trivial task but using regular AES cipher for RPi4 is not recommended as explained ...
Bogey Jammer's user avatar
2 votes
1 answer
1k views

Where can I find the device tree source include (.dtsi) files?

I am attempting to review my device tree to learn more about how the usb endpoints are defined, and also just to learn more about device trees. I am currently using a BeagleBone Black image, and I ...
Dillon McCardell's user avatar
0 votes
0 answers
511 views

u-boot disable console output log message

i have orangePI_pc_plus board and installed armbian on it and connected monitor via HDMI and i hide all kernal logs to it. the problem is that i still see those u-boot message logs i want to hide it ...
wuqn yqow's user avatar
0 votes
0 answers
183 views

How to run U-Boot Falcon mode from eMMC on BeagleBone Black

Warning: there is a bit of a long log in this reply. Here is what I'm attempting to accomplish: Store U-Boot environment variables in eMMC. Boot Falcon mode from eMMC. Keep my Debian version, custom ...
amyers's user avatar
  • 21
1 vote
2 answers
101 views

U-Boot errors when trying to enable Falcon mode on BeagleBone Black

I have been having trouble enabling Falcon mode on the BeagleBone Black. I have a working U-Boot (v2019.04) and Linux (Debian 11.5, kernel v5.15.65-bone-rt-r30), but I have been unsuccessful thus far ...
amyers's user avatar
  • 21
2 votes
1 answer
102 views

AM335x - Custom Board <SEGV> when running Systemd

I tried asking my question on TI's forum, but I am not getting much feedback, so I thought I'd try my luck here. You can see my ongoing discussion with TI here: https://e2e.ti.com/support/processors-...
Vincent L's user avatar
0 votes
0 answers
125 views

Difference between compressed and uncompressed kernel image written in the SPI flash RAM

Is there any difference between compressed and uncompressed kernel image written or flashed into the flash RAM with U-Boot loader? I have an embedded system that has 4MB capacity SPI flash RAM and ...
ordinary_guy's user avatar
1 vote
1 answer
587 views

TFTPboot using Uboot : TFTP server on Windows

I have a TFTP server running on Windows-10 machine. I am using MobaXterm it has TFTP server. I tested client server running on same windows 10, machine, able to communicate. TFTP -i 192.168.1.7 get ...
user6363's user avatar
  • 191
1 vote
0 answers
197 views

DRAM problem with an fit image of increasing size

I have a 512 MiB ram capacity on a proprietary board with the Zynq700 SoC. This corresponds to the address range [0x00000000,0x20000000]. I run a ram-based operating system on it and it works fine ...
afinfante's user avatar
1 vote
0 answers
163 views

How to build a newer version of u-boot for the cpu exynos 5250 of the Google / Samsung ARM chromebook "SNOW" model XE303C12

I'm trying to build a recent copy of the u-boot loader to use with my old google-samsung ARM chromebook snow. Until now I've used the copy created by the company virtualopensystems,located here : http:...
Marietto's user avatar
  • 495
1 vote
1 answer
249 views

How the startup code access the filesystem to load the kernel under /boot directory to RAM when the filesystem is mounted by the kernel?

The kernel is usually located under /boot directory. When the startup program runs (like u-boot), it loads the kernel into RAM. This means, u-boot already has access to the filesystem. I'm confused ...
bouqbouq's user avatar
  • 633
0 votes
1 answer
312 views

Can I boot my board from built-in emmc while the sd-card plugged in?

This is kind like a U-Boot related question. I'm not quite sure which site should I post to, but as I boot Ubuntu, I post it here. Basicly, I bought a cheap Nanopi Neo Air with Allwinner H3 SOC. I'm ...
Developer_ken's user avatar
1 vote
1 answer
223 views

Defining console port in ARM kernel image

I have an ARM Dev board using an RK3566 CPU that I'm building a kernel for. I would like to control the board using the UART connector. This works during U-Boot process, but my issue is that when I ...
Chris Hudlin's user avatar
1 vote
0 answers
511 views

/aliases: Reference to non-existent node or label "mmc0"

I'm trying to upstream support for u-boot and buildroot for a SoC, I'm merging some changes into master from the vendor's BSP and am having some issues with their dts. [machinehum@whitebox u-boot]$ ...
user3666672's user avatar
2 votes
0 answers
693 views

System is booting to "emergency/rescue mode"

This may not be the issue with Yocto itself but rather related to properly booting up Linux on Avenger96(STM32MP1) board. I am currently working on Avenger96 with Yocto(Dunfell). Aim is to implement ...
Preeti 's user avatar
  • 203
1 vote
0 answers
120 views

U-Boot: is it possible to implement bootcount using a SPI EEPROM?

I'm referring to the u-boot bootcount/Kconfig for options to implement a boot counter. Options include DM_BOOTCOUNT_SPI_FLASH and DM_BOOTCOUNT_I2C_EEPROM. As it happens we will have a SPI EEPROM ...
thom_nic's user avatar
  • 547
0 votes
1 answer
1k views

Why am I not able to load files from a partition with U-Boot?

For some reason, my U-Boot does not seem to be able to load files from my FAT32 partition: => mmc part Partition Map for MMC device 1 -- Partition Type: DOS Part Start Sector Num Sectors ...
mistyron's user avatar
0 votes
1 answer
989 views

What does LOADADDR=0x20008000 mean in linux kernel make command?

I'm learning about u-boot. using qemu model, I could (using qemu) load the Image on memory location I want and I could run the kernel booting using booti addr command. As you know in arm64, there is ...
Chan Kim's user avatar
  • 367
1 vote
0 answers
139 views

Freescale armhf iMX6Q board doesn't boot with kernel 5.10 or greater

I am upgrading the kernel from version 3.17.0-rc4 to latest kernel version in a board that uses a iMX6Q Freescale processor, but the board doesn't finish to boot. I am cross-compiling using Debian 10 ...
juan carlos's user avatar
0 votes
1 answer
484 views

How to install Das U-Boot legacy boot in x86 IBM-PC?

Das U-Boot is both first and second stage bootloader, as FSBL in a IBM-PC it must fit into the first 446 bytes (or less) before MBR in the first sector. There is also a 1.5 stage boot loader that uses ...
Tiago Pimenta's user avatar
0 votes
1 answer
269 views

Cannot disable metadata_csum from buildroot configuration

I'm trying to boot STM32MP157A-DK1 with a Buildroot image that I made but I got this error and I cannot disable the metadata_cesum from the Buildroot configuration. I tried ...
ELmehdi's user avatar
  • 11
1 vote
1 answer
153 views

Failed to boot STM32mp157a-dk1 using a buildroot image

I'm trying to boot an STM32MP157a-dk1 using an image that i made with buildroot but when i boot i got this message : Unable to write "/uboot.env" from mmc0:4 Help me please !! H.M
ELmehdi's user avatar
  • 11
1 vote
0 answers
254 views

How to find out if the whole Kernel was loaded into the RAM

I have a custom board with a NOR-flash, DDR3, eMMC and CPU. Uboot is working fine and I can download/upload the linux kernel to the eMMC. When I run the application the Kernel gets booted only past ...
Aard's user avatar
  • 11
0 votes
1 answer
446 views

Enabling second UART in U-Boot

I am working on a project with SAMA5D3-xplained board with CortexA5 processor and embedded Linux. I would like to send and receive some data via UART during U-Boot is running and before a kernel is ...
user6758's user avatar
1 vote
0 answers
256 views

U-Boot, Boot and DTB

Im slightly confused how things are working UBoot Boot and DTS. I have SBC Mecool VS RK3399 and producer does not support it at all I wanted still make use of it. Fortunately I have found that ...
Lemonek's user avatar
  • 11
1 vote
1 answer
990 views

Linux kernel panic when I disable the console via cmdline?

I currently have an embedded device booting via mainline U-Boot in to the mainline Linux kernel (built via Buildroot). This works fine and the board functions as intended. One option I would like is ...
BakaOsaka's user avatar
1 vote
0 answers
566 views

Definition and usage of Kernel/Linux DTS file with more than one MIPI DSI Display panel

I actually need some help of defining the kernel/linux DTS file and use it together with the uboot videoargs. In use is the 5.4.47 uboot and kernel/linux from a NXP imx8m YOCTO project. In uboot I ...
Cedric's user avatar
  • 11
0 votes
1 answer
928 views

U-Boot Compile Error on Ubuntu 20.04.1 LTS

I've been following this tutorial on how to set-up a basic boot loader configuration on an embedded system. I've been stuck on the U-boot part owing to not being able to build it. Downloading U-boot ...
Sean's user avatar
  • 1
0 votes
1 answer
1k views

How to unzip the U-boot image?

I have the U-boot image called: rootfs.13cy.initramfs.bzip2.uboot I want to see what's inside of it. Whats dumpimage cmd shows me: dumpimage -l rootfs.13cy.initramfs.bzip2.uboot Image Name: ...
Jeezy Wonder's user avatar
-1 votes
1 answer
6k views

u-boot stuck at Starting Kernel

My Target Setup: SOC: STM32H743 (Cortex m7 single core) Internal Flash: 2MB Board: Waveshare CoreH7XXI On-board DRAM: 8MB, Start_Address: 0xd0000000, Size_in_bytes: 0x7A1200 SDCARD: 1GB Bootloader: ...
Mahyar Shokraeian's user avatar
0 votes
0 answers
704 views

Why uboot x86_64 can not boot alpine vmlinuz-virt, reset after boot

qemu-x86_64 uboot.rom with Alpine's virt get vmlinux wget https://mirrors.aliyun.com/alpine/v3.12/releases/x86_64/netboot/{vmlinuz,initramfs}-virt now boot qemu qemu-system-x86_64 -m 1024 -smp 2 -...
wener's user avatar
  • 456
0 votes
0 answers
853 views

How to install grub bootloader as second stage bootloader

As you know grub bootloader supports arm architecture on recent versions,but it demands EFI ,thing that is unavaible on most arm base single board computers (SBCs) and they use U-boot instead of EFI ...
mmj's user avatar
  • 99
2 votes
0 answers
765 views

Memory node of device tree in /proc doesn't match dtb

I'm trying to modify the memory node in a device tree for a zynqmp zcu102 board. However, something seems to be overriding this node somehow. I'm booting using a FIT image and u-boot. I've confirmed ...
rocky's user avatar
  • 144
0 votes
1 answer
604 views

** File not found /boot/uImage ** When using Angstrom Pre-built Images on BeagleBoneBlack Rev C

I'm trying to boot my BeagleBone Black into Angstrom using pre-built images found here. My SD card has two partitions BOOT & ROOTFS, and was formatted according to the procedures found here. ...
Niko_Jako's user avatar
1 vote
2 answers
6k views

U-Boot "Wrong Ramdisk Image Format" with initramfs on BeagleBone black

I am following the book "Mastering Embedded Linux Programming - Second Edition" trying to boot up the Linux kernel mounting a ramdisk. I have U-boot 2020.01 working and the Linux kernel ...
Carlos's user avatar
  • 13
1 vote
0 answers
465 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 ...
tannoy connect's user avatar
0 votes
0 answers
210 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 ...
Sujith Bhat's user avatar
0 votes
0 answers
277 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 ...
GENIVI-LEARNER's user avatar

1
2 3 4 5