kendryte / k230_sdk

Kendryte K230 SDK
BSD 2-Clause "Simplified" License
172 stars 39 forks source link

[other]: source of `tools/genimage` #18

Closed yf13 closed 1 year ago

yf13 commented 1 year ago

Other

It seems that v1.0 added binary tools/genimage command and dropped the original tools/gen_image.sh script. Can you teach if this tool is the same as this one? if so, maybe we don't need check-in the binary file but reuse the one generated in buildroot-ext/host/bin folder?

wangjianxin-canaan commented 1 year ago

Other

It seems that v1.0 added binary tools/genimage command and dropped the original tools/gen_image.sh script. Can you teach if this tool is the same as this one? if so, maybe we don't need check-in the binary file but reuse the one generated in buildroot-ext/host/bin folder?

yes, tools/genimage is the same as https://github.com/pengutronix/genimage.do not need check the binary file. The reason for this change is that when only rtt system can uncompile buildroot.

yf13 commented 1 year ago

@zhangxiaojingCAN thanks for the explanations. Maybe we can also consider putting genimage in the docker image so that we can start building RTOS stuffs without having to go through build root.