Comments (16)
unzip 0x028cb000 0x0204b000
go 0x0204b000
from temu.
unzip 0x028cb000 0x0204afc0
bootm 0x0204afc0 - 0x02048800
from temu.
unzip 0x028cb000 0x0204afc0
bootm 0x0204afc0 - 0x02f9b830
from temu.
mkimage -A riscv -O linux -T kernel -C none -a 0x0204b000 -e 0x0204b000 -d arch/riscv/boot/Image uImage
from temu.
0x0000_0000: ROM START
0x0200_0000: RAM START
290KiB OpenSBI
0x0204_8800: FDT
10KiB
0x0204_B000: U-boot
512KiB U-boot
0x0210_0000: Kernel Decompress Start
0x020c_B000: Kernel decompress space
8MiB
0x028c_B000: Compressed Kernel at
3MiB
0x02bc_B000: Uboot reloc
0x0300_0000: RAM END 16MiB
unzip 0x028cb000 0x020fffc0
bootm 0x020fffc0 - 0x02f9b830
mkimage -A riscv -O linux -T kernel -C none -a 0x02100000 -e 0x02100000 -d arch/riscv/boot/Image uImage
from temu.
latest
0x0000_0000: ROM START
0x0200_0000: RAM1 START
290KiB OpenSBI
0x0204_8800: FDT
10KiB
0x0204_B000: U-boot
512KiB U-boot
0x028c_B000: Compressed Kernel at
3MiB
0x02bc_B000: Uboot reloc
0x0300_0000: RAM1 END 16MiB all used 5MiB
0x8000_0000: RAM2 start (Kernel Decompress Start)
10MiB
0x80a0_0000: RAM2 end
unzip 0x028cb000 0x80000000
setenv bootargs "earlycon=sbi"
bootm 0x80000000 - 0x02048800
mkimage -A riscv -O linux -T kernel -C none -a 0x80000000 -e 0x80000000 -d arch/riscv/boot/Image uImage
TODO: move opensbi and u-boot to 0x80000000 space, here we simply open another memory block for linux kernel
from temu.
riscv32-buildroot-linux-gnu-objdump vmlinux > vmlinux.dump -D -S -M no-aliases,numeric
from temu.
We must start at 0x8000_0000. Here
0x0000_0000: ROM START
0x8000_0000: U-boot, (Kernel Decompress Start)
512KiB U-boot
0x80ab_5000: Compressed Kernel at
3MiB
0x80dc_0000: OpenSBI
290KiB
0x80df_d800: FDT
10KiB
0x80e0_0000: Uboot reloc
2MiB
0x8100_0000: RAM end 16MiB
unzip 0x80ab5000 0x80000000
setenv bootargs "earlycon=sbi"
bootm 0x80000000 - 0x80dfd800
mkimage -A riscv -O linux -T kernel -C none -a 0x80000000 -e 0x80000000 -d arch/riscv/boot/Image uImage
Available memory for kernel: 13MiB
from temu.
--addr=0x80dc0000
--exec=fw_jump.bin
--with=0x80000000#u-boot.bin
--with=0x80dfd800#u-boot.dtb
--with=0x80ab5000#uImage.gz
from temu.
We must start at 0x8000_0000. Here
Enlarge everything to 32MiB
0x0000_0000: ROM START
0x8000_0000: U-boot, (Kernel Decompress Start)
512KiB U-boot
0x80aa_0000: Compressed Kernel at
3MiB
0x80da_0000: Uboot reloc
2MiB
0x80fa_0000: OpenSBI
384KiB
0x80ff_d800: FDT
10KiB
0x8100_0000: RAM end 16MiB
unzip 0x80aa0000 0x80000000
setenv bootargs "earlycon=sbi"
bootm 0x80000000 - 0x80ffd800
mkimage -A riscv -O linux -T kernel -C none -a 0x80000000 -e 0x80000000 -d arch/riscv/boot/Image uImage
Available memory for kernel: 13.625MiB
--addr=0x80fa0000
--exec=fw_jump.bin
--with=0x80000000#u-boot.bin
--with=0x80ffd800#u-boot.dtb
--with=0x80aa0000#uImage.gz
from temu.
unzip 0x80aa0000 0x80000000
setenv bootargs "earlycon=sbi,null console=ttyS0,115200"
bootm 0x80000000 - 0x80ffd800
from temu.
setenv bootargs "earlycon=uart8250,mmio32,0x12500000,115200n8 console=ttyS0,115200n8"
from temu.
setenv bootargs "console=tty0 console=ttyS0,115200"
from temu.
setenv bootargs "console=ttyS0,115200"
from temu.
Latest
0x0000_0000: ROM START
0x8000_0000: U-boot, (Kernel Decompress Start)
512KiB U-boot
0x8099_0000: Compressed Kernel at
4.1MiB
0x80da_0000: Uboot reloc
2MiB
0x80fa_0000: OpenSBI
384KiB
0x80ff_d800: FDT
10KiB
0x8100_0000: RAM end 16MiB
unzip 0x80990000 0x80000000
setenv bootargs earlycon=sbi,null console=ttyS0,115200
bootm 0x80000000 - 0x80ffd800
mkimage -A riscv -O linux -T kernel -C none -a 0x80000000 -e 0x80000000 -d arch/riscv/boot/Image uImage
Available memory for kernel: 13.625MiB
--addr=0x80fa0000
--exec=fw_jump.bin
--with=0x80000000#u-boot.bin
--with=0x80ffd800#u-boot.dtb
--with=0x80990000#uImage.gz
from temu.
setenv bootargs earlycon=sbi,null console=ttyS0,115200 root=/dev/ram0
from temu.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from temu.