Hi, Wolfgang:
The wiki (http://www.denx.de/wiki/U-Boot/TaskTimerAPI) introduced new
U-Boot Timer API, such as:
time_ms_delta_raw()
time_ms_delta_max()
..
Not find in 2014.07 code package.
Were they not adopted by u-boot maintainer?
Best wishes,
Hi, Albert:
I am studying 2014.07 release u-boot package.
I found u-boot.bin's first bytes were not code in start.S .
Taken for compling smdkv310 as an example:
The compiled u-boot.bin's first 0x20 bytes were:
18 F0 9F E5 18 F0 9F E5 18 F0 9F E5 18 F0 9F E5
18 F0 9F E5 18 F0 9F E5 18 F0 9F
Hi, singh:
I have an Origen(Cortex-A9 Dual Core, Exynos 4210) development
board.(InSignal produced)
I followed below steps to verify the latest u-boot release code:
1. build uboot
make origen_config
make all
then it will origen-spl.bin in spl dir.
2. run dd command to burn raw images
Hi, Scott:
I have a question about nand_scan_bbt() function in
drivers/mtd/nand/nand_bbt.c .
..
len = (1 this-bbt_erase_shift); // bbt_erase_shift = 18
(256KB)
len += (len this-page_shift) * mtd-oobsize;
buf = vmalloc(len);
..
Why
Hi, experts:
I am studying u-boo.bin format(which is got from u-boot, an ELF format
bin).
I run the below command:
Objdump -h -b binary -m arm u-boot.bin
Found only a .data section was displayed.
So , does u-boot.bin include only a .data section?
Best wishes,
Hi, experts:
I have a question about FIT image.
1. based on doc\uImage.FIT\kernel_fdt.its
I think the compiled itb binary is aslo a dtb format file.
So, I tried to use u-boot shell's fdt related cmd to parse it.
But failed.
Why could not parse it through fdt cmds?
Best
Hi, Heiko:
Thanks for your quick reply!
Maybe my test itb is bad.
I recreated a test itb, now it could be parsed by fdt cmds.
Thanks a lot!
Best wishes,
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Hi, Josh:
Thanks a lot!
Follwing these steps, I could load itb to memory:
1. sb bind 0 /lionfs
2. ext4load host 0 10 testkernel.itb
Best wishes,
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Hi, Simon:
Is there any doc described how to use 'sb load host / sb ls host' etc
cmds?
I tried to run:
sb info
it displayed:
0 Not bound to a backing file
..
Best wishes,
___
U-Boot mailing list
U-Boot@lists.denx.de
Hi, Simon:
I tried to run test/image scripts:
test/image/test-imagetools.sh - multi-file images
test/image/test-fit.py- FIT images
1. test-imagetools.sh
need to copy u-boot/tools directory to sandbox dir manually, otherwise
it would fail.
2.
Hi, Simon:
I git cloned http://git.denx.de/u-boot-dm.git .
And followed these steps to compile it:
make sandbox_config
make
but failed:
arch/sandbox/cpu/sdl.c:10:21: error: sdl/sdl.h: No such file or directory
Best wishes,
___
U-Boot mailing list
Hi, Marc:
My understanding is that if you're using the Trusted Firmware, then you
have an implementation of PSCI, and that's what you must use to bring
the CPUs into u-boot. U-Boot will be running non-secure anyway, so it
requires the firmware to perform S to NS transition on its behalf.
Do you
Hi, Marc:
PSCI doesn't need any pen-related code, as it interacts directly
with the power controller.
Make these sections depend on CONFIG_ARMV7_PSCI not being set.
Signed-off-by: Marc Zyngier marc.zyng...@arm.com
---
arch/arm/cpu/armv7/nonsec_virt.S | 2 ++
arch/arm/cpu/armv7/virt-v7.c | 2
Hi, Marc:
In short, if you're setting GICD_SGIR[24] to 1, you're sending SGI0 to
all CPUs but yourself. This seems to match the name of the function,
doesn't it?
I described my understanding based on 2014.07-RC2 u-boot source code:
(For ARMv8 cores)
1. smp_kick_all_cpus() will send SGI0 to all
Hi, Marc:
I am studying ARMv8's u-boot code with FVP model.
In do_nonsec_virt_switch() function in bootm.c :
It will call smp_kick_all_cpus() function :
It seems it would set GICD_SGIR[24] = 1, forward the interrupt to all
CPU interfaces except tha tof the processor that requested the
interrupt.
Hi, fenghua:
Followed your steps, I also downloaded linux-3.14.4.tar.xz .
And run it with ATF + Uboot.
It could boot into linux kernel, and hangs at mounting root fs.
Thanks a lot!
Best wishes,
___
U-Boot mailing list
U-Boot@lists.denx.de
Hi, fenghua:
I always use mkimage converting kernel to uImage and booting it. It
works fine.
Wish this help you.
I followed these steps :
1. git clone git://git.linaro.org/kernel/linaro-aarch64.git
2. compiled it
% make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- distclean
vexpress_defconfig
Hi, experts:
Does u-boot support being compiled by clang compiler?
Clang compiler is provied by LLVM.
Best wishes,
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Hi, experts:
Set_default_env() function will call himport_r() function.
Himport_r() will create hash tables for env variables.
But on some very slow software emulator platform, himport_r() run very
slowly!
So , my question is:
Would Himport_r() be omitted in set_default_env() ?
Best
Hi, Scott:
I have a question about nand chip's ecc bits:
Nand chip usually declared its ecc bits for each 512 bytes in its data
sheet.
Such as:
Some nand chips required 4bit ECC for each 512 bytes.
Some nand chips required 2bit ECC for each 512 bytes.
So, my question is:
Could ecc bits
Hi, Fenghua:
I have tried to boot U-boot 2014.04 formal release code on FVP model.
But failed.
And u-boot-2014.04-rc3.tar.bz2 is OK.
Best wishes,
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Hi, Fenghua:
Sorry !
GICv3 caused it failed to boot.
Because I used free license FVP, not support GICv3.
I del #define CONFIG_GICV3 in vexpress_aemv8a.h.
Then it booted ok!
Best wishes,
___
U-Boot mailing list
U-Boot@lists.denx.de
Hi, York:
Thanks a lot!
I have noted your recent patch about ARMv8 cache flush.
Best wishes,
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Hi, fenghua:
I found you defined these marcoes in vexpress_aemv8a.h :
#define CONFIG_SYS_DCACHE_OFF
#define CONFIG_SYS_ICACHE_OFF
Most ARMv7 platform will enable Icache to make code run faster.
So, why not turn on Icache on ARMv8 FVP model?
Is there any side-effects?
Best wishes,
Hi, experts:
I usually compiled u-boot for ARMv8 FVP model with below command:
export ARCH=aarch64
export
CROSS_COMPILE=/home/tiger/tiger-linux-share/CBP5860/ARMv8/gcc-linaro-aar
ch64/bin/aarch64-linux-gnu-
make vexpress_aemv8a
but when I tried to compile it with
Hi:
Has solved it.
make vexpress_aemv8a
Should replace it with make vexpress_aemv8a_config and make
Best wishes,
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Hi, All:
how to map unsigned long long to a long data type if compiling a
64bit u-boot?
I got the answer:
ARMv8 compiler will treat unsigned long long as u64 type.
Best wishes,
___
U-Boot mailing list
U-Boot@lists.denx.de
Hi, Haijun:
Freescale engineer had ever added UHS-I support in
drivers/mmc/imx_esdhc.c .
But I could not find imx_eshdc.c file in current latest u-boot package.
So, I have questions about UHS-I code:
1. UHS-I support has been merged into fsl_esdhc.c ?
2. Does freescale support UHS-II in u-boot
Hi, experts:
in 32bit ARM SOC platform:
u-boot use unsigned long long as a uint64 data type.
So, if with 74bit ARM SOC:
Long type : means a 64bit data type.
So how to map unsigned long long to a long data type if compiling a
64bit u-boot?
Best wishes,
Hi,
Is there a command to read raw data from a disk partition to memory?
Nand / mmc command is ok.
Best wishes,
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Hi,
How can we define _POST_WORD_ADDR for ARM.In case enabling post for
arm
on post.h how can i define _POST_WORD_ADDR. how it is defined in
other
platform.please tell me the logic behind _POST_WORD_ADDR.
I remember Denk has said : _POST_WORD_ADDR should point to a
non-volatile region.
Such
Hi, Denk:
You used the correct phrase: it seemed. Except that you broke a
number of really important things. If you do not understand what
rlocation is needed for, then please gop back and read it in the
archives. This has been discussed many times before.
For example:
Most ARM SOC platform
Hi, Albert:
Relocation will always happen, and there is no provision for avoiding
it.
I have ever tried to del these code in crt0.S :
ldr sp, [r8, #GD_START_ADDR_SP] /* r8 =
gd-start_addr_sp */
bic sp, sp, #7 /* 8-byte alignment for ABI compliance
*/
ldr
Hi, experts:
I want to know the size limit for a single env variable.
I have reviewed the code:
1. It seems the size limit for a single env variable is 1M bytes, right?
#defineMAX_ENV_SIZE (1 20) /* 1 MiB */
(in common/cmd_nvedit.c)
Best wishes,
Hi, Denk:
Thanks a lot!
I got it!
Not exceed CONFIG_SYS_PBSIZE defined in my platform config file is a
good choice!
What exactly was your reason to worry about the maximum size for env
vars?
My colleage wanted to save a variable which contains 8KB data.
He asked me whether it was ok for u-boot
Hi, Denk:
Thanks a lot!
I have tried it, and it seemed wonderful!
Its mechanism is:
Using host pc's time stamp to tag the kermit's every output msg line,
right?
Best wishes,
___
U-Boot mailing list
U-Boot@lists.denx.de
Hi, Denk:
[1] ftp://ftp.denx.de/pub/tools/time_log
How to produce the below format's serial terminal log message?
Which marco definition needed to be turn on when compiling u-boot code?
# 6.357 ## Booting image at 0020 ...
# 6.357Image Name: Linux-2.4.4
Hi, Inder:
aarch64-linux-gnu-gcc: error: unrecognized command line option '-marm'
aarch64-linux-gnu-gcc: error: unrecognized command line option
'-mno-thumb-interwork'
aarch64-linux-gnu-gcc: error: unrecognized command line option
'-mabi=aapcs-linux'
aarch64-linux-gnu-gcc: error: unrecognized
Hi, Inder:
Could it be a toolchain issue? I used the linaro toochain
gcc-linaro-aarch64-linux-gnu-4.8-2014.01_linux.tar.xz
http://releases.linaro.org/latest/components/toolchain/binaries/gcc-lin
aro-aarch64-linux-gnu-4.8-2014.01_linux.tar.xz at [1].
Maybe
I use
Hi, JYOTI:
Can anybody inform me why u-boot 2013 does not support secure booting?
Basically what are the differences between u-boot2009.08 and u-boot2013
related to secure boot feature? What changes are required to develop
secure
booting in u-boot 2013?
Based on Simon's PPT, U-boot 2013.06
Hi, Bhupesh:
I described my steps:
1. Compiled ATF
Export CROSS_COMPILE=/home/lion/
gcc-linaro-aarch64/bin/aarch64-linux-gnu-
make DEBUG=1 V=1
make DEBUG=1 PLAT=fvp all dump
Note:
I used linaro released aarch64 compiler, not official gcc 4.7
2. Compiled Uboot
(1) revised
Hi, Bhupesh:
Booting trusted firmware boot loader stage 1
Built : 16:09:23, Feb 11 2014
ERROR: Cannot access 'bl2.bin' file (-1).
Failed to load boot loader stage 2 (BL2) firmware.
I did not run into this issue.
It seems semihosting broken!
Maybe this website is useful:
Hi, experts:
Sandbox is a platform independent drivers test environment.
And, I could compile it with gcc-4.6 x86_64 version.
So, if a platform independent driver runs ok, then:
Does it also mean this driver is ok for running in an aarch64 state on
an armv8 platform?
Best wishes,
Hi, experts:
I found ARMv8/Exceptions.S only created a 8 items vector table.
But based on ARMv8 Arch Ref Manual, it should create 16 items in a
vector table:
Current Exception level with SP_EL0 : 4 items
Current Exception level with SP_Elx : 4 items
EL immediately lower than target_EL is using
Hi, bhupesh and drambo:
I think current uboot ARMv8's start.S could handle EL2/EL1 case.
I have tested it on FVP model, let arm trusted firmware boot u-boot.bin.
It seemed ok.
The command I used is:
./Foundation_v8 --cores=4 --no-secure-memory --no-gicv3
--data=./bl1.bin@0x0
Hi, fenghua:
Has you ever tried to boot a linux kernel with armv8 fvp model?
Best wishes,
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Hi, Fenghua:
Thanks a lot!
Best wishes,
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Hi, Scott:
After changing to u-boot.elf, it could be run in FVP model.
If I run ./Foundation_v8 --image ./u-boot.elf --cores=4
--no-secure-memory, Uboot could be run with FVP model.
But no ARM trusted firmware boot info appeared.
Such as:
Booting trusted firmware boot loader stage 1
..
If I
Hi, Bhupesh:
U-boot doesn't have ARM trusted firmware support as of now. U-boot for
ARMv8 starts in EL3,
whereas UEFI starts in EL2 as trusted firmware itself is working in
EL3.
Do you mean: when FVP run, the first instruction would be fetched from
u-boot.elf?
Best wishes,
Hi, Fenghua:
Albert has merged arm64 patch set. I have tested and it works fine
on Foundation Model.
I have downloaded the latest u-boot source code.
And compiled it with linaro released gcc:
export ARCH=aarch64
export
CROSS_COMPILE=/home/lion/ARMv8/gcc-linaro-aarch64/bin/aarch64-linux-gnu-
Hi, experts:
I have tried to boot uefi bootloader with FVP model,it is ok!
./Foundation_v8 --cores=4 --no-secure-memory --visualization --gicv3
--data=./bl1.bin@0x0 --data=./uefi.fd@0x800
BL1--BL2--...uefi.fd
But booting uboot.bin, it still failed.
Best wishes,
Hi, sharma:
Which ARMv8 foundation model version you are using. I one I have
doesn't support
GiCv3. UEFI supports both GiCv3 and v2 whereas I believe uboot is only
tested for GiCv2.
I download FVP from ARM Ltd website:
http://www.arm.com/products/tools/models/fast-models/foundation-model.ph
p
how
Hi, sharma:
./Foundation_v8 --cores=4 --no-secure-memory --visualization
--data=./bl1.bin@0x0 --data=./u-boot.bin@0x800
Is the TEXT_BASE right?
Best wishes,
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Hi,Sharma:
Can you try this command:
./Foundation_v8 --image ./u-boot --cores=4 --no-secure-memory
Error:
terminal_1: Listening for serial connection on port 5000
terminal_2: Listening for serial connection on port 5001
terminal_0: Listening for serial connection on port 5002
terminal_3:
Hi, sharma:
Not the u-boot.bin, only u-boot:
./Foundation_v8 --image ./u-boot --cores=4 --no-secure-memory
FVP model print:
Simulation is started
Then not run further.
Based on arm open source firmware doc, should use Foundation_v8 as below
format:
./Foundation_v8 \
Hi, Scott:
You need to use u-boot.elf, not the unrelocated u-boot.
Thanks a lot!
After changing to u-boot.elf, it could be run in FVP model.
Best wishes,
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Hi, Jagan and other experts:
Thanks a lot!
I will try it at ARM Ltd released Foundation Model.
Best wishes,
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Hi, fenghua:
How to get u-boot code with arch/arm/cpu/armv8 directory?
I used git://www.denx.de/git/u-boot.git to get latest code, but not
find armv8 dir.
Best wishes,
___
U-Boot mailing list
U-Boot@lists.denx.de
Hi, Albtert:
How to download u-boot source code with arm64 patch code.
Such as :
Include arch/arm/cpu/armv8 directory.
I used git clone git://www.denx.de/git/u-boot.git to download source
code.
But not find arm64 patch code in the downloaded source code.
Best wishes,
Hi, experts:
Does U-boot have any plan to support ARMv8 SOC?
Nvidia has decleared 64bit SOC plan.
So, i think bootloader for ARMv8 SOC is urgent now.
Although ARM Ltd recommended UEFI firmware as ARMv8's bootloader.
But not a requirement.
On Consumer Electronics market, Uboot has huge
Hi, sharma:
Thanks for your answer!
How to get u-boot source code which includes arch/arm/cpu/armv8 dir?
I used git clone git://www.denx.de/git/u-boot.git to download source
code.
But not find arm64 patch code in the downloaded source code.
Best wishes,
Hi, Albrahm:
Thanks a lot!
Best wishes,
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Hi, Simon:
Thanks for your reply!
Well you could, but what benefit would that provide? It would not use
any code from arch/arm if that is what you are thinking. Sandbox is its
own 'architecture'?
For example:
1. i want to test fs/ext4 driver.
They are architecture independent code.
I
Hi, Simon:
Sorry for some typo.
I re-wrote this mail:
---
I have a question about compiling uboot sandbox branch:
1. It seems sandbox branch could be compiled by gcc compiler on a x86
platform.
Not need to set cross compiler tool chains.
And after finished
Hi, Dall:
I have a few questions about switching cpu's state from secure to
non-sec in uboot.
1. I found do_nonsec_virt_switch() function had been integrated in
uboot_2014_01_RC2.
This function would switch cpu from secure state to non-sec, even
into hyp-state.
So, my question is:
If a
Hi, Dall:
Thanks for your quick response!
It depends on the board. Which ARM doc are you referring to?
ARM Security Technology : Building a Secure System using TrustZone
Technology.
(PRD29-GENC-009492C)
Figure 5-2 in Chapter 5.2.1 Boot Sequence.
Based on my understanding, U-boot is classfied as
Hi, Dall:
Thanks a lot!
non-secure *state* includes several non-secure CPU modes (usr, svc,
und, abt, irq, fiq, hyp). You can choose to switch to either of them
as you want, but if you want to boot Linux you should choose Hyp mode
so KVM will work, unless you are writing your own hypervisor or
Hi, Simon:
Sandbox concept is a very good idea to test uboot's non-platform part
code.
I have a question about compiling uboot sandbox branch:
1. It seems sandbox branch could be compiled by gcc compiler on a x86
platform.
Not need to set cross compiler tool chains.
And after finished
Hi, Simon:
Some drivers uses CONFIG_VIDEO and some use CONFIG_LCD. We tried to
unify the API calls a little a year or so ago. They serve a very
similar purpose. I hope that with driver model they will become the
same.
Thanks a lot!
Best wishes,
___
Hi, experts:
I am confused by CONFIG_LCD / CONFIG_VIDEO / CONFIG_CFB_CONSOLE.
Some board config files defined : CONFIG_VIDEO and CONFIG_CFB_CONSOLE.
But not define CONFIG_LCD.
It seemed CONFIG_LCD was out of date?
Best wishes,
___
U-Boot
Hi, chander:
Does the mainline u-boot code support exynos 5420 Arndale Octa Board?
Exynos 5420 supports big.little tech.
Best wishes,
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Hi, Marczak:
Could i test these feature on S5PV310 platform(Origen Board)?
Such as : console support on LCD
Best wishes,
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Hi, Albert:
Sorry for making trouble for you!
I just wants to make sure uboot not support this feature now.
Maybe i will submit a patch in the future.
Best wishes,
___
U-Boot mailing list
U-Boot@lists.denx.de
Hi, Albert:
I don't think it does, but you can find out by looking at the
documentation and code.
Besides, I don't think being able to format a filesystem from
the bootloader is really needed; this task is best performed in a
full-fledged operating system IMO.
I aslo don't think uboot need a
Hi, experts:
It seems current uboot does not support parse boot.img which saved in
NAND chip.
Boot.img contains : kernel.img and ramdisk.img
It contains a header struct:
struct boot_img_hdr
{
unsigned char magic[BOOT_MAGIC_SIZE];
unsigned kernel_size; /* size in bytes */
Hi, shankar:
It seems uboot currently supports ext4load / ext4ls / ext4write command.
Does it support ext4format command?
(such as : format NAND as ext4 filesystem?)
Best wishes,
___
U-Boot mailing list
U-Boot@lists.denx.de
Hi, experts:
There is a raise() function implementation in Arch/arm/lib/eabi_compat.c
.
So, it is usually callbed by div0 from the c compiler libgcc ?
If uboot output raise: Signal ..., is it caused by division-by-zero ?
Best wishes,
___
Hi, experts:
I tried to turn on log buffer function by defined CONFIG_LOGBUFFER.
When compiled source code, it tips:
Should define _POST_WORD_ADDR .
But i think:
_POST_WORD_ADDR is not related with CONFIG_LOGBUFFER.
_POST_WORD_ADDR is justed related with CONFIG_POST
So, should revise
Hi, experts:
Currently, uboot will relcoate itself to dram's high end in crt0.S .
So, i don't want to relocate uboot.bin , how to do it?
Just del b relocate_code in crt0.S ?
What else needed to do ?
Best wishes,
___
U-Boot mailing list
Hi, experts:
In U-boot mini summit 2013, not talk about android fastboot protocol
support in U-boot mainline code?
In the ppt which introduced DFU, it said:
Google Chromebook use DFU tool?
I am curious:
Why Google not continue to use fastboot tool in Chromebook?
Best wishes,
Hi, experts:
Uboot has provided a getc() function.
So how about getstr() function?
It seems: not provide getstr() ?
Best wishes,
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Hi, Albert:
Thanks !
I used cmd git clone git://git.denx.de/u-boot.git to get the master
source code.
Best wishes,
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Hi, Albert:
My apologies: I though you had meant how to get the submission to go
into mainline, while you actually meant how to get accepted
submissions locally.
Let me just add that if you want to (ir)regularly find out which code
has been accepted into mainline, there is no need to re-clone the
Hi, experts:
I found Linaro engineers had pushed some secure monitor related code.
But not find these code in 2013.10.rc4 .
So, how to get these latest code?
Best wishes,
___
U-Boot mailing list
U-Boot@lists.denx.de
Hi, balaji:
I am facing the typical problem relating to prints in the do_irq
handler of
versatile based u-boot. I dont know what is the problem. Though i am
getting the prints normally in super visor context but not able to get
the
prints in the interrupt context. Please can you tell me if it is
Hi, Scott:
Thanks for your answer!
It's supposed to be, though it's defined by individual drivers and
there
may be some where the layout has been (unfortunately) changed over time
-- such as if a vendor kernel/U-Boot did it differently from upstream.
Is there a specific NAND driver you're
Hi , Scott:
First, My uboot version is 2013.04.
In the function scan_write_bbt(), U-boot uses MTD_OOB_PLACE to write BBT
data and BBT pattern. See below
static int scan_write_bbt(struct mtd_info *mtd, loff_t offs, size_t len,
uint8_t *buf, uint8_t *oob)
{
Hi, experts:
Is the u-boot's NAND OOB-layout same with linux kernel's nand drivers?
Best wishes,
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Hi, experts:
Is the u-boot's NAND OOB-layout same with linux kernel's nand drivers?
Best wishes,
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Hi, experts:
The movt/movw instruction can be used to hardcode an
memory location in the instruction itself. The linker
starts complaining about this if the compiler decides
to do so: relocation R_ARM_MOVW_ABS_NC against `a local
symbol' can not be used and it is not support by U-boot
as well.
Hi, Denk:
May I ask why you want to use other optimization levels? Do you just
hope that your code may run faster, or do you have actual proof (i. e.
measurements) that this is the case? It would be interesting if you
could share any such measured results.
Not for running faster.
I just think:
Hi, experts:
-# check that only R_ARM_RELATIVE relocations are generated
ifneq ($(CONFIG_SPL_BUILD),y)
-ALL-y += checkarmreloc
+# Check that only R_ARM_RELATIVE relocations are generated.
+ALL-y += checkarmreloc
+# The movt / movw can hardcode 16 bit parts of the addresses in the
+# instruction.
Hi, Simon:
Got it!
Thanks!
My codebase is 2013.04 release version.
It seemed board_f.c / board_r.c had been moved to common directory.
Arch/Arm/Lib/Board.c would be compiled conditionally.
Best wishes,
___
U-Boot mailing list
U-Boot@lists.denx.de
Hi, experts:
I have some questions about bootstage functions.(common/bootstage.c)
1. mark_bootsage record relocation question
board_init_f() will call mark_bootstage() function to record the elapsed
time when system
From power on to board_init_f point.
But after running board_init_f()
Hi, experts:
I have a question about compiler option -mno-unaligned-access.
Why not open -mno-unaligned-access compiler option globally by default
when compiling u-boot?
It seems if one driver needs to open it, should set it in Makefile
individually:
$(obj) tst/tst.o: CFLAGS +=
Hi, experts:
I have a question about IRQ statck pointer alignment.
In arch/arm/lib/interrupts.c :
In Interrupt_init(void) function:
IRQ_STACK_START = gd-irq_sp - 4;
IRQ_STACK_START_IN = gd-irq_sp + 8;
FIQ_STACK_START = IRQ_STACK_START - CONFIG_STACKSIZE_IRQ;
It seems not
Hi, experts:
I have a question about FIT image format.
1. Did U-boot maintainers propose FIT format firstly?
Or, U-boot just adopted FIT concept from other source.
It seems linux kernel maintainers also adopted FIT concept.
Best wishes,
Hi, Rini:
Yes, but appended dtb is something (some) kernel developers suggest not
relying on. But you don't need to append, for uImage or zImage, just
pass ${loadaddr} - ${fdt_addr}
Got it!
Thanks a lot!
Best wishes,
___
U-Boot mailing list
Hi, experts:
I am studying bootm procedure.
In common/image.c, boot_get_fdt() function will parse IH_TYPE_MULTI
format image.
But i could not find any doc describing legacy multi-component image
format!
Could anybody provide me a doc?
Thanks a lot!
Best wishes,
Hi, experts:
Currently, linux kernel could compile zImage with appending dtb binary.
Uboot has supported bootz command.
So, could bootz be used to boot zImage_dtb image?
Has anybody test succefully?
Best wishes,
___
U-Boot mailing list
1 - 100 of 173 matches
Mail list logo