Closed cloverpop closed 6 years ago
I updated the hikey960 kernel recently and found it fails to re-generate the dt.img
./mkdtimg -d hi3660-hikey960.dtb -s 2048 -c -o dt_test.img Traceback (most recent call last): File "./mkdtimg", line 159, in main() File "./mkdtimg", line 153, in main dtimg_head_info = dt_head_info('HSDT', dtimg_version, dtb_count) TypeError: expected bytes, str found
This is because you are using python 3.x. Try python 2.7
Thanks. It resolved.
I updated the hikey960 kernel recently and found it fails to re-generate the dt.img
./mkdtimg -d hi3660-hikey960.dtb -s 2048 -c -o dt_test.img Traceback (most recent call last): File "./mkdtimg", line 159, in
main()
File "./mkdtimg", line 153, in main
dtimg_head_info = dt_head_info('HSDT', dtimg_version, dtb_count)
TypeError: expected bytes, str found