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
12
votes
2 answers

Building kernel uImage using LOADADDR

While building the kernel I am giving LOADADDR as "0x80008000": make uImage LOADADDR=0x80008000 Can you please help to understand what is the use of this? Can I change the LOADADDR, is there any restriction on the length of the LOADADDR?
user3693586
  • 1,227
  • 5
  • 18
  • 40
11
votes
3 answers

Embedded Linux - Booting phases

I would like to systematize my U-Boot/linux knowledge. Is it true that minimum 2 bootloader phases are needed in each embedded platform? Or can following process vary? 1st-stage bootloader (can be U-Boot) is stored in internal the processor's ROM…
Bartlomiej Grzeskowiak
  • 1,009
  • 5
  • 16
  • 35
11
votes
1 answer

Why arm-linux-gnueabi-gcc and not arm-none-eabi-gcc when compiling Linux kernel and uBoot?

I have some experience compiling bare metal code for ARM cortex-m devices as well as the Linux kernel, uBoot, and applications for the Beaglebone Black (BBB) (more featured ARM with MMU, for those living under a rock). It makes sense to me that the…
Joshua DeWeese
  • 330
  • 1
  • 9
10
votes
5 answers

How to disable serial console(non-kernel) in u-boot

I am building a Yocto image for Intel Edison. One of the image's components is u-boot with an Edison-specific patch. By default, Edison's UART port is used for u-boot console. I want to disable this feature, but only on the serial interface(u-boot…
Egor
  • 401
  • 1
  • 7
  • 14
10
votes
1 answer

Why does patch not find this file?

I would like to apply a patch to the u-boot sources but some how, Linux doesn't let me. What I have: reg@ubuntu:~/NextGen/trunk/FW/thirdparty/u-boot$ patch -p1 < ../u-boot/u-boot-2013.01-wr.patch can't find file to patch at input line 4 Perhaps you…
stdcerr
  • 13,725
  • 25
  • 71
  • 128
10
votes
3 answers

How to add customised ATAG variable in U-Boot and Linux kernel?

I want to add customized atag variable in U-Boot and Linux kernel. How can i achieve this? Is there any procedure to add an ATAG variable in U-Boot and Linux?
Prashant Chikhalkar
  • 511
  • 1
  • 8
  • 19
10
votes
1 answer

Pass large amount of binary data from u-boot to linux kernel

Have some issues with passing large amount of data (3 MB) from uboot to linux kernel 2.6.35.3 on imx50 ARM board. This data is required in kernel device driver probe function and then it should be released. First uboot load data from flash to RAM,…
Mikhail Boiko
  • 187
  • 2
  • 8
9
votes
2 answers

default baud rate - linux/u-boot

I'm working on the development of an embedded linux system using u-boot. U-boot sets the baud rate of the ttyS0 serial port with the console= bootarg, but I would also like to set the default baud rate of ttyS[1-3] (to something other than 9600). In…
dan6470
  • 309
  • 2
  • 4
  • 9
9
votes
2 answers

u-boot /lib/ld-linux-armhf.so.3: No such file or directory

My machine Ubuntu 16.04.3 LTS x86_64. I do compile u-boot-2017.11 and I got the error. u-boot-2017.11$ export ARCH=arm u-boot-2017.11$ export…
Abhisit Sangjan
  • 91
  • 1
  • 1
  • 6
9
votes
1 answer

Understanding of uboot.lds

I am trying to understand how the porting of uboot is done on powerpc mpc8313 processor based board. During this procedure I came across the file called uboot.lds, linker script file. I need to understand this file. I mean the significance of the…
Vijay
  • 111
  • 1
  • 1
  • 4
9
votes
1 answer

Any 'uboot-mkimage' available for Ubuntu 14.04?

When cross-compiling a Linux kernel the final stage of the build fails because mkimage is not installed. Which package do I need to install to my new 'Ubuntu Trusty' installation to get the mkimage utility. I couldn't find any references. Any…
Yuval
  • 315
  • 2
  • 3
  • 10
8
votes
1 answer

What is the difference between the kernel loadaddress and entry point?

I am making my own Linux distribution. The development is going along nicely however i find it hard to understand the difference between the kernel load address and the entry point. In order for the kernel to be loaded by uBoot i would think that…
Thomas Nobel
  • 177
  • 1
  • 9
8
votes
2 answers

uEnv.txt vs boot.scr

I'm very confused on these two files for the boot configuration. They seem to be doing the same thing and I don't understand why I would need either or. If I use uEnv.txt, I set it as bootargs=console=ttyS0,115200 root=/dev/mmcblk0p2 rootwait…
Kousha
  • 32,871
  • 51
  • 172
  • 296
8
votes
1 answer

what is the use of Flattened device tree - Linux Kernel

I am going through the Uboot & kernel startup process. What exactly is the use of the FDT (Flat device tree) ? Many link i have read they state that uboot pass the board & SOC configuration information to Kernel in the form of…
Katoch
  • 2,709
  • 9
  • 51
  • 84
8
votes
2 answers

Reserving a portion of SDRAM to pass data between U-Boot and the Linux Kernel

How can I reserve a portion of SDRAM, say 4 bytes, to pass a flag between U-Boot and the Linux kernel so that this reserved memory location is not initialized by the linker and the value preserved after a warm boot? I'm trying to avoid using…
user1357493
  • 81
  • 1
  • 3
1
2
3
69 70