<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/board/nokia/rx51/lowlevel_init.S, branch main</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/board/nokia/rx51/lowlevel_init.S?h=main</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/board/nokia/rx51/lowlevel_init.S?h=main'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2023-09-05T01:14:32Z</updated>
<entry>
<title>nokia_rx51: Remove platform</title>
<updated>2023-09-05T01:14:32Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2023-09-05T01:12:28Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=493fd3363f6da6a784514657d689c7cda0f390d5'/>
<id>urn:sha1:493fd3363f6da6a784514657d689c7cda0f390d5</id>
<content type='text'>
This platform is behind on migrations (it is the sole user of the oldest
legacy version of the USB gadget stack and is long overdue for
migration) and with Pali no longer being a maintainer, we remove this
platform.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>Nokia RX-51: Use ENTRY/ENDPROC for save_boot_params</title>
<updated>2022-12-09T19:10:28Z</updated>
<author>
<name>Pali Rohár</name>
<email>pali@kernel.org</email>
</author>
<published>2022-11-23T23:45:00Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=544071ac4a1c301ed38d7f9ce41cc7cd0910083d'/>
<id>urn:sha1:544071ac4a1c301ed38d7f9ce41cc7cd0910083d</id>
<content type='text'>
ENTRY/ENDPROC macros from linux/linkage.h will make code more readable and
also will properly mark assembly symbol in ELF binary as function symbol.

Signed-off-by: Pali Rohár &lt;pali@kernel.org&gt;
</content>
</entry>
<entry>
<title>Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE</title>
<updated>2022-10-31T15:01:31Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2022-10-21T00:22:39Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=984639039f4cfe32ec2cc531d6ace05326ac49eb'/>
<id>urn:sha1:984639039f4cfe32ec2cc531d6ace05326ac49eb</id>
<content type='text'>
The current name is inconsistent with SPL which uses CONFIG_SPL_TEXT_BASE
and this makes it imposible to use CONFIG_VAL().

Rename it to resolve this problem.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>Nokia RX-51: Fix compilation with non-zero CONFIG_SYS_TEXT_BASE</title>
<updated>2022-10-18T17:40:40Z</updated>
<author>
<name>Pali Rohár</name>
<email>pali@kernel.org</email>
</author>
<published>2022-10-09T19:37:13Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=892759f5a00a1d06af257259ae5ab955ecb89ce7'/>
<id>urn:sha1:892759f5a00a1d06af257259ae5ab955ecb89ce7</id>
<content type='text'>
For some unknown reason GNU assembler version 2.31.1 (arm-linux-gnueabi-as
from Debian Buster) cannot compile following code from located in file
board/nokia/rx51/lowlevel_init.S:

  kernoffs:
    .word  KERNEL_OFFSET - (. - CONFIG_SYS_TEXT_BASE)

