This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

怎么修改pci,bar的基地址?

Other Parts Discussed in Thread: AM5728

[    0.603396] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff]    
[    0.603411] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff] 

在启动打印信息中看,bar0 只有1M的空间,我想assigned[mem 0x21000000-0x21ffffff] 即16M,怎么操作呢?几乎把内核关于pci的源码查遍了,也没有找到相关代码,不知哪位工程师可以指点一下,可以修改bar,谢谢!