@awwwwa
使用python3的话repo会直接报错无法执行,使用python2的话可以执行但是结果和上面一样的
fantasy@fantasy:~/tina-d1-h$ git --version
git version 2.34.1
fantasy@fantasy:~/tina-d1-h$ python2 --version
Python 2.7.18
@awwwwa
使用python3的话repo会直接报错无法执行,使用python2的话可以执行但是结果和上面一样的
fantasy@fantasy:~/tina-d1-h$ git --version
git version 2.34.1
fantasy@fantasy:~/tina-d1-h$ python2 --version
Python 2.7.18
国内镜像源安装的repo,在输入账号和密码后报错,无法通过验证
fantasy@fantasy:~/tina-d1-h$ repo init -u https://sdk.aw-ol.com/git_repo/D1_Tina_Open/manifest.git -b master -m tina-d1-h.xml
repo: reusing existing repo client checkout in /home/fantasy/tina-d1-h
Username for 'https://sdk.aw-ol.com': fantasya
Password for 'https://fantasya@sdk.aw-ol.com':
Traceback (most recent call last):
File "/home/fantasy/tina-d1-h/.repo/repo/main.py", line 896, in <module>
_Main(sys.argv[1:])
File "/home/fantasy/tina-d1-h/.repo/repo/main.py", line 861, in _Main
result = repo._Run(name, gopts, argv) or 0
File "/home/fantasy/tina-d1-h/.repo/repo/main.py", line 293, in _Run
result = run()
File "/home/fantasy/tina-d1-h/.repo/repo/main.py", line 276, in <lambda>
run = lambda: self._RunLong(name, gopts, argv) or 0
File "/home/fantasy/tina-d1-h/.repo/repo/main.py", line 450, in _RunLong
execute_command()
File "/home/fantasy/tina-d1-h/.repo/repo/main.py", line 416, in execute_command
execute_command_helper()
File "/home/fantasy/tina-d1-h/.repo/repo/main.py", line 382, in execute_command_helper
result = cmd.Execute(copts, cargs)
File "/home/fantasy/tina-d1-h/.repo/repo/subcmds/init.py", line 393, in Execute
self._ConfigureUser(opt)
File "/home/fantasy/tina-d1-h/.repo/repo/subcmds/init.py", line 210, in _ConfigureUser
name = self._Prompt("Your Name", mp.UserName)
File "/home/fantasy/tina-d1-h/.repo/repo/project.py", line 756, in UserName
self._LoadUserIdentity()
File "/home/fantasy/tina-d1-h/.repo/repo/project.py", line 769, in _LoadUserIdentity
u = self.bare_git.var("GIT_COMMITTER_IDENT")
File "/home/fantasy/tina-d1-h/.repo/repo/project.py", line 3701, in runner
p.Wait()
File "/home/fantasy/tina-d1-h/.repo/repo/git_command.py", line 402, in Wait
raise GitCommandError(
git_command.GitCommandError: GitCommandError: git command failure
Project: manifests
Args: var GIT_COMMITTER_IDENT
Stdout:
None
Stderr:
Committer identity unknown
fantasy@fantasy:~/tina-d1-h$ python --version
Python 3.10.12
@efancier 声卡驱动有包含吗,目前用不上eth,准备复用为普通io,目前编译启动后系统里面alsa找不到声卡
@whycanservice2 mipi屏幕换成pd20了,目前按上面所说修改时序后可以进入系统,但是无法显示,dma分配内存报错,需要进一步排除屏幕链接问题,目前使用杜邦线可能会有问题,在等pcb
@whycanservice2
我把initcall输出打开了,这边可以看见有一个地方申请内存失败了
[ 3.356991] initcall mbus_pmu_init+0x0/0x38 returned 0 after 7039 usecs
[ 3.363625] calling disp_module_init+0x0/0x120 @ 1
[ 3.368524] [DISP]disp_module_init
[ 3.372410] disp 5000000.disp: Adding to iommu group 0
[ 3.378104] [DISP] parser_disp_init_para,line:1326:
[ 3.378108] of_property_read screen1_output_type fail
[ 3.404294] display_fb_request,fb_id:0
[ 3.408094] [DISP] __disp_ion_alloc_coherent,line:1545:
[ 3.408100] __disp_ion_alloc_coherent: ion_alloc failed, size=0 dmabuf=0xffffffea
[ 3.420837] [DISP] disp_ion_malloc,line:1615:
[ 3.420840] fail to alloc ion, ret=-2
[ 3.428875] [DISP] fb_map_video_memory,line:127:
[ 3.428877] disp_malloc fail!
[ 3.436811] disp_al_manager_apply ouput_type:0
[ 3.441766] probe of 5000000.disp returned 1 after 69427 usecs
[ 3.447663] [DISP] lcd_clk_config,line:774:
[ 3.447673] disp 0, clk: pll(408000000),clk(408000000),dclk(34000000) dsi_rate(34000000)
[ 3.447673] clk real:pll(408000000),clk(408000000),dclk(102000000) dsi_rate(150000000)
[ 3.468515] [DISP]disp_module_init finish
[ 3.472557] initcall disp_module_init+0x0/0x120 returned 0 after 101584 usecs
[ 3.479750] calling of_fixed_factor_clk_driver_init+0x0/0x10 @ 1
[ 3.486028] initcall of_fixed_factor_clk_driver_init+0x0/0x10 returned 0 after 175 usecs
[ 3.494166] [DISP] disp_lcd_enable,line:2148:
[ 3.494169] disp_lcd_enable: lcd_clk_enable ret:
[ 3.498560] calling of_fixed_clk_driver_init+0x0/0x10 @ 1
[ 3.508877] initcall of_fixed_clk_driver_init+0x0/0x10 returned 0 after 137 usecs
[ 3.516368] calling gpio_clk_driver_init+0x0/0x10 @ 1
[ 3.521682] initcall gpio_clk_driver_init+0x0/0x10 returned 0 after 143 usecs
@whycanservice2 后面修改成PD20也是一样,SPI全部都被禁用掉了,uboot和内核设备树全是disable,我是用TF卡进行启动的