Firefly开源社区

打印 上一主题 下一主题

[Linux] PX30 linux 256MB DDR3 UBOOT启动不了

43

积分

0

威望

0

贡献

技术小白

积分
43

PX30 linux 256MB DDR3 UBOOT启动不了

发表于 2021-6-10 17:30:02      浏览:4525 | 回复:0        打印      只看该作者   [复制链接] 楼主
硬件平台:firefly px30
SDK: firefly px30 linux sdk
问题描述:更换板子DDR容量为256MB 发现uboot启动不了,未更换前可以正常启动,log如下:
  1. @▒▒L▒▒▒▒▒▒DDR V1.15 20200511
  2. D3,256MB,333MHz
  3. bw      col     bk      row     cs      dbw
  4. 32      10      8       13      1       16
  5. OUT
  6. Boot1 Release Time: Nov 20 2019 15:02:03, version: 1.22
  7. chip_id:50583330_0,0
  8. SdmmcInit=0 NOT PRESENT
  9. ...2578 @ nand_flash_init
  10. ...nandc_init enter... 00000000ff3b0000
  11. 0:80f00 2081 101003 27 200
  12. g_nandc_ver...9
  13. mmc Ext_csd, ret=0 ,
  14. Ext[226]=20, bootSize=2000,
  15.                         Ext[215]=0, Ext[214]=74, Ext[213]=80, Ext[212]=0,cap =748000 REL=1f
  16. mmc2:cmd19,100
  17. emmc bus: 0x8
  18. SdmmcInit=2 0
  19. BootCapSize=2000
  20. UserCapSize=3728MB
  21. FwPartOffset=2000 , 2000
  22. UsbBoot ...94285
  23. powerOn 747066
  24. SoftReset, 24184046 us

  25. DDR V1.15 20200511
  26. SRX
  27. D3,256MB,333MHz
  28. bw      col     bk      row     cs      dbw
  29. 32      10      8       13      1       16
  30. OUT
  31. Boot1 Release Time: Nov 20 2019 14:41:00, version: 1.22
  32. chip_id:50583330_0,0
  33. ChipType = 0x12, 458
  34. mmc2:cmd19,100
  35. SdmmcInit=2 0
  36. BootCapSize=2000
  37. UserCapSize=3728MB
  38. FwPartOffset=2000 , 2000
  39. SdmmcInit=0 NOT PRESENT
  40. StorageInit ok = 9215
  41. SecureMode = 0
  42. Secure read PBA: 0x4
  43. Secure read PBA: 0x404
  44. Secure read PBA: 0x804
  45. Secure read PBA: 0xc04
  46. Secure read PBA: 0x1004
  47. SecureInit ret = 0, SecureMode = 0
  48. atags_set_bootdev: ret:(0)
  49. GPT part:  0, name:            uboot, start:0x4000, size:0x2000
  50. GPT part:  1, name:            trust, start:0x6000, size:0x2000
  51. GPT part:  2, name:             misc, start:0x8000, size:0x2000
  52. GPT part:  3, name:             boot, start:0xa000, size:0x10000
  53. GPT part:  4, name:         recovery, start:0x1a000, size:0x10000
  54. GPT part:  5, name:             fpga, start:0x3a000, size:0x10000
  55. GPT part:  6, name:           rootfs, start:0x5a000, size:0x200000
  56. GPT part:  7, name:         userdata, start:0x25a000, size:0x4edfdf
  57. find part:uboot OK. first_lba:0x4000.
  58. find part:trust OK. first_lba:0x6000.
  59. LoadTrust Addr:0x6000
  60. No find bl30.bin
  61. Load uboot, ReadLba = 4000
  62. Load OK, addr=0x200000, size=0xd6430
  63. RunBL31 0x40000 @ 71251 us
  64. INFO:    Preloader serial: 2
  65. NOTICE:  BL31: v1.3(debug):857e9c1b4
  66. NOTICE:  BL31: Built : 11:50:33, Aug 21 2020
  67. NOTICE:  BL31:Rockchip release version: v1.0
  68. INFO:    ARM GICv2 driver initialized
  69. INFO:    Using opteed sec cpu_context!
  70. INFO:    boot cpu mask: 1
  71. INFO:    plat_rockchip_pmu_init: pd status f00e
  72. INFO:    BL31: Initializing runtime services
  73. INFO:    BL31: Initializing BL32
  74. I/TC:
  75. I/TC: Start rockchip platform init
  76. I/TC: Rockchip release version: 1.1
  77. I/TC: OP-TEE version: 3.6.0-284-g82765277 #12 Thu Sep 17 03:47:31 UTC 2020 aarch64
  78. I/TC: Initialized
  79. INFO:    BL31: Preparing for EL3 exit to normal world
  80. INFO:    Entry point address = 0x200000
  81. INFO:    SPSR = 0x3c9


  82. U-Boot 2017.09 (May 29 2021 - 17:36:04 +0800)

  83. Model: Rockchip PX30 EVB
  84. PreSerial: 2
  85. DRAM:  224 MiB
  86. Sysmem: init
  87. ERROR: Failed to allocate 0xe226980 bytes below 0x10000000.
  88. Sysmem Error: Failed to alloc "U-Boot" at 0x01dd9680 - 0x10000000

  89. sysmem_dump_all:
  90.     --------------------------------------------------------------------
  91.     memory.rgn[0].addr     = 0x00200000 - 0x08400000 (size: 0x08200000)
  92.     memory.rgn[1].addr     = 0x0a200000 - 0x10000000 (size: 0x05e00000)

  93.     memory.total           = 0x0e000000 (224 MiB. 0 KiB)
  94.     --------------------------------------------------------------------


  95.     framework malloc_r     = 192 MiB
  96.     framework malloc_f     =   8 KiB

  97.     allocated.total        = 0x00000000 (0 MiB. 0 KiB)
  98.     --------------------------------------------------------------------
  99.     LMB.allocated[0].addr  = 0x00000000 - 0x00000000 (size: 0x00000000)

  100.     reserved.core.total    = 0x00000000 (0 MiB. 0 KiB)
  101.     --------------------------------------------------------------------

  102. Sysmem Error: Failed to reserve sysmem for U-Boot framework

  103. sysmem_dump_all:
  104.     --------------------------------------------------------------------
  105.     memory.rgn[0].addr     = 0x00200000 - 0x08400000 (size: 0x08200000)
  106.     memory.rgn[1].addr     = 0x0a200000 - 0x10000000 (size: 0x05e00000)

  107.     memory.total           = 0x0e000000 (224 MiB. 0 KiB)
  108.     --------------------------------------------------------------------


  109.     framework malloc_r     = 192 MiB
  110.     framework malloc_f     =   8 KiB

  111.     allocated.total        = 0x00000000 (0 MiB. 0 KiB)
  112.     --------------------------------------------------------------------
  113.     LMB.allocated[0].addr  = 0x00000000 - 0x00000000 (size: 0x00000000)

  114.     reserved.core.total    = 0x00000000 (0 MiB. 0 KiB)
  115.     --------------------------------------------------------------------

  116. Sysmem Warn: Maybe malloc size 192 MiB is too large?

  117. initcall sequence 00000000002922a8 failed at call 00000000002788b4 (err=-12)
  118. ### ERROR ### Please RESET the board ###

复制代码




回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表