Questions tagged [u-boot]

Das U-boot is a GPL'd bootloader for embedded boards supporting multiple processor architectures.

Das U-Boot (Universal Bootloader) is an open source, primary boot loader used in embedded devices. It is available for a number of different computer architectures, including PPC, ARM, MIPS, AVR32, x86, 68k, Nios, and MicroBlaze.

1037 questions
4
votes
2 answers

how to burn a uboot to board NAND flash

I am having a question regarding Uboot. I am looking forward to make a ARM based Board. Now i want to to burn Uboot to NAND flash attached to my controller. How can i perform this operation ? http://www.stlinux.com/u-boot/target-install What i got…
Katoch
  • 2,709
  • 9
  • 51
  • 84
4
votes
1 answer

While debugging, will a single threaded application jump between cores?

I'm trying to debug a multi- architecture OSS program (the Das u-boot boot loader under sandbox configuration - it produces a standard linux executable) using Eclipse CDT. I like how it presents things (wonderful GUI work!). For example it shows…
chronodekar
  • 2,616
  • 6
  • 31
  • 36
4
votes
2 answers

What is difference between U-boot.bin and uImage.bin

I am confused between the u-boot.bin and uImage.bin. I guess uImage.bin is nothing but the compressed version of u-boot.bin and it size should be less than u-boot.bin. But in my build environment what I found is u-boot.bin size is lesser than…
Amit Singh Tomar
  • 8,380
  • 27
  • 120
  • 199
4
votes
1 answer

How to set up the Machine Type (arch_id) for Linux Kernel Arm Cross-Compile

I would like to know how to set the correct MACH_TYPE or arch_id for the kernel. I searched and found at least 2 references where the kernel would hang at "Starting Kernel ... ". These came with the same answer. Correctly set your Machine Type. …
CaptainBli
  • 4,121
  • 4
  • 39
  • 58
4
votes
1 answer

Enabling Interrupts in U-boot for ARM cortex A-9

I am trying to configure a GPIO interrupt in the uboot, This it to test the Interrupt response time without any OS intervention (Bare-metal). I was able to configure the pin-muxing and also successful in setting up the interrupt with the GPIO pin.…
Nuetrino
  • 1,099
  • 1
  • 14
  • 32
4
votes
4 answers

Bootloader Working

I am working on Uboot bootloader. I have some basic question about the functionality of Bootloader and the application it is going to handle: Q1: As per my knowledge, bootloader is used to download the application into memory. Over internet I also…
Phogat Ashish
  • 173
  • 1
  • 2
  • 9
4
votes
2 answers

How to debug uBoot?

I am trying to get Uboot running on a Freescale mx28evk board. It compiles fine and gives me an image, that I can dd copy to a SD-card. When I turn on the board I get no output from the serial debug console, not even an error message. I can confirm…
Herr von Wurst
  • 2,571
  • 5
  • 32
  • 53
3
votes
1 answer

How to extract kernel symbols from uImage (arm)?

I want to extract kernel symbols from a u-boot image The final goal is to debug syscalls with gdb The kernel is compiled with CONFIG_DEBUG_INFO=y and gcc is using -g option (I checked) After make uImage, I've : # file…
moul
  • 543
  • 3
  • 10
3
votes
1 answer

in gdb, can we set a variable as an expression?

In the u-boot C code, the value "gd" is declared like this. (arm) register volatile gd_t *gd asm ("r9") and register r9 contains the pointer to the struct global_data. (typedef'd to gd_t) While debugging/analying, to see gd->malloc_base in the C…
Chan Kim
  • 5,177
  • 12
  • 57
  • 112
3
votes
1 answer

How to provide the U-Boot default environment from a file in Yocto?

I want to avoid setting the default environment in CONFIG_EXTRA_ENV_SETTINGS, therefore I've set CONFIG_DEFAULT_ENV_FILE="uEnv.txt" and created that text file but bitbake doesn't find it: make[1]: *** No rule to make target 'uEnv.txt', needed by…
3
votes
0 answers

fw_printenv and fw_setenv output 'Environmet WRONG, copy 0' on Raspberry Pi 4 with Ubuntu 20.04

Summary I want to use fw_printenv and fw_setenv on Raspberry Pi 4(RPi4) with Ubuntu 20.04 to print and set a environment value for U-Boot. When runs those commands, then I can see following errors on the UART console: ubuntu@ubuntu:~$ sudo…
user17088962
3
votes
1 answer

How to save U-Boot environment variable persistently?

I have following U-Boot environment variables: nas220> printenv autoload=no autostart=no baudrate=115200 bootargs=console=ttyS0,115200 bootargs_base=console=ttyS0,115200 bootcmd=run bootcmd_nand bootcmd_nand=setenv bootargs console=ttyS0,115200…
cdixon1
  • 79
  • 2
  • 7
3
votes
1 answer

Linux compilation | Invalid entrypoint

I am compiling a linux kernel using mipsel toolchain. Everything works fine except at the very last point which states invalid entry point: sh: 0: Can't open /arch/mips/boot/tools/entry rm -f arch/mips/boot/vmlinux.bin.gz gzip -9…
user0193
  • 288
  • 1
  • 7
3
votes
0 answers

confusion between u-boot.elf and u-boot

Installed Vivado 2018.2 Clone u-boot git clone https://github.com/Xilinx/u-boot-xlnx.git change directory to u-boot-xlnx source /opt/Xilinx/Vivado/2018.2/settings64.sh export CROSS_COMPILE=aarch64-linux-gnu- export ARCH=aarch64 make…
coolicelee
  • 73
  • 6
3
votes
0 answers

How to configure u-boot for 512 Mb Ram

I'm using an imx6slevk board with yocto-bsp. I use mfgtool to flash the images and it works fine for 1GB DRAM. Now I'm trying to change DRAM to 512 MB. I modified the dts file memory node: memory { reg = <0x80000000 0x20000000>; //it was…
Producer
  • 77
  • 2
  • 10