when CONFIG_SYS_TEXT_BASE is set to 0x80008000. It throws strange compile
error which is even without line number:

    AS      board/nokia/rx51/lowlevel_init.o
  {standard input}: Assembler messages:
  {standard input}: Error: attempt to get value of unresolved symbol `L0'
  make[2]: *** [scripts/Makefile.build:293: board/nokia/rx51/lowlevel_init.o] Error 1

I have no idea about this error and my experiments showed that ARM GNU
assembler is happy with negation of that number. So changing code to:

  kernoffs:
    .word  . - CONFIG_SYS_TEXT_BASE - KERNEL_OFFSET

and then replacing mathematical addition by substraction of "kernoffs"
value (so calculation of address does not change) compiles assembler file
without any error now.

There should be not any functional change.

Signed-off-by: Pali Rohár &lt;pali@kernel.org&gt;
Reviewed-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>Nokia RX-51: Do not clear unknown memory in lowlevel_init.S</title>
<updated>2022-09-15T20:11:01Z</updated>
<author>
<name>Pali Rohár</name>
<email>pali@kernel.org</email>
</author>
<published>2022-09-04T01:28:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5c9bf1d65530d85dcdcca329bee7ce93818a6e3e'/>
<id>urn:sha1:5c9bf1d65530d85dcdcca329bee7ce93818a6e3e</id>
<content type='text'>
If kernel image in uImage or zImage format is not detected by
lowlevel_init.S code then do not clear memory location where image was
expected. If image is not detected then this memory region is unknown.
So do not unconditionally clear it.

Signed-off-by: Pali Rohár &lt;pali@kernel.org&gt;
</content>
</entry>
<entry>
<title>Nokia RX-51: Remove label copy_kernel_start from lowlevel_init.S</title>
<updated>2022-09-15T20:10:59Z</updated>
<author>
<name>Pali Rohár</name>
<email>pali@kernel.org</email>
</author>
<published>2022-09-04T01:28:58Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0b6924cc0f192deffe546135224d3b3c4ecadbb8'/>
<id>urn:sha1:0b6924cc0f192deffe546135224d3b3c4ecadbb8</id>
<content type='text'>
Label copy_kernel_start is now unused. Remove it.

Signed-off-by: Pali Rohár &lt;pali@kernel.org&gt;
</content>
</entry>
<entry>
<title>Nokia RX-51: Simplify calculation of attached kernel image address</title>
<updated>2022-08-20T20:17:50Z</updated>
<author>
<name>Pali Rohár</name>
<email>pali@kernel.org</email>
</author>
<published>2022-08-11T20:27:24Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0ba6ce4b7889dc74a646cf54ea97a9d48428bcfe'/>
<id>urn:sha1:0ba6ce4b7889dc74a646cf54ea97a9d48428bcfe</id>
<content type='text'>
Now when board starup code does not copy image to CONFIG_SYS_TEXT_BASE
address there is no need to calculate all addresses from base address at
runtime. The only address which needs to be calculated is attached kernel
image address which can be simplified at compile time without need to know
CONFIG_SYS_TEXT_BASE address or relocation address at the runtime.

Signed-off-by: Pali Rohár &lt;pali@kernel.org&gt;
</content>
</entry>
<entry>
<title>Nokia RX-51: Simplify copy kernel code</title>
<updated>2022-08-20T20:17:50Z</updated>
<author>
<name>Pali Rohár</name>
<email>pali@kernel.org</email>
</author>
<published>2022-08-11T20:27:23Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=04bd87c24c31bbd8f27f6d1f7484c9a17f622c9a'/>
<id>urn:sha1:04bd87c24c31bbd8f27f6d1f7484c9a17f622c9a</id>
<content type='text'>
Expression (r + (r0 - r1)) produce same result as (r - (r1 - r0)). So it
does not matter which one is called. Always call the first option and
remove second one.

Signed-off-by: Pali Rohár &lt;pali@kernel.org&gt;
</content>
</entry>
<entry>
<title>Nokia RX-51: Use U-Boot generic position independent code</title>
<updated>2022-08-20T20:17:50Z</updated>
<author>
<name>Pali Rohár</name>
<email>pali@kernel.org</email>
</author>
<published>2022-08-11T20:27:22Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c5be5f6f54893bce9b5f3e8e4b35e38c923fc069'/>
<id>urn:sha1:c5be5f6f54893bce9b5f3e8e4b35e38c923fc069</id>
<content type='text'>
Switch from custom board specific fixup/copy code to U-Boot generic
position independent code provided by config option POSITION_INDEPENDENT.

This also slightly decrease size of u-boot.bin binary (by 52 bytes). Note
that option POSITION_INDEPENDENT increase size but not more than custom
board fixup/copy code which is being deleted (as it is not needed anymore).

Signed-off-by: Pali Rohár &lt;pali@kernel.org&gt;
</content>
</entry>
<entry>
<title>Nokia RX-51: Fix invalidating zImage kernel format</title>
<updated>2022-08-20T20:17:50Z</updated>
<author>
<name>Pali Rohár</name>
<email>pali@kernel.org</email>
</author>
<published>2022-08-11T20:27:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=7c4ad9821758f98db127e9d6864671c906c02d3b'/>
<id>urn:sha1:7c4ad9821758f98db127e9d6864671c906c02d3b</id>
<content type='text'>
Prior starting copy of kernel image to target location, invalidate also
zImage magic header. This ensures that on target location would be image
with valid header only in the case valid header was also in the source
location and copy from source to target finished successfully. Copy is
always skipped when kernel image in source location is invalid.

Add also comment to the code which explain what is the code doing.

Fixes: cc434fccba4c ("Nokia RX-51: Add support for booting kernel in zImage format")
Signed-off-by: Pali Rohár &lt;pali@kernel.org&gt;
</content>
</entry>
</feed>
