Skip to main content

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
1 answer
31 views

How to get root-Access and/or update/extract firmware via UART

I would like to try to equip my non-specific China-Wall-Brick-WiFi-Router with root access and update it if necessary. Here is a sample image of the device: The problem is: The device has no official ...
Adrian Preuss's user avatar
1 vote
0 answers
20 views

Getting an U-boot FIT signed image

I'm trying to generate an U-Boot Signed FIT image containing kernel + dtb. After generating the kernel, the dtb and the keys, I mkimage -f fitImage_sign.its -K devicetree.dtb -k <path to the folder ...
Sbon's user avatar
  • 11
0 votes
0 answers
12 views

Can I solve the problem that occurs when booting the linux on versatilepb board using qemu?

Im studying about the U-boot. I used QEMU emulation to boot Linux on a board called versatilepb. The latest version of U-Boot no longer supports versatilepb, so I used U-Boot version 2010.03. When ...
ghjeon's user avatar
  • 1
0 votes
0 answers
33 views

How to use initramfs on raspberrypi cm4

base info board:rpi cm4 img:core-image-base-xx.wic.bz, build by yocto add u-boot(version:2022.01) support; add Initial RAM filesystem and RAM disk (initramfs/initrd) support initramfs:...
user24949766's user avatar
1 vote
0 answers
80 views

Nanopi neo (Allwinner H3) does not boot from MMC any more

I have a device called Nanopi Neo Core with Allwinner H3 processor on board, 512MB of RAM and eMMC. I broke it and unable to find what to do to restore it. Originally it came with the Armbian ...
Anonymous's user avatar
  • 111
0 votes
0 answers
25 views

How can I patch u-boot in yocto for the beaglebone black?

I'm trying to make some modifications to u-boot for the beaglebone black, compiling in yocto nanbield. The two changes I'm trying to make are: Turn off the delay for the bootloader Enable booting ...
Dave's user avatar
  • 23
0 votes
0 answers
40 views

U-boot with multiple partitions

I have orangepi 3 lts with u-boot boot loader . I want to create a second swap partition and a third data partition so the first is mounted ro . I created those partitions with gparted . U-boot has a ...
Cristian Lorenzetto's user avatar
0 votes
0 answers
14 views

Trying to make a bootable usb for Dell Wyse 3020 ARM device, but running into problems

I am using a Fedora VM (I have Windows on my PC) to try and create a bootable USB (16GB). I am following this guide. However, I get "No U-Boot files found for olpc_xo175" when I perform this ...
primuspaul's user avatar
1 vote
0 answers
35 views

Display bmp image using u-boot on virtual QEMU

I have an issue of displaying a bmp image using u-boot on virtual QEMU. I've built QEMU using buildroot and added the following options in u-boot.fragement file to support splash screen and virtio gpu:...
Mikhail's user avatar
  • 11
0 votes
0 answers
34 views

Yocto. How to keep u-boot splash screen and then how to keep kernel splash screen on

I am porting Yocto into my board. I wrote u-boot & kernel graphics drivers for my display. Everything works fine. The only problem I have is: u-boot splash screen is displayed for a while when ...
gulpr's user avatar
  • 101
0 votes
0 answers
85 views

procedure for updating linux kernel with a test kernel I built

Background I have Debian linux on a Starfive VisionFive 2 SBC that I am experimenting with. The VisionFive 2 is a RISC-V SBC and Starfive provides a Github repository with all the necessary materials ...
Richard Chambers's user avatar
0 votes
0 answers
56 views

Is there some u-boot specific device tree?

I was reading this thread and someone mentioned a "u-boot device tree", which seems to be different than a "kernel device tree". They said: I would make same change to uboot ...
Dave's user avatar
  • 23
0 votes
0 answers
13 views

I'm trying to create a new nv_uboot-snow-usb.kpart file changing some parameters on the file snow.h file,but the modifications I made don't stick

My ARM Chromebook SNOW has the mmc slot broken,but I've realized that I can boot Linux using the USB port.To enable the booting of Linux via USB I have modified this file : https://github.com/...
Marietto's user avatar
  • 549
0 votes
1 answer
32 views

mkimage: Can't read mydir: No such device

I want to convert the contents of a directory into a file with the u-boot format. To achieve this, I have used the mkimage tool, but I am encountering the following error (The directory 'mydir' exists)...
majidmc2's user avatar
0 votes
0 answers
30 views

Failed to run `usb start` in u-boot with error of !CSWSIGNATURE

I am working on an embedded Linux system with u-boot (2013-07) as bootloader in an SOC platform, now I tried to support USB disk in u-boot, so I did some porting and HW configuration. I think the u-...
wangt13's user avatar
  • 443
0 votes
0 answers
44 views

Scipt which will dump memory from DVR via Uboot with md command

So I have this DVR which is pretty locked so I need to use md command from U-boot to dump its memory,but the u-Boot reboots every ~15 second so I need to dump memory in chunks here is mine shell ...
Slobodan Vidovic's user avatar
0 votes
1 answer
199 views

Is there an official way to set kernel parameters in /boot/boot.scr in Debian?

I have installed Debian 12 on my Orange Pi Zero using a custom u-boot image. I notice that Debian has a file called /root/boot.scr which is rebuilt after apt upgrades. I had previously modified this ...
user111395's user avatar
1 vote
0 answers
230 views

How to explore the content of UBoot image

I've got a UBoot image file and I would like to explore its contents. I tried to run binwalk u-boot.img and this is the output: DECIMAL HEXADECIMAL DESCRIPTION ------------------------------...
GMich's user avatar
  • 11
0 votes
0 answers
49 views

Display works when U-Boot loads but not with Arch Linux ARM

guys. I installed Arch Linux ARM on my old Allwinner A31s tablet. I can use it via UART/serial console but I can't get the display to work. The tablet turns on, U-Boot loads and shows your submarine ...
fr2z93's user avatar
  • 1
0 votes
1 answer
630 views

Uboot boots from SD card, but can't read info from mmc

I am working on setting up a bootable SD card for a Rockchip SOQuartz CM4. I am able to build uboot for this target, write it to an SD card along with a rootfs image and kernel, load uboot, and get to ...
Chris Fernandez's user avatar
0 votes
0 answers
77 views

Yocto Project for a New Board

I am trying to hunt down specifics on Yocto in regards to how to set up the filesystem before the build of poky. I have a new board that I wanted to try Yocto on. I have this FS so far after source oe-...
De Funct's user avatar
  • 105
1 vote
0 answers
36 views

Need to modify OS of a device which use Embeded linux with u-boot

I have a Congatec device running Linux with U-Boot (U-Boot SPL 2015.10+fslc+g4e28939_). I need to modify certain settings within this embedded Linux environment. The challenge lies in the fact that ...
Linux Dev's user avatar
0 votes
0 answers
46 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
226 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
223 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
1 vote
1 answer
125 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
2k 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
  • 397
1 vote
1 answer
809 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
3k 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
  • 443
1 vote
0 answers
430 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
2 votes
1 answer
3k 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
1 vote
2 answers
155 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
137 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
201 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
1k 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
245 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
206 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
  • 549
1 vote
1 answer
443 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 ...
Lkaf Temravet's user avatar
0 votes
1 answer
656 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
390 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
687 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
925 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
  • 223
1 vote
0 answers
137 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
  • 567
0 votes
1 answer
2k 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 ...
MisdeBug's user avatar
0 votes
1 answer
2k 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
  • 397
1 vote
0 answers
177 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
759 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
401 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
184 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
309 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

1
2 3 4 5