STX7105(NEXTVOD) not booting
Rui-Xiang Guo <[email protected]> Sat, 27 Apr 2024 16:08:23 +0800
| Newsgroups | gmane.os.netbsd.ports.sh3 |
|---|---|
| Message-ID | <Ziyydw_iGL_60Upj@picohive> |
Hi,
The ub file is compiled from 10.0:
NetBSD 10.0 (NEXTVOD) #0: Sat Apr 27 13:05:38 CST 2024
text data bss dec hex filename
1874759 405144 90464 2370367 242b3f netbsd
/home/rxg/10.0/usr/src/../tool.evbsh3/bin/shle--netbsdelf-dbsym netbsd
# image NEXTVOD/netbsd.img
# u-boot NEXTVOD/netbsd.ub
image type: uimg
magic: 0x27051956
time: Sat Apr 27 13:05:41 2024
size: 2345496
load addr: 0x80000000
entry point: 0x80000040
data crc: 0x954e5317
os: 2 (netbsd)
arch: 9 (sh)
type: 2 (kernel)
comp: 0 (none)
name: Test 2024-04-27 13:05
header crc: 0xbbef501a
===> Kernels built from NEXTVOD:
/home/rxg/10.0/usr/src/../obj.evbsh3/sys/arch/evbsh3/compile/NEXTVOD/netbsd
===> build.sh ended: Sat Apr 27 13:05:41 CST 2024
===> Summary of results:
build.sh command: ./build.sh -U -u -O ../obj.evbsh3 -T ../tool.evbsh3 -j2 -m evbsh3 -a sh3el kernel=NEXTVOD
Then trying to load it from u-boot:
PDK7105> fatload usb 0:1 80000000 netbsd.ub
reading netbsd.ub
.....................................................................................................................................................................................................................................
2345560 bytes read
PDK7105> bootm 80000000
## Booting image at 80000000 ...
Image Name: Test 2024-04-27 13:05
Image Type: SuperH NetBSD Kernel Image (uncompressed)
Data Size: 2345496 Bytes = 2.2 MiB
Load Address: 80000000
Entry Point: 80000040
Verifying Checksum ... OK
XIP Kernel Image ... OK
## Transferring control to NetBSD stage-2 loader (at address 80000040) ...
It gets stuck here. Looks like the sh3 boot code does not support STX7105 well.
Or maybe I am missing something?
-rxg