Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

T113-S3 好像与F133有相同的ID #23

Closed
mangobuge opened this issue Feb 13, 2022 · 6 comments
Closed

T113-S3 好像与F133有相同的ID #23

mangobuge opened this issue Feb 13, 2022 · 6 comments

Comments

@mangobuge
Copy link

$ ./xfel.exe version
AWUSBFEX soc=0x00185900(D1/F133) 0x00000001 ver=0x0001 0x44 0x08 scratchpad=0x00045000
$ ./xfel.exe sid
9040630008144c14025261504b6b184b

@aozima
Copy link
Contributor

aozima commented Feb 13, 2022

估计还有别的地方可以判断,不然payload不能跑。

@jianjunjiang
Copy link
Member

参考下R528的检测机制,判断下0地址的机器码

static int chip_detect(struct xfel_ctx_t * ctx, uint32_t id)
{
	if(id == 0x00185900)
	{
		/*
		 * Dual-Core ARM Cortex-A7
		 */
		if(R32(0x00000000) == 0xea000019)
			return 1;
	}
	return 0;
}

@mangobuge
Copy link
Author

果然,和R528一样:
$ ./xfel.exe hexdump 0x0 4
00000000: 19 00 00 ea

@jianjunjiang
Copy link
Member

V1.2.5版本支持R528-S3和T113-S3 DDR 初始化命令

xfel ddr r528-s3
xfel ddr t113-s3

1 similar comment
@jianjunjiang
Copy link
Member

V1.2.5版本支持R528-S3和T113-S3 DDR 初始化命令

xfel ddr r528-s3
xfel ddr t113-s3

@jianjunjiang
Copy link
Member

V1.2.5版本镜像,支持T113-S3
https://github.com/xboot/xfel/releases/tag/v1.2.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants