Stack Exchange Network

Stack Exchange network consists of 174 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
1answer
37 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
0answers
31 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
votes
0answers
27 views

Fedora 28 ARM boot stuck at Starting kernel

Some while ago I've installed Fedora 28 (ARM) on my BananaPI. I had it mainly for backups from my laptop sitting on a shelf; however recently I've discovered that it is not responding. When I've ...
1
vote
0answers
16 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
46 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
0answers
50 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
57 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
13 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
25 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
29 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
244 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
254 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
87 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
25 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-...
0
votes
0answers
11 views

what is the relationship between the file types that uboot can boot?

Uboot has three boot cmd:bootelf/bootm/go.Corresponding to:32bitelf/uimage/bin filetype. Does these filetype have some relationship? Is there any means to convert them to each other? Now, I have a ...
1
vote
0answers
29 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
690 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
316 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
97 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
25 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
80 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
478 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
1k 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
841 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
103 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
286 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
320 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
932 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
votes
0answers
208 views

Linux kernel boot blocked, network interface going up and down

First I have to say that I'm new to Linux system so I may badly explain my problem. I have a new embedded system, to run it I have copied the MMC of an older embedded system (they are the same ...
1
vote
2answers
75 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, ...
0
votes
1answer
310 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
226 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
293 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
824 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
219 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
651 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
463 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 ...
1
vote
1answer
526 views

Linux: FIT flat image tree format execute a script

Hello I'm trying to include a script inside the FIT image. script works and just print an hello world. This is the part included into the .its file script@1 { description = "Bootscript"; ...
0
votes
1answer
197 views

Enabling saveenv command in u-boot for baltos ir2110

I am using baltos ir2110. I am compiling u-boot-2017.01 with am335x_baltos_defconfig for u-boot. My problem is that saveenv command is not available with this configuration of u-boot. Is there any ...
0
votes
2answers
208 views

NFS boot fail on Atmel Sama5d2 xplained

I'm currently trying to boot an Atmel Sama5d2 Xplained evaluation board from NFS server. I'm running a Debian 9 with 4.9.0 kernel version and the nfs server is nfs-kernel-server. Here is the NFS ...
2
votes
0answers
233 views

Problems booting uncompressed linux kernel on PPC

I'm trying to get a newer linux kernel to boot on a PPC embedded linux device using U-Boot, but it won't boot the kernel. My bootable kernel image builds, and is being network booted by U-Boot. The ...
1
vote
1answer
2k views

How to create ZImage?

Task I have an .img file(cpio, for initramfs). Actually, it is result of mkinitcpio. U-boot is used as a boot loader. But U-boot needs either UImage or ZImage. I need to glue U-boot with created cpio ...
4
votes
1answer
775 views

No more output is seen on the console after “Starting Kernel…”

I am trying a newer kernel on my Creator CI20 (v1), but if I try a Linux kernel version 4.11.1 I cannot get any output after u-boot. This leads to the following output: ci20# bootm 0x88000000; ## ...
3
votes
2answers
5k views

Getting U-Boot to load dtb from FIT image

I'm working towards setting up U-Boot to boot only verified Linux kernel from a Kernel+fdt FIT image. (Everything is built under Yocto). The U-Boot bin has a basic device tree appended to it which it ...
0
votes
1answer
476 views

What is the difference between board level and Soc level information in DTS(device tree source) and DTSI?

For Device Tree Blob it says several boards can use one SoC so the SoC level information is included in board level in order not to be duplicated(DTSI is included in DTS). So 1.What is considered to ...
1
vote
1answer
641 views

Getting big endian linux build to boot on ARM with u-boot

I’m trying to make a big endian build of a linux distribution for ARM. Since I’m on Gentoo, cross-compiling couldn’t be easier. I’ve already built it all, but then got stuck with getting it/the kernel ...
0
votes
1answer
111 views

Creator CI20: Wrong Image Format for bootm command

I am trying to get my Creator CI20 to boot from sdcard directly. I compiled a vanilla Linux kernel 4.9.20 using (I am running debian stretch on my laptop): $ make ARCH=mips ci20_defconfig $ make ...
2
votes
0answers
45 views

Multiple graphical modes switching during startup

I have a small ARM board with Linux (Angström, kernel 4.1) and have connected it to a HDMI display. It works at the moment. I would like to show a splashscreen during the whole startup but it seems to ...
1
vote
1answer
614 views

U-Boot hangs at [random: nonblocking pool is initialized]

I'm learning to use pico-imx6 on baseboard pico-dwarf. I copy the image to the eMMC on pico-imx6 using: sudo dd if=pico-imx6_pico-dwarf_ubuntu-16.04_installer_hdmi_20160825.img of=/dev/sd<...
1
vote
0answers
157 views

Set GPIO Bank Mux Mode

I'm working with an ARM machine that has a buzzer attached to GPIO pin 102. The machine is running Linux 2.6, so we have a sysfs interface to the pins in /sys/class/gpio. When I first tried to get the ...