Home
last modified time | relevance | path

Searched refs:read (Results 1 – 25 of 452) sorted by relevance

12345678910>>...19

/rk3399_rockchip-uboot/scripts/
H A Dunpack_bootimg42 file_out.write(bootimage.read(size))
181 info.boot_magic = unpack('8s', args.boot_img.read(8))[0].decode()
183 kernel_ramdisk_second_info = unpack('9I', args.boot_img.read(9 * 4))
196 os_version_patch_level = unpack('I', args.boot_img.read(1 * 4))[0]
209 args.boot_img.read(16))[0].decode())
210 info.cmdline = cstr(unpack('512s', args.boot_img.read(512))[0].decode())
211 args.boot_img.read(32) # ignore SHA
213 args.boot_img.read(1024))[0].decode())
216 args.boot_img.read(1536))[0].decode())
219 info.recovery_dtbo_size = unpack('I', args.boot_img.read(1 * 4))[0]
[all …]
/rk3399_rockchip-uboot/tools/dtoc/
H A Dtest_dtoc.py127 lines = infile.read().splitlines()
132 lines = infile.read().splitlines()
141 data = infile.read()
165 data = infile.read()
243 data = infile.read()
255 data = infile.read()
305 data = infile.read()
316 data = infile.read()
335 data = infile.read()
350 data = infile.read()
[all …]
/rk3399_rockchip-uboot/drivers/mtd/nand/raw/
H A Dnand_spl_loaders.c76 int page, read; in nand_spl_read_block() local
91 read = min(len, CONFIG_SYS_NAND_PAGE_SIZE - offset); in nand_spl_read_block()
92 memcpy(dst, scratch_buf + offset, read); in nand_spl_read_block()
96 read = CONFIG_SYS_NAND_PAGE_SIZE; in nand_spl_read_block()
99 len -= read; in nand_spl_read_block()
100 dst += read; in nand_spl_read_block()
H A Dlpc32xx_nand_slc.c168 int read) in lpc32xx_nand_dma_configure() argument
201 if (read) { in lpc32xx_nand_dma_configure()
244 dmalist_cur->dma_src = (read ? (dmasrc) : (dmasrc + (i*256))); in lpc32xx_nand_dma_configure()
245 dmalist_cur->dma_dest = (read ? (dmadst + (i*256)) : dmadst); in lpc32xx_nand_dma_configure()
264 if (read) { in lpc32xx_nand_dma_configure()
283 int len, int read) in lpc32xx_nand_xfer() argument
290 config = (read ? DMAC_CHAN_FLOW_D_P2M : DMAC_CHAN_FLOW_D_M2P) | in lpc32xx_nand_xfer()
291 (read ? DMAC_DEST_PERIP(0) : DMAC_DEST_PERIP(DMA_PERID_NAND1)) | in lpc32xx_nand_xfer()
292 (read ? DMAC_SRC_PERIP(DMA_PERID_NAND1) : DMAC_SRC_PERIP(0)) | in lpc32xx_nand_xfer()
296 lpc32xx_nand_dma_configure(chip, buf, len, read); in lpc32xx_nand_xfer()
[all …]
/rk3399_rockchip-uboot/doc/SPI/
H A Dstatus.txt12 - Added memory_mapped support for read operations.
14 - Extended read commands support(dual read, dual IO read)
16 - Quad Read support(quad fast read, quad IO read)
H A DREADME.ti_qspi_flash6 dual and quad read access to external spi devices. The module
18 will be changed to qspi boot. Then, the ROM code will read MLO
20 execute it after storing it in SDRAM. Then, the MLO will read
31 Memory mapped read mode
34 controller is switched to memory mapped port for data read.
/rk3399_rockchip-uboot/drivers/i2c/
H A Dihs_i2c.c56 static int wait_for_int(bool read) in wait_for_int() argument
63 | (read ? I2CINT_RECEIVE_EV : I2CINT_TRANSMIT_EV)))) { in wait_for_int()
74 static int ihs_i2c_transfer(uchar chip, uchar *buffer, int len, bool read, in ihs_i2c_transfer() argument
83 if (!read && len) { in ihs_i2c_transfer()
93 | (read ? 0 : I2CMB_WRITE) in ihs_i2c_transfer()
98 if (wait_for_int(read)) in ihs_i2c_transfer()
101 if (read) { in ihs_i2c_transfer()
136 int alen, uchar *buffer, int len, bool read) in ihs_i2c_access() argument
147 if (ihs_i2c_transfer(chip, buffer, transfer, read, in ihs_i2c_access()
/rk3399_rockchip-uboot/lib/avb/libavb_user/
H A DKconfig2 bool "Android AVB read/write hardware"
5 read/write hardware image, like vbmeta, misc, and
21 bool "Android AVB read/write hardware for spl"
24 read/write hardware image, like vbmeta, misc, and
29 bool "Android AVB read/write hardware for tpl"
32 read/write hardware image, like vbmeta, misc, and
/rk3399_rockchip-uboot/arch/arm/dts/
H A Dsocfpga_cyclone5_vining_fpga.dts79 m25p,fast-read;
82 read-delay = <4>; /* delay value in read data capture register */
96 m25p,fast-read;
99 read-delay = <4>; /* delay value in read data capture register */
H A Dkeystone-k2l-evm.dts56 ti,cs-read-hold-ns = <6>;
57 ti,cs-read-strobe-ns = <23>;
58 ti,cs-read-setup-ns = <9>;
81 read-only;
87 read-only;
105 m25p,fast-read;
111 read-only;
H A Dkeystone-k2e-evm.dts79 ti,cs-read-hold-ns = <6>;
80 ti,cs-read-strobe-ns = <23>;
81 ti,cs-read-setup-ns = <9>;
104 read-only;
110 read-only;
128 m25p,fast-read;
134 read-only;
H A Dkeystone-k2hk-evm.dts100 ti,cs-read-hold-ns = <6>;
101 ti,cs-read-strobe-ns = <23>;
102 ti,cs-read-setup-ns = <9>;
125 read-only;
131 read-only;
156 m25p,fast-read;
162 read-only;
/rk3399_rockchip-uboot/doc/
H A DREADME.sata6 * ext2load to read a file from ext2 file system
8 1.0 How to read the SATA hard disk's information?
34 1.2 How to raw read the kernel, file system, dtb from a SATA hard disk?
37 => sata read 200000 0 2000
40 => sata read 1000000 2000 8000
43 => sata read 2000000 a000 1000
H A DREADME.ext41 U-Boot supports access of both ext2 and ext4 filesystems, either in read-only
2 mode or in read-write mode.
7 #define CONFIG_FS_EXT4 (for read-only)
8 #define CONFIG_EXT4_WRITE (for read-write)
62 3. To read and load a file from an ext4-formatted partition to RAM, run:
/rk3399_rockchip-uboot/drivers/dfu/
H A DKconfig18 This option enables using DFU to read and write to MMC based storage.
23 This option enables using DFU to read and write to NAND based
29 This option enables using DFU to read and write to MTD based
35 This option enables using DFU to read and write RAM on the target.
40 This option enables using DFU to read and write to SPI flash based
/rk3399_rockchip-uboot/drivers/mtd/onenand/
H A Donenand_spl.c134 int page, read; in onenand_spl_read_block() local
153 read = min(len, psize - offset); in onenand_spl_read_block()
154 memcpy(dst, scratch_buf + offset, read); in onenand_spl_read_block()
158 read = psize; in onenand_spl_read_block()
161 len -= read; in onenand_spl_read_block()
162 dst += read; in onenand_spl_read_block()
/rk3399_rockchip-uboot/arch/arm/lib/
H A Dsemihosting.c93 } read; in smh_read() local
97 read.fd = fd; in smh_read()
98 read.memp = memp; in smh_read()
99 read.len = len; in smh_read()
101 ret = smh_trap(SYSREAD, &read); in smh_read()
/rk3399_rockchip-uboot/drivers/pci/
H A Dpci_compat.c25 PCI_HOSE_OP(read, byte, 8, u8 *)
26 PCI_HOSE_OP(read, word, 16, u16 *)
27 PCI_HOSE_OP(read, dword, 32, u32 *)
/rk3399_rockchip-uboot/common/spl/
H A Dspl_rkfw.c140 ret = info->read(info, image_sector + sect_off, in load_image()
181 if (blkcnt != info->read(info, sect_addr, blkcnt, &hdr)) in rkfw_load_trust()
224 ret = info->read(info, sect_addr, blkcnt, &hdr); in rkfw_load_trust()
238 ret = info->read(info, sect_addr, blkcnt, load_addr); in rkfw_load_trust()
266 ret = info->read(info, sect_addr, blkcnt, &hdr); in rkfw_load_uboot()
278 ret = info->read(info, sect_addr, blkcnt, load_addr); in rkfw_load_uboot()
313 ret = info->read(info, image_sector, cnt, (void *)hdr); in rkfw_load_kernel()
336 ret = info->read(info, image_sector, cnt, in rkfw_load_kernel()
339 ret = info->read(info, image_sector, cnt, (void *)CONFIG_SPL_KERNEL_ADDR); in rkfw_load_kernel()
365 ret = info->read(info, (ramdisk_sector >> 9) + image_sector, in rkfw_load_kernel()
[all …]
/rk3399_rockchip-uboot/drivers/rng/
H A Drng-uclass.c14 if (!ops->read) in dm_rng_read()
17 return ops->read(dev, buffer, size); in dm_rng_read()
/rk3399_rockchip-uboot/drivers/ram/
H A Dramdisk-uclass.c25 if (!ops->read) in ramdisk_bread()
28 return ops->read(desc, start, blkcnt, dst); in ramdisk_bread()
67 .read = ramdisk_bread,
/rk3399_rockchip-uboot/drivers/misc/
H A Di2c_eeprom.c17 if (!ops->read) in i2c_eeprom_read()
20 return ops->read(dev, offset, buf, size); in i2c_eeprom_read()
46 .read = i2c_eeprom_std_read,
/rk3399_rockchip-uboot/lib/avb/rk_avb_user/
H A DKconfig5 read/write hardware image, like vbmeta, misc, and
13 read/write hardware image, like vbmeta, misc, and
21 read/write hardware image, like vbmeta, misc, and
/rk3399_rockchip-uboot/drivers/spmi/
H A Dspmi-uclass.c21 if (!ops || !ops->read) in spmi_reg_read()
24 return ops->read(dev, usid, pid, reg); in spmi_reg_read()
/rk3399_rockchip-uboot/drivers/mtd/spi/
H A Dsf-uclass.c18 return log_ret(sf_get_ops(dev)->read(dev, offset, len, buf)); in spi_flash_read_dm()
94 if (ops->read) in spi_flash_post_bind()
95 ops->read += gd->reloc_off; in spi_flash_post_bind()

12345678910>>...19