Questions tagged [u-boot]
Das U-boot is a GPL'd bootloader for embedded boards supporting multiple processor architectures.
983
questions
0
votes
0
answers
21
views
i.MX6UL U-Boot stuck in reset loop
I am trying to build a U-boot image using yocto, but the u-boot goes in a reset loop.
I am using the MYS-6ULX-IOT board. I have set MACHINE=imx6ulevk and PREFERRED_PROVIDER_virtual/bootloader = "...
0
votes
0
answers
35
views
how can we use NOR flash in user code on VSC7427
We use U-Boot on Microchip VSC7427 and user code for user code.
We have access to NOR flash in U-Boot, and read and write data on NOR flash.
We want to use SPI NOR flash function in user code.
If ...
0
votes
0
answers
22
views
How can I perform a checksum verification in U-Boot before booting?
I have a TI board booting with u-boot and using a SD card with two partitions one active and one passive(there are other partitions for storing u-boot and persistent settings as well). Whenever there ...
0
votes
0
answers
84
views
How to start U-Boot from SD cards's FAT partition on Beaglebone Black
I'm currently reading Master Embedded Linux Programming and I'm on the chapter where it goes into bootloaders, more specifically U-Boot for the Beaglebone Black.
I have built a crosscompiler and I'm ...
0
votes
0
answers
36
views
Configuring Yocto U-Boot for Beagleboard based setup
So we've made a board based on Omap3-beagleboard but with 2 differences, a 256MB DRAM ( instead of 128 ), and a 1Gb NAND.
I have managed to use Yocto to build a Linux system for Beagleboard now and ...
0
votes
0
answers
17
views
Can I use uEnv.txt to trigger a SW update on i.MX6
I would like to use the uEnv.txt file and add a uenvcmd to detect an environment variable. The variable holds a flag to trigger the export the flash as a mass storage so it can be updated.
The goal is ...
0
votes
1
answer
21
views
Soln for U-Boot Compilation error with myir board?
I'm using the MYD-Y6ULX-HMI series boards supports the Linux kernel version 4.1.15, and provided with rich hardware and software resource. They recommend to use Ubuntu 16.04 64bit distribution. For ...
0
votes
1
answer
48
views
U-Boot: how to load U-Boot from SD card, but have it load its Environment from QSPI Flash?
I'm having some difficulty configuring U-Boot, in particular setting it up so that it can load from an SD card, but access its Environment from QSPI Flash.
First of all, is this even possible? Can the ...
0
votes
0
answers
53
views
Getting kernel image size in uboot
I'm attempting to create custom functionality for kernel authenticity validation on my uboot on an armv8 based platform. The method in which context I'm working in is boot_jump_linux, seen in uboot ...
-1
votes
1
answer
42
views
What is the U-Boot API?
The U-Boot v2021.01 configuration menu has a configuration option Enable U-Boot API under the API section. The help page provided below isn't explanatory enough.
This option enables the U-Boot API.
...
0
votes
0
answers
90
views
Yocto Uboot CONFIG_USE_DEFAULT_ENV_FILE xxd: not found
I'm trying to compile the U-boot 2020.07 with option CONFIG_USE_DEFAULT_ENV_FILE=y and with the path to file which contains new U-boot environments records.
u-boot-suniv-spiflash/1_v2020.07-r0/git/...
0
votes
1
answer
48
views
Mounting Coral Dev Kit EMMC as USB using U-boot
I am following the instructions from this answer:
backing up and restoring the eMMC
and also described here:
https://developer.technexion.com/docs/using-u-boots-ums-command-to-write-flash-storage-over-...
0
votes
0
answers
53
views
boot.img too large when I compile AOSP11 source code for OTA
I trying to enable AB OTA in AOSP11 source code.
Followed below steps:
Step 1:
BOARD_USES_AB_IMAGE := true
Step 2 : CONFIG_ANDROID_AB=y in u boot source code.
Getting below compilation error :
...
0
votes
1
answer
121
views
How to detect physical Ethernet cable connection on U-Boot?
Is there a provision to detect the Ethernet's physical cable connection from U-Boot?
We have seen some possible methods on Linux (userspace) but couldn't find any references for U-Boot.
The goal is ...
0
votes
1
answer
58
views
Device tree create device at root
I'm writing a UBoot driver for bitbanged NAND and need to add it to the device tree.
Because this device is not on any bus and only references GPIO pins, I want to put it directly at the device tree ...
0
votes
1
answer
45
views
Why does Jetson TK1 hang at "Starting kernel ..."
With freshly flashed L4T 21.8, the serial console stops with output like:
## Flattened Device Tree blob at 82000000
Booting using the fdt blob at 0x82000000
Using Device Tree in place at ...
1
vote
0
answers
156
views
How to trigger boot.scr creation in Petalinux v2021.1?
Recently, I'm facing problems related to mismatches between the actual image offsets in my QSPI flash and the offsets that are used in U-Boot via boot.scr. I saw that the offsets that are used in boot....
1
vote
2
answers
90
views
How to pass data from u-boot bootloader to QNX application via ram?
Using QNX 6.5.x with u-boot as a bootloader, on an ATSAMA5d3x module.
We'd like to pass some amount of data, ~1.5kb, from the bootloader into QNX via RAM, rather than trying to pass it via flash ...
-3
votes
1
answer
74
views
How to disable Autonegotiation process in petalinux?
I need to disable autonegotiation phase on boot sequence in Petalinux 2019.2. Is there any idea about it? As all you know, an autonegotiation phase is starting automatically by boot sequence and if ...
0
votes
0
answers
465
views
nfs mounting problem VFS: Unable to mount root fs via NFS
I am not able to mount nfs, my Parameters are like following, it is from bootlin;
setenv bootargs 'console=ttyS0,115200 root=/dev/nfs rw
nfsroot=192.168.0.1:/nfs,nfsvers=3,tcp
ip=192.168.0.100:::::...
0
votes
1
answer
80
views
nfs mounting error, nfs: Unknown parameter 'ip'
I was trying to make nfs mounting by following the document of bootlin. I set the parameters as following;
setenv bootargs 'console=ttyS0,115200 root=/dev/nfs rw
nfsroot=192.168.0.1:/nfs,nfsvers=3,
ip=...
0
votes
2
answers
190
views
how to config u-boot for imx6?
When I am trying to make u-boot for apalis-aimx6-quad board, and below list is shows the details of my configuration:
CROSS_COMPILER = aarch64-unknown-linux-gnu
1.1 it already exported to path
1.2 ...
0
votes
0
answers
92
views
How to create fw_env file for rauc - yocto - rauc not working properly
I am trying to integrate rauc to my yocto image, I can't do it correctly and I had this issue. I tried to create a suitable fw_printenv for my device but still have the same problem. The boot mode is ...
0
votes
1
answer
437
views
Kernel no serial console output if started through U-Boot
How does U-Boot change how the kernel is communicating through UART?
I'm trying to add U-Boot to our project. We build a custom Linux 64 bit kernel with initRAM linked into the kernel.
I have access ...
1
vote
1
answer
40
views
Load and Entry Adress of Kernel and Uboot
how the second stage bootloader knows which address it should load the uBoot and how uBoot knows where to load Kernel.
1- Do we give these address information through config files or device tree?
2- ...
0
votes
1
answer
116
views
How to use uboot test command 'or' -o option
From the output below it appears that the command does not work with integers, or the true and false commands, so what is the intended use of test -o (or) command?
=> version
U-Boot 2017.01 (Apr 01 ...
0
votes
1
answer
347
views
where is uboot environment variables stored in emmc?
I'm trying to understand where uboot stores the environment variables in emmc. I have the following set in the uboot config file -
CONFIG_ENV_IS_NOWHERE=y
CONFIG_ENV_IS_IN_MMC=y
CONFIG_SYS_MMC_ENV_DEV=...
0
votes
0
answers
105
views
(rauc:350): rauc-WARNING **: 07:50:14.624: Failed getting primary slot: Failed getting primary slot: fw_printenv failed with exit code: 234
I am using yocto to build my image, am trying to integrate RAUC(system update solution). RAUC now is installed in my image but it's not working correctly.
rauc status gives :
(rauc:350): rauc-WARNING *...
0
votes
0
answers
67
views
How to write modified U-BOOT in to android firmware
I have a TV box on which my remote did not work.
I was able to solve the problem with all the buttons, except to add the power button.
i.e. the console could turn off, but I can't turn it on with the ...
1
vote
1
answer
140
views
Embed ipxe in u-boot
I'm trying to embed ipxe snp into u-boot and run ipxe efi application with bootefi command.
This document describe the process of running the efi https://github.com/ARM-software/u-boot/blob/master/doc/...
2
votes
2
answers
209
views
Issue: Virtio rpmsg bus virtio0: msg received with no recipient - in Yocto Hardknott - imx7d-pico
I’m correctly generating my image Yocto-hardknott-technexion with this:
$ mkdir tn-imx-yocto
$ cd tn-imx-yocto
$ repo init -u https://github.com/TechNexion/tn-imx-yocto-manifest.git -b hardknott_5.10....
0
votes
0
answers
21
views
Not able to add EFI related functionality when configuring U-Boot based on efi-x86_app64_defconfig or efi-x86_payload64_defconfig
I cannot extend the default U-Boot EFI functionality provided by the default configurations files x86_app64_defconfig or x86_payload64_defconfig with for example CONFIG_EFI_LOADER, ...
0
votes
2
answers
219
views
u-boot-fw-utils_2019.07.bb:do_compile) failed with exit code '1' - RAUC(Yocto)
I am integrating the software update mechanism RAUC in my yocto project for my device. I followed these instructions in README file and I read the rauc documentation. Unfortunately I couldn't make it ...
1
vote
1
answer
275
views
U-Boot won't take keyboard input from serial Raspberry Pi Model 3 B
I already have a working config for a compute module 3+. As I need the same setup on a raspberry Pi Model 3 B I tried bringing the config over.
Everything is compiled in a buildroot environment. U-...
0
votes
1
answer
118
views
buildroot defconfig for pocketBeagle is not working
I have a pocketbeagle board and I was trying to build an os image for it using buildroot.
so I downloaded the latest buildroot, there was no defconfig file for pocketbeagle. so decided to use ...
0
votes
0
answers
181
views
u-boot print text from boot.scr on top of splash image
I have a u-boot bootloader with a built-in splash logo, and then it loads a boot.scr, which reads a config file and then boots up linux.
I would like to display a line of text from the boot.scr on top ...
0
votes
0
answers
62
views
U-Boot: ARM: Simple delay function because of an chicken and egg problem
I'm running into an chicken and egg problem when modifying
(fixing) some drivers for STMicroelectronics SoC's
The problem, I will implement a timeout, when accessing some
registers. Unfortunately I ...
0
votes
1
answer
28
views
U-Boot - multiple same output formats in linker scripts for ARM
I'm currently investigating the U-Boot source tree, because I want add support for a specific ARM architecture for the purpose of education.
Also investigated the linker scripts for ARM, but there is ...
0
votes
1
answer
256
views
arm-openbmc-linux-gnueabi-gcc: Command not found
I got a BMC project which need to use AST2600. I just start to handle u-boot.
When I enter blow instruction. I got a error when make.
export ARCH=arm
export CROSS_COMPILE=arm-openbmc-linux-gnueabi-
...
0
votes
1
answer
954
views
How to use custom device tree source correctly in buildroot?
I made a copy of the dts from <linux>/board/arch/arm/boot/dts/imx28-evk.dts for using with my custom board. My custom device-tree is named imx28-custom.dts and is pointed in the Out of tree ...
-2
votes
1
answer
70
views
SAMA5d31:The Uboot cannot be started
I currently use a custom board based on SAMa5D31:
Emmc is currently used for boot
The Uboot fails to be started
Stuck in SD/MMC: Done to load image without any reaction
0
votes
2
answers
696
views
eMMC Write / Read data
I don't want to run U-boot and kernel from eMMC. Just want to access raw eMMC and perform some read/write cycle tests.
Can we access the eMMC by writing the application layer?
Thanks,
0
votes
0
answers
32
views
how to set up eclipse photon CDT for u-boot
Has anyone managed to get u-boot to compile using the latest 2021 release of eclipse. I am using import makefile type and I know there are some gyrations you have to go through to use custom cross ...
0
votes
0
answers
143
views
Can U-Boot boot scripts have comments?
I'm writing a U-Boot boot script, and I'd like to clarify why a specific address is used exactly. However, I've not been able to find any documentation on how to write comments in U-Boot boot scripts, ...
0
votes
0
answers
117
views
Is there a way to check the u-boot config settings under u-boot shell?
Is there a way to check the u-boot config settings under u-boot shell, similar to /proc/config.gz under Linux.
Thanks!
-1
votes
1
answer
102
views
SPL and U-Boot placement
Storage device for an embedded system is organized as:
Non-partitioned space, saved for U-Boot.
BOOT-VAR6UL - A FAT16 partition containing the Linux image and the device tree blob/s.
"rootfs&...
0
votes
1
answer
176
views
What type of memory is Uboot able to see using "md"?
I am a complete newbie at this and I have stumbled upon something I cannot find the answer to. I am currently playing around with a Linux based system called Toradex Verdin iMX8MM. When I boot it into ...
0
votes
1
answer
111
views
Where is SPL BSS? SRAM or SDRAM? What's the difference?
The SPL linker script defines two segments:
arch/arm/cpu/armv8/u-boot-spl.lds
MEMORY { .sram : ORIGIN = IMAGE_TEXT_BASE,
LENGTH = IMAGE_MAX_SIZE }
MEMORY { .sdram : ORIGIN = ...
1
vote
1
answer
709
views
Reading file would overwrite reserved memory. Failed to load 'hello_world.bin
I have imx7d-pico with Carrier board. This tiny computer
was used a lot for Android Things. PDF (datasheet) easily
found.
I stay (during the last two weeks) trying this tutorial:
https://github.com/...
0
votes
0
answers
159
views
enable ethernet phy in divicetree uboot
I'm using u-boot and related devicetree to boot microchip VSC7429. Everything works but ethernet driver doesn't work. I also wrote Linux kernel to memory using serial interface and I could boot the ...