Last active
October 10, 2023 10:39
-
-
Save lupyuen/fe062fe61a646c465329b80b1fe5fcac to your computer and use it in GitHub Desktop.
Test malloc() with 8KB allocations
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Script started on Tue Oct 10 17:53:16 2023 | |
command: screen /dev/tty.usbserial-1410 115200 | |
[?1049h[!p[?3;4l[4l>[4l[?1h=[0m(B[1;61r[H[2J[H[2J | |
U-Boot SPL 2021.10 (Jan 19 2023 - 04:09:41 +0800) | |
DDR version: dc2e84f0. | |
Trying to boot from SPI | |
OpenSBI v1.2 | |
____ _____ ____ _____ | |
/ __ \ / ____| _ \_ _| | |
| | | |_ __ ___ _ __ | (___ | |_) || | | |
| | | | '_ \ / _ \ '_ \ \___ \| _ < | | | |
| |__| | |_) | __/ | | |____) | |_) || |_ | |
\____/| .__/ \___|_| |_|_____/|____/_____| | |
| | | |
|_| | |
Platform Name : StarFive VisionFive V2 | |
Platform Features : medeleg | |
Platform HART Count : 5 | |
Platform IPI Device : aclint-mswi | |
Platform Timer Device : aclint-mtimer @ 4000000Hz | |
Platform Console Device : uart8250 | |
Platform HSM Device : jh7110-hsm | |
Platform PMU Device : --- | |
Platform Reboot Device : pm-reset | |
Platform Shutdown Device : pm-reset | |
Firmware Base : 0x40000000 | |
Firmware Size : 288 KB | |
Runtime SBI Version : 1.0 | |
Domain0 Name : root | |
Domain0 Boot HART : 1 | |
Domain0 HARTs : 0*,1*,2*,3*,4* | |
Domain0 Region00 : 0x0000000002000000-0x000000000200ffff (I) | |
Domain0 Region01 : 0x0000000040000000-0x000000004007ffff () | |
Domain0 Region02 : 0x0000000000000000-0xffffffffffffffff (R,W,X) | |
Domain0 Next Address : 0x0000000040200000 | |
Domain0 Next Arg1 : 0x0000000042200000 | |
Domain0 Next Mode : S-mode | |
Domain0 SysReset : yes | |
Boot HART ID : 1 | |
Boot HART Domain : root | |
Boot HART Priv Version : v1.11 | |
Boot HART Base ISA : rv64imafdcbx | |
Boot HART ISA Extensions : none | |
Boot HART PMP Count : 8 | |
Boot HART PMP Granularity : 4096 | |
Boot HART PMP Address Bits: 34 | |
Boot HART MHPM Count : 2 | |
Boot HART MIDELEG : 0x0000000000000222 | |
Boot HART MEDELEG : 0x000000000000b109 | |
U-Boot 2021.10 (Jan 19 2023 - 04:09:41 +0800), Build: jenkins-github_visionfive2-6 | |
CPU: rv64imacu | |
Model: StarFive VisionFive V2 | |
DRAM: 8 GiB | |
MMC: sdio0@16010000: 0, sdio1@16020000: 1 | |
Loading Environment from SPIFlash... SF: Detected gd25lq128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB | |
OK | |
StarFive EEPROM format v2 | |
--------EEPROM INFO-------- | |
Vendor : PINE64 | |
Product full SN: STAR64V1-2310-D008E000-00000003 | |
data version: 0x2 | |
PCB revision: 0xc1 | |
BOM revision: A | |
Ethernet MAC0 address: 6c:cf:39:00:75:5d | |
Ethernet MAC1 address: 6c:cf:39:00:75:5e | |
--------EEPROM INFO-------- | |
In: serial@10000000 | |
Out: serial@10000000 | |
Err: serial@10000000 | |
Model: StarFive VisionFive V2 | |
Net: eth0: ethernet@16030000, eth1: ethernet@16040000 | |
Card did not respond to voltage select! : -110 | |
Card did not respond to voltage select! : -110 | |
bootmode flash device 0 | |
Card did not respond to voltage select! : -110 | |
Hit any key to stop autoboot: 2 1 0 | |
Card did not respond to voltage select! : -110 | |
Couldn't find partition mmc 0:3 | |
Can't set block device | |
Importing environment from mmc0 ... | |
Card did not respond to voltage select! : -110 | |
Couldn't find partition mmc 1:2 | |
Can't set block device | |
## Warning: defaulting to text format | |
## Error: "boot2" not defined | |
Card did not respond to voltage select! : -110 | |
ethernet@16030000 Waiting for PHY auto negotiation to complete....... done | |
BOOTP broadcast 1 | |
*** Unhandled DHCP Option in OFFER/ACK: 43 | |
*** Unhandled DHCP Option in OFFER/ACK: 43 | |
DHCP client bound to address 192.168.31.141 (541 ms) | |
Using ethernet@16030000 device | |
TFTP from server 192.168.31.1; our IP address is 192.168.31.141 | |
Filename 'boot.scr.uimg'. | |
Load address: 0x43900000 | |
Loading: * | |
TFTP server died; starting again | |
BOOTP broadcast 1 | |
*** Unhandled DHCP Option in OFFER/ACK: 43 | |
*** Unhandled DHCP Option in OFFER/ACK: 43 | |
DHCP client bound to address 192.168.31.141 (527 ms) | |
Using ethernet@16030000 device | |
TFTP from server 192.168.31.1; our IP address is 192.168.31.141 | |
Filename 'boot.scr.uimg'. | |
Load address: 0x40200000 | |
Loading: * | |
TFTP server died; starting again | |
Using ethernet@16030000 device | |
TFTP from server 192.168.31.10; our IP address is 192.168.31.141 | |
Filename 'Image'. | |
Load address: 0x40200000 | |
Loading: *################################################################# | |
[8C ################################################################# | |
[8C ############# | |
[8C 1.2 MiB/s | |
done | |
Bytes transferred = 2097800 (200288 hex) | |
Using ethernet@16030000 device | |
TFTP from server 192.168.31.10; our IP address is 192.168.31.141 | |
Filename 'jh7110-star64-pine64.dtb'. | |
Load address: 0x46000000 | |
Loading: *#### | |
[8C 1.2 MiB/s | |
done | |
Bytes transferred = 50235 (c43b hex) | |
Using ethernet@16030000 device | |
TFTP from server 192.168.31.10; our IP address is 192.168.31.141 | |
Filename 'initrd'. | |
Load address: 0x46100000 | |
Loading: *################################################################# | |
[8C ################################################################# | |
[8C ################################################################# | |
[8C ################################################################# | |
[8C ################################################################# | |
[8C ################################################################# | |
[8C ################################################################# | |
[8C ################################################################# | |
[8C ################################################################# | |
[8C #### | |
[8C 1.1 MiB/s | |
done | |
Bytes transferred = 8637440 (83cc00 hex) | |
## Flattened Device Tree blob at 46000000 | |
Booting using the fdt blob at 0x46000000 | |
Using Device Tree in place at 0000000046000000, end 000000004600f43a | |
Starting kernel ... | |
clk u5_dw_i2c_clk_core already disabled | |
clk u5_dw_i2c_clk_apb already disabled | |
BC | |
NuttShell (NSH) NuttX-12.0.3 | |
nsh> [Kfree | |
total used free largest nused nfree | |
Kmem: 2065400 14600 2050800 2049440 50 3 | |
Page: 20971520 643072 20328448 20328448 | |
nsh> [Khello | |
Hello, World!! | |
i=0 | |
i=10 | |
i=20 | |
i=30 | |
i=40 | |
i=50 | |
i=60 | |
i=70 | |
i=80 | |
i=90 | |
i=100 | |
i=110 | |
i=120 | |
i=130 | |
i=140 | |
i=150 | |
i=160 | |
i=riscv_exception: EXCEPTION: Store/AMO access fault. MCAUSE: 0000000000000007, EPC: 0000000040206652, MTVAL: 0000000000000000 | |
riscv_exception: PANIC!!! Exception = 0000000000000007 | |
_assert: Current Version: NuttX 12.0.3 f38cdb0 Oct 10 2023 15:51:21 risc-v | |
_assert: Assertion failed panic: at file: common/riscv_exception.c:85 task: /system/bin/init process: /system/bin/init 0xc000004a | |
up_dump_register: EPC: 0000000040206652 | |
up_dump_register: A0: 0000000000000000 A1: 0000000000000000 A2: 0000000000001000 A3: 0000000000001000 | |
up_dump_register: A4: 0000000000000000 A5: 0000000000000000 A6: 0000000000000000 A7: 0000000000000000 | |
up_dump_register: T0: 0000000000000003 T1: 0000000000000007 T2: 0000000000000020 T3: 0000000000001000 | |
up_dump_register: T4: 0000000000000000 T5: 00000000000000ff T6: 000000000000000f | |
up_dump_register: S0: 00000000408af000 S1: 0000000000000001 S2: 00000000c0550000 S3: 0000000040409960 | |
up_dump_register: S4: ffffffffbfe00000 S5: ffffffffbfa00000 S6: 0000000000400000 S7: 0000000000100000 | |
up_dump_register: S8: 00000000c054f000 S9: 00000000000ffffe S10: 0000000000001000 S11: 0000000040a00000 | |
up_dump_register: SP: 000000004040c3d0 FP: 00000000408af000 TP: 0000000000000000 RA: 0000000040208ba8 | |
dump_stacks: ERROR: Stack pointer is not within the stack | |
dump_stack: IRQ Stack: | |
dump_stack: base: 0x40400290 | |
dump_stack: size: 00002048 | |
stack_dump: 0x40400720: 40400828 00000000 0000000a 00000000 40400828 00000000 40212de0 00000000 | |
stack_dump: 0x40400740: 404008d0 00000000 00000008 00000000 ffff9fef ffffffff 00004010 00000000 | |
stack_dump: 0x40400760: 404008b0 00000000 34303130 66666666 ffff9fef ffffffff 00004010 00000000 | |
stack_dump: 0x40400780: 00000039 00000000 40a00000 00000000 4040aa00 00000000 c0202c00 00000000 | |
stack_dump: 0x404007a0: 00000bc0 00000000 40401f90 00000000 00042120 00000002 c0202040 00000000 | |
stack_dump: 0x404007c0: 40400290 00000000 40225a40 00000000 40225d20 00000000 40400a80 00000000 | |
stack_dump: 0x404007e0: 40400848 00000000 40211404 00000000 00000000 00000000 40225a40 00000000 | |
stack_dump: 0x40400800: 40400868 00000000 00000060 00000000 40212da8 00000000 40212d42 00000000 | |
stack_dump: 0x40400820: 40206510 00000000 0000000a 00000000 40400820 00000000 40206718 00000000 | |
stack_dump: 0x40400840: 40206510 00000000 40400880 00000000 00000800 00000000 40206738 00000000 | |
stack_dump: 0x40400860: 40212da8 00000000 40400880 00000000 40206510 00000000 4020f5f6 00000000 | |
stack_dump: 0x40400880: 40225d20 00000000 40400860 00000000 40212da8 00000000 00000000 00000000 | |
stack_dump: 0x404008a0: 40400860 00000000 00000000 00000000 40212da8 00000000 00000000 00000000 | |
stack_dump: 0x404008c0: 00000001 00000000 00000000 00000000 40225d40 00000000 00000001 00000000 | |
stack_dump: 0x404008e0: 00000001 00000000 4040b810 00000000 00000000 00000000 4020f9a4 00000000 | |
stack_dump: 0x40400900: c000004a 00000000 deadbeef deadbeef deadbeef deadbeef 40a00000 00000000 | |
stack_dump: 0x40400920: 4040b810 00000000 4040c1c0 00000000 40219470 00000000 40223cf8 00000000 | |
stack_dump: 0x40400940: 00000055 00000000 7474754e ffff0058 bfe00000 ffffffff 40409960 00000000 | |
stack_dump: 0x40400960: c0550000 00000000 4040c1c0 00000000 404009d8 00000000 40211404 2e323100 | |
stack_dump: 0x40400980: 00332e30 deadbeef 40223cd0 00000000 3366beef 62646338 634f2030 30312074 | |
stack_dump: 0x404009a0: 32303220 35312033 3a31353a 00003132 40206510 00000000 0000000a 00000000 | |
stack_dump: 0x404009c0: 00000007 73697200 00762d63 00000000 40400058 00000000 40400a10 00000000 | |
stack_dump: 0x404009e0: 00001000 00000000 000ffffe 00000000 c054f000 00000000 00100000 00000000 | |
stack_dump: 0x40400a00: 00400000 00000000 bfa00000 ffffffff bfe00000 ffffffff 40409960 00000000 | |
stack_dump: 0x40400a20: c0550000 00000000 4040c1c0 00000000 00000007 00000000 402082a2 00000000 | |
stack_dump: 0x40400a40: c0100000 00000000 40401f90 00000000 4040c1c0 00000000 402009b6 00000000 | |
stack_dump: 0x40400a60: 4040c240 00000000 00000001 00000000 00000007 00000000 40200754 00000000 | |
dump_stack: Kernel Stack: | |
dump_stack: base: 0x4040aa00 | |
dump_stack: size: 00003072 | |
dump_stack: User Stack: | |
dump_stack: base: 0xc0202040 | |
dump_stack: size: 00003008 | |
stack_dump: 0xc02028a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 | |
stack_dump: 0xc02028c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 | |
stack_dump: 0xc02028e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 | |
stack_dump: 0xc0202900: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 | |
stack_dump: 0xc0202920: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 | |
stack_dump: 0xc0202940: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 | |
stack_dump: 0xc0202960: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 | |
stack_dump: 0xc0202980: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 | |
stack_dump: 0xc02029a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 | |
stack_dump: 0xc02029c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 | |
stack_dump: 0xc02029e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 | |
stack_dump: 0xc0202a00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 | |
stack_dump: 0xc0202a20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 | |
stack_dump: 0xc0202a40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 | |
stack_dump: 0xc0202a60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 | |
stack_dump: 0xc0202a80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 | |
stack_dump: 0xc0202aa0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 | |
stack_dump: 0xc0202ac0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 | |
stack_dump: 0xc0202ae0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 | |
stack_dump: 0xc0202b00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 | |
stack_dump: 0xc0202b20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 | |
stack_dump: 0xc0202b40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 | |
stack_dump: 0xc0202b60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 | |
stack_dump: 0xc0202b80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 | |
stack_dump: 0xc0202ba0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 | |
stack_dump: 0xc0202bc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 | |
stack_dump: 0xc0202be0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 | |
dump_tasks: PID GROUP PRI POLICY TYPE NPX STATE EVENT SIGMASK STACKBASE STACKSIZE USED FILLED COMMAND | |
dump_tasks: ---- --- --- -------- ------- --- ------- ---------- ---------------- 0x40400290 2048 936 45.7% irq | |
dump_task: 0 0 0 FIFO Kthread N-- Ready 0000000000000000 0x40407010 3056 832 27.2% Idle_Task | |
dump_task: 1 1 100 RR Kthread --- Waiting Semaphore 0000000000000000 0x4040a050 1968 704 35.7% lpwork 0x40401ae0 0x40401b08 | |
dump_task: 6 6 100 RR Task --- Running 0000000000000000 0xc0202030 2000 600 30.0% hello | |
dump_task: 3 3 100 RR Task --- Waiting Semaphore 0000000000000000 0xc0202040 3008 848 28.1% /system/bin/init | |
[7mReally kill this window [y/n][27m[K | |
[?1l>[61;1H | |
[?1049l[screen is terminating] | |
Script done on Tue Oct 10 17:54:07 2023 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment