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.

1
vote
0answers
22 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
8 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 ...
0
votes
0answers
26 views

Custom software as init process (PID 1)

I'm making an embedded system and I don't want to use C or C++ for security reasons, and I need lots of RAM, so things like a PIC processor which I've used in the past aren't an option. I'm planning ...
0
votes
0answers
26 views

How can I enable an overlay while using TFTP on Beaglebone

=> setenv serverip 192.168.0.11 => setenv ipaddr 192.168.0.10 => tftpboot 0x80F80000 am335x-bonegreen.dtb => tftpboot 0x80007FC0 uImage => setenv bootargs console=ttyO0,...
1
vote
0answers
22 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
24 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
140 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-...
0
votes
0answers
40 views

USB device not detected in u boot

I need to do a test in an embedded system where I plug in the USB storage device and do "usb start" but the USB storage device is not detected. I have a working pendrive.
1
vote
1answer
171 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
66 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
21 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
8 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
26 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
481 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
241 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
92 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
24 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
79 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
375 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
885 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 ...
0
votes
0answers
657 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
88 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
268 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
256 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 ...
0
votes
1answer
745 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 ...
0
votes
0answers
182 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
64 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
286 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
188 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
265 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
672 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
175 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
551 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
409 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
466 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
161 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
171 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
220 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
626 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
4k 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
412 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
550 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
104 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
42 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
557 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
138 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 ...
1
vote
2answers
1k views

Change kernel command line parameters for the next boot on OpenWRT

I'm looking for a way to edit Kernel Command Line Parameters from User Space, without the need to stop at U-Boot and modify the values manually. I want to change Kernel Parameters for the next boot. ...
1
vote
1answer
362 views

Save U-Boot environment variables without Flash connected

I've seen multiple blog posts of people getting around the U-Boot bootdelay 0 environment variable to get to the U-Boot CLI. An example is here. The general process, as I understand it, is: Desolder/...
0
votes
1answer
649 views

Linux cannot boot with u-boot and FIT(flatten image tree)

This question is exactly identical with Lostboy's issue. As I cannot find an answer from the post, ask again. FIT includes a signed Kernel image(zImage) and FDT. Target is Jetson-TK1, and it works ...