2018-04-25 |
ARM: arm32: fix realocate_to_curr_addr
...
After add aarch64 support (commit 868df08 )
to realocation, MLO on beaglebone black do not boot any more.
The issue is, that addition of offset in one if-case was not done.
This patch fix this.
Signed-off-by: Andreas Schmidt <mail@schmidt-andreas.de>
Tested-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Andreas Schmidt
authored
on 22 Apr 2018
Sascha Hauer
committed
on 25 Apr 2018
|
2018-04-11 |
boards: samx6: Adjust to latest get_runtime_offset()
...
Latest version of get_runtime_offset() returns positive offset that
needs to be added to rather than substracted from original pointer.
Cc: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Andrey Smirnov
authored
on 9 Apr 2018
Sascha Hauer
committed
on 11 Apr 2018
|
i.MX53/TX53: Adjust to latest get_runtime_offset()
...
Latest version of get_runtime_offset() returns positive offset that
needs to be added to rather than substracted from original pointer.
Cc: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Andrey Smirnov
authored
on 9 Apr 2018
Sascha Hauer
committed
on 11 Apr 2018
|
2018-04-09 |
ARM: mmu64: Add commment
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 9 Apr 2018
|
2018-04-06 |
Merge branch 'for-next/misc'
Sascha Hauer
committed
on 6 Apr 2018
|
Merge branch 'for-next/imx'
Sascha Hauer
committed
on 6 Apr 2018
|
Merge branch 'for-next/fs'
Sascha Hauer
committed
on 6 Apr 2018
|
Merge branch 'for-next/arm'
Sascha Hauer
committed
on 6 Apr 2018
|
ARM: socfpga: remove nonexistent Kconfig dependency
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 6 Apr 2018
|
rename file_operations -> cdev_operations
...
Linux also has struct file_operations which are something different.
Rename our file_operations to cdev_operations which better matches
what we have.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 6 Apr 2018
|
2018-04-05 |
ARM: zbarebox: Fix linking with new ld
...
Based on "333ff7b1e Fix linking with new ld, based on u-boot" Fix
building for the single PBL case aswell.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 5 Apr 2018
|
2018-04-04 |
ARM: aarch64: Make early MMU support work
...
Until now it was not possible to enable the MMU in PBL because
create_section needs memory allocations which are not available. With
this patch we move the early MMU support to a separate file and all
necessary aux functions to mmu_64.h. create_sections is reimplmented
for the early case to only create 1st level pagetables.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 4 Apr 2018
|
ARM: change mmu_early_enable() prototype
...
Change the arguements to type unsigned long which is suitable for both
arm32 and arm64. While at it move the prototype to arch/arm/include/.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 4 Apr 2018
|
ARM: create separate mmu_64.h file
...
cpu/mmu.h has nothing in common for the 32bit and 64bit variant. Make it
two separate files.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 4 Apr 2018
|
ARM: Create own cache.c file for aarch64
...
cache.c does not work properly for aarch64. We create a struct cache_fns
using C preprocessor foo which assumes the existence of cache
maintenance operations with a certain name. These functions have other
names on aarch64. While we could fix this we do not need the automatic
cache function selection on aarch64 since here we only have one function
set.
Create a separate file and be done with this issue.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 4 Apr 2018
|
ARM: build: Remove duplicate file compilation
...
cache.o is already obj-y, drop unnecessary obj-$(CONFIG_MMU)
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 4 Apr 2018
|
ARM: cache-armv4: Fix wrong section
...
The v4_mmu_cache_on function should be in a section with the same name.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 4 Apr 2018
|
ARM: aarch64: Add support to start kernel and barebox
...
aarch64 has its own image format. Add a bootm handler to handle this
format. Also add a barebox handler.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 4 Apr 2018
|
ARM: aarch64: disable 32bit boot commands
...
The 32bit boot support is full of legacy cruft. While it should be
possible to merge the aarch64 support there, a fresh start looks more
promising.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 4 Apr 2018
|
ARM: aarch64: Add barebox head support
...
Allow aarch64 images to use the same image header as arm32 images.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 4 Apr 2018
|
2018-03-29 |
ARM: aarch64: implement ignoring data aborts
...
Data aborts can be masked using the data_abort_mask() function.
Add the missing pieces for functionality on aarch64 so that the
'md' command is safe to call even with faulting addresses.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 29 Mar 2018
|
ARM: aarch64: print more information on sync exception
...
On a sync exception more useful information can be printed than we
currently do. Pass the ESR and FAR value to do_sync and print the
reason for the exception along with the address that actually faulted.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 29 Mar 2018
|
ARM: aarch64: Add esr strings
...
The Exception Syndrome Register (ESR) holds information over an
exception. This adds the strings necessary to dispatch this information.
Based on Linux code.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 29 Mar 2018
|
ARM: aarch64: Allow to leave exceptions
...
So far exceptions can only be entered but never left. Add code to leave
exceptions based on U-Boot commit 4c2cc7c4e (arm64: Allow exceptions to return).
This will be useful to implement ignoring data aborts on a 'md' command.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 29 Mar 2018
|
ARM: aarch64: mmu: Make zero page faulting
...
Make zero page faulting which allows us to catch NULL pointer derefs.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 29 Mar 2018
|
ARM: aarch64: implement stacktraces
...
Implement stacktraces as a great debugging aid. On aarch64 this is cheap
enough to be enabled unconditionally. Unwinding code is taken from the
Kernel.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 29 Mar 2018
|
ARM: aarch64: implement show_regs()
...
Do something useful in an exception and at least print the current
register contents.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 29 Mar 2018
|
ARM: aarch64: hide some config options
...
EABI and ATAGS have no meaning on aarch64, so hide the options from the
user.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 29 Mar 2018
|
ARM: aarch64: remove dead code in linker script
...
CONFIG_ARM_UNWIND does not exist for aarch64. Remove the dead code.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 29 Mar 2018
|
ARM: aarch64: lowlevel: Use switch_el
...
Use switch_el macro rather than open coded version. While at it rename the
labels so that the name matches the exception level.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 29 Mar 2018
|