Skip to content

Commit 02e3d2d

Browse files
Merge pull request #12 from RusPiRo/master
Prepare Release and crates.io publishing
2 parents 7166ac4 + 5bec6fb commit 02e3d2d

File tree

4 files changed

+12
-6
lines changed

4 files changed

+12
-6
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## :strawberry: v0.4.1
4+
5+
Fxing the linker script. Some of the section requires re-ordering to properly link with new versions of LLVM/LLD used in the current rustc version.
6+
7+
- ### :detective: Fixes
8+
9+
- re-order sections in the linker script file
10+
311
## :peach: v0.4.0
412

513
Refactoring the crate into a more lightweight 64Bit only version. This now provides a tailormade lean implementation to boot up the Raspberry Pi either in *multicore* or *singlecore* setup. The boot sequence hands processing to an entry functions that needs to be implemented by the user of this crate. The implementer of this entry point function does have now full freedom where to go from here. As part of the boot sequence there is nomore a forced setup of the MMU or any other peripheral.

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "ruspiro-boot"
33
authors = ["André Borrmann <[email protected]>"]
4-
version = "0.4.0" # remember to update html_root_url
4+
version = "0.4.1" # remember to update html_root_url
55
description = """
66
Bare metal boot strapper code for the Raspberry Pi 3 to conviniently start a custom kernel within the Rust environment
77
without the need to deal with all the initial setup like stack pointers, switch to the appropriate exeption level and getting all cores kicked off for processing of code compiled from Rust.

link64.ld

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,24 +19,22 @@ SECTIONS
1919

2020
.text : { KEEP(*(.text.boot)) *(.text*) }
2121
.rodata : { *(.rodata*) }
22-
PROVIDE(_data = .);
23-
.data : { *(.data*) }
24-
2522
. = ALIGN(8);
2623
.init_array : {
2724
__init_start = .;
2825
*(.init_array)
2926
*(.init_array.*)
3027
__init_end = .;
3128
}
32-
3329
/* bss section, contains all static variables of the c code */
3430
.bss : {
3531
__bss_start__ = .;
3632
*(.bss*)
3733
*(COMMON)
3834
__bss_end__ = .;
3935
}
36+
PROVIDE(_data = .);
37+
.data : { *(.data*) }
4038

4139
/* fill the binary to always have an aligned binary size - needed for the bootloader on RPi to work properly */
4240
.fill : {

0 commit comments

Comments
 (0)