Hi jayanta525, @jayanta525 I ported the rock-pi-e in openwrt, there still issues when boot with idbloader.img+uboot.itb, please refer to the relevant link:
OP pull: https://github.com/openwrt/openwrt/pull/2945
My repo: https://github.com/hbl0307106015/openwrt/tree/rk3328
Below is the error log:
U-Boot TPL 2020.04 (May 10 2020 - 06:47:07)
spl_early_init
rk3328_dmc_init phy ff400000 pctrl ff780000 grf ff100000 cru ff440000 msch ff720000 ddr_grf ff798000
Starting SDRAM initialization...
DDR3, 333MHz
BW=32 Col=10 Bk=8 CS0 Row=14 CS=1 Die BW=16 Size=512MB
SPL malloc() before relocation used 0x5e8 bytes (1 KB)
>>TPL: board_init_r()
spl_init
Trying to boot from BOOTROM
Returning to boot ROM...
<debug_uart>
spl:debug uart enabled in board_init_f
spl_early_init
clk_set_defaults()
clk_set_default_parents: could not read assigned-clock-parents for 3fc030
ofnode_read_prop: assigned-clock-rates: <not found>
fdtdec_get_addr_size_auto_parent: na=2, ns=2, fdtdec_get_addr_size_fixed: reg: addr=00000000x
ofnode_read_u32: reg-offset: (not found)
ofnode_read_u32: reg-shift: x (2)
ofnode_read_u32: reg-io-width: x (4)
fdtdec_get_int: #clock-cells: x (1)
fdtdec_get_addr_size_auto_parent: na=2, ns=2, fdtdec_get_addr_size_fixed: reg: addr=00000000x
clk_set_defaults(clock-controller@ff440000)
clk_set_default_parents: could not read assigned-clock-parents for 3fc2c0
ofnode_read_prop: assigned-clock-rates: <not found>
PLL at ff440000: fbdiv=75, refdiv=1, postdiv1=3, postdiv2=1, vco=1800000 khz, output=600000 khz
PLL at ff440060: fbdiv=96, refdiv=1, postdiv1=4, postdiv2=1, vco=2304000 khz, output=576000 khz
PLL at ff440040: fbdiv=99, refdiv=2, postdiv1=2, postdiv2=1, vco=1188000 khz, output=594000 khz
clk_set_defaults(clock-controller@ff440000)
clk_set_default_parents: could not read assigned-clock-parents for 3fc2c0
ofnode_read_prop: assigned-clock-rates: <not found>
clk_of_xlate_default(clk=3fbd78)
clk_request(dev=3fc2c0, clk=3fbd78)
clk_get_rate(clk=3fbd78)
ofnode_read_u32: clock-frequency: x (24000000)
clk_set_defaults(serial@ff130000)
clk_set_default_parents: could not read assigned-clock-parents for 3fc1d0
ofnode_read_prop: assigned-clock-rates: <not found>
U-Boot SPL 2020.04 (May 10 2020 - 06:47:07 +0000)
SPL malloc() before relocation used 0xbd0 bytes (2 KB)
>>SPL: board_init_r()
spl_init
board_spl_was_booted_from: brom_bootdevice_id 5 maps to '/rksdmmc@ff500000'
fdtdec_get_addr_size_auto_parent: na=2, ns=2, fdtdec_get_addr_size_fixed: reg: addr=00000000x
ofnode_read_u32: bus-width: x (4)
ofnode_read_bool: non-removable: false
ofnode_read_u32: fifo-depth: x (256)
ofnode_read_bool: fifo-mode: false
ofnode_read_bool: u-boot,spl-fifo-mode: true
ofnode_read_u32_array: clock-freq-min-max: fdtdec_get_int_array: clock-freq-min-max
get_prop_check_min_len: clock-freq-min-max
ofnode_read_u32: max-frequency: x (150000000)
clk_set_defaults(rksdmmc@ff500000)
clk_set_default_parents: could not read assigned-clock-parents for 3fc468
ofnode_read_prop: assigned-clock-rates: <not found>
fdtdec_get_int: #clock-cells: x (1)
clk_of_xlate_default(clk=3ff0000)
clk_request(dev=3fc2c0, clk=3ff0000)
clk_set_rate(clk=3ff0000, rate=400000)
fdtdec_get_addr_size_auto_parent: na=2, ns=2, fdtdec_get_addr_size_fixed: reg: addr=00000000x
ofnode_read_u32: bus-width: x (8)
ofnode_read_bool: non-removable: true
ofnode_read_u32: fifo-depth: x (256)
ofnode_read_bool: fifo-mode: false
ofnode_read_bool: u-boot,spl-fifo-mode: true
ofnode_read_u32_array: clock-freq-min-max: fdtdec_get_int_array: clock-freq-min-max
get_prop_check_min_len: clock-freq-min-max
ofnode_read_u32: max-frequency: x (150000000)
clk_set_defaults(rksdmmc@ff520000)
clk_set_default_parents: could not read assigned-clock-parents for 3fc790
ofnode_read_prop: assigned-clock-rates: <not found>
fdtdec_get_int: #clock-cells: x (1)
clk_of_xlate_default(clk=3ff00a8)
clk_request(dev=3fc2c0, clk=3ff00a8)
clk_set_rate(clk=3ff00a8, rate=400000)
Trying to boot from MMC1
blk_find_device: if_type=6, devnum=0: rksdmmc@ff500000.blk, 6, 0
clock is disabled (0Hz)
Buswidth = 0, clock: 0
Buswidth = 1, clock: 0
clock is enabled (400000Hz)
Buswidth = 1, clock: 400000
Sending CMD0
Sending CMD8
dwmci_send_cmd: Response Timeout.
Sending CMD55
Sending CMD41
Sending CMD55
dwmci_send_cmd: Response Timeout.
Sending CMD0
Sending CMD1
dwmci_send_cmd: Response Timeout.
Card did not respond to voltage select!
spl: mmc init failed with error: -95
Trying to boot from MMC1
blk_find_device: if_type=6, devnum=0: rksdmmc@ff500000.blk, 6, 0
clock is disabled (0Hz)
Buswidth = 1, clock: 0
Buswidth = 1, clock: 0
clock is enabled (400000Hz)
Buswidth = 1, clock: 400000
Sending CMD0
Sending CMD8
Sending CMD55
Sending CMD41
Sending CMD55
dwmci_send_cmd: Response Timeout.
Sending CMD0
Sending CMD1
dwmci_send_cmd: Response Timeout.
Card did not respond to voltage select!
spl: mmc init failed with error: -95
Trying to boot from MMC2
blk_find_device: if_type=6, devnum=1: rksdmmc@ff500000.blk, 6, 0
blk_find_device: if_type=6, devnum=1: rksdmmc@ff520000.blk, 6, 1
clock is disabled (0Hz)
Buswidth = 0, clock: 0
Buswidth = 1, clock: 0
clock is enabled (400000Hz)
Buswidth = 1, clock: 400000
Sending CMD0
Sending CMD8
dwmci_send_cmd: Response Timeout.
Sending CMD55
dwmci_send_cmd: Response Timeout.
Sending CMD0
Sending CMD1
dwmci_send_cmd: Response Timeout.
Card did not respond to voltage select!
spl: mmc init failed with error: -95
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###
<debug_uart>
U-Boot TPL 2020.04 (May 10 2020 - 06:47:07)
spl_early_init
rk3328_dmc_init phy ff400000 pctrl ff780000 grf ff100000 cru ff440000 msch ff720000 ddr_grf ff798000
Starting SDRAM initialization...
DDR3, 333MHz
BW=32 Col=10 Bk=8 CS0 Row=14 CS=1 Die BW=16 Size=512MB
SPL malloc() before relocation used 0x5e8 bytes (1 KB)
>>TPL: board_init_r()
spl_init
Trying to boot from BOOTROM
Returning to boot ROM...
<debug_uart>
spl:debug uart enabled in board_init_f
spl_early_init
clk_set_defaults()
clk_set_default_parents: could not read assigned-clock-parents for 3fc030
ofnode_read_prop: assigned-clock-rates: <not found>
fdtdec_get_addr_size_auto_parent: na=2, ns=2, fdtdec_get_addr_size_fixed: reg: addr=00000000x
ofnode_read_u32: reg-offset: (not found)
ofnode_read_u32: reg-shift: x (2)
ofnode_read_u32: reg-io-width: x (4)
fdtdec_get_int: #clock-cells: x (1)
fdtdec_get_addr_size_auto_parent: na=2, ns=2, fdtdec_get_addr_size_fixed: reg: addr=00000000x
clk_set_defaults(clock-controller@ff440000)
clk_set_default_parents: could not read assigned-clock-parents for 3fc2c0
ofnode_read_prop: assigned-clock-rates: <not found>
PLL at ff440000: fbdiv=75, refdiv=1, postdiv1=3, postdiv2=1, vco=1800000 khz, output=600000 khz
PLL at ff440060: fbdiv=96, refdiv=1, postdiv1=4, postdiv2=1, vco=2304000 khz, output=576000 khz
PLL at ff440040: fbdiv=99, refdiv=2, postdiv1=2, postdiv2=1, vco=1188000 khz, output=594000 khz
clk_set_defaults(clock-controller@ff440000)
clk_set_default_parents: could not read assigned-clock-parents for 3fc2c0
ofnode_read_prop: assigned-clock-rates: <not found>
clk_of_xlate_default(clk=3fbd78)
clk_request(dev=3fc2c0, clk=3fbd78)
clk_get_rate(clk=3fbd78)
ofnode_read_u32: clock-frequency: x (24000000)
clk_set_defaults(serial@ff130000)
clk_set_default_parents: could not read assigned-clock-parents for 3fc1d0
ofnode_read_prop: assigned-clock-rates: <not found>
U-Boot SPL 2020.04 (May 10 2020 - 06:47:07 +0000)
SPL malloc() before relocation used 0xbd0 bytes (2 KB)
>>SPL: board_init_r()
spl_init
board_spl_was_booted_from: brom_bootdevice_id 5 maps to '/rksdmmc@ff500000'
fdtdec_get_addr_size_auto_parent: na=2, ns=2, fdtdec_get_addr_size_fixed: reg: addr=00000000x
ofnode_read_u32: bus-width: x (4)
ofnode_read_bool: non-removable: false
ofnode_read_u32: fifo-depth: x (256)
ofnode_read_bool: fifo-mode: false
ofnode_read_bool: u-boot,spl-fifo-mode: true
ofnode_read_u32_array: clock-freq-min-max: fdtdec_get_int_array: clock-freq-min-max
get_prop_check_min_len: clock-freq-min-max
ofnode_read_u32: max-frequency: x (150000000)
clk_set_defaults(rksdmmc@ff500000)
clk_set_default_parents: could not read assigned-clock-parents for 3fc468
ofnode_read_prop: assigned-clock-rates: <not found>
fdtdec_get_int: #clock-cells: x (1)
clk_of_xlate_default(clk=3ff0000)
clk_request(dev=3fc2c0, clk=3ff0000)
clk_set_rate(clk=3ff0000, rate=400000)
fdtdec_get_addr_size_auto_parent: na=2, ns=2, fdtdec_get_addr_size_fixed: reg: addr=00000000x
ofnode_read_u32: bus-width: x (8)
ofnode_read_bool: non-removable: true
ofnode_read_u32: fifo-depth: x (256)
ofnode_read_bool: fifo-mode: false
ofnode_read_bool: u-boot,spl-fifo-mode: true
ofnode_read_u32_array: clock-freq-min-max: fdtdec_get_int_array: clock-freq-min-max
get_prop_check_min_len: clock-freq-min-max
ofnode_read_u32: max-frequency: x (150000000)
clk_set_defaults(rksdmmc@ff520000)
clk_set_default_parents: could not read assigned-clock-parents for 3fc790
ofnode_read_prop: assigned-clock-rates: <not found>
fdtdec_get_int: #clock-cells: x (1)
clk_of_xlate_default(clk=3ff00a8)
clk_request(dev=3fc2c0, clk=3ff00a8)
clk_set_rate(clk=3ff00a8, rate=400000)
Trying to boot from MMC1
blk_find_device: if_type=6, devnum=0: rksdmmc@ff500000.blk, 6, 0
clock is disabled (0Hz)
Buswidth = 0, clock: 0
Buswidth = 1, clock: 0
clock is enabled (400000Hz)
Buswidth = 1, clock: 400000
Sending CMD0
Sending CMD8
Sending CMD55
Sending CMD41
Sending CMD55
Sending CMD41
Sending CMD2
Sending CMD3
Sending CMD9
Sending CMD7
Sending CMD55
Sending CMD51
Sending CMD55
Sending CMD6
Buswidth = 4, clock: 400000
clock is enabled (25000000Hz)
Buswidth = 4, clock: 25000000
clk_set_rate(clk=3ff0000, rate=25000000)
spl: mmc boot mode: raw
blk_find_device: if_type=6, devnum=0: rksdmmc@ff500000.blk, 6, 0
Sending CMD16
Sending CMD17
dwmci_data_transfer: DATA ERROR!
hdr read sector 4000, count=0
mmc_load_image_raw_sector: mmc block read error
spl: mmc boot mode: fs
Trying to boot from MMC1
spl: mmc boot mode: raw
blk_find_device: if_type=6, devnum=0: rksdmmc@ff500000.blk, 6, 0
Sending CMD16
dwmci_send_cmd: Response Timeout.
Sending CMD16
dwmci_send_cmd: Response Timeout.
Sending CMD16
dwmci_send_cmd: Response Timeout.
Sending CMD16
dwmci_send_cmd: Response Timeout.
Sending CMD16
dwmci_send_cmd: Response Timeout.
Sending CMD16
dwmci_send_cmd: Response Timeout.
hdr read sector 4000, count=0
mmc_load_image_raw_sector: mmc block read error
spl: mmc boot mode: fs
Trying to boot from MMC2
spl: mmc boot mode: raw
blk_find_device: if_type=6, devnum=0: rksdmmc@ff500000.blk, 6, 0
Sending CMD16
dwmci_send_cmd: Response Timeout.
Sending CMD16
dwmci_send_cmd: Response Timeout.
Sending CMD16
dwmci_send_cmd: Response Timeout.
Sending CMD16
dwmci_send_cmd: Response Timeout.
Sending CMD16
dwmci_send_cmd: Response Timeout.
Sending CMD16
dwmci_send_cmd: Response Timeout.
hdr read sector 4000, count=0
mmc_load_image_raw_sector: mmc block read error
spl: mmc boot mode: fs
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###