| /u-boot/tools/ |
| A D | key2dtsi.py | 46 out.write('/ {\n') 47 out.write('\tsignature {\n') 48 out.write('\t\tkey-{} {{\n'.format(key_name)) 49 out.write('\t\t\tkey-name-hint = "{}";\n'.format(key_name)) 55 out.write('\t\t\trsa,n0-inverse = <0x{:x}>;\n'.format(n0_inverse)) 57 out.write('\t\t\trequired = "conf";\n') 59 out.write('\t\t\trequired = "image";\n') 61 out.write('\t\t\tu-boot,dm-spl;\n') 62 out.write('\t\t};\n') 63 out.write('\t};\n') [all …]
|
| /u-boot/test/dm/ |
| A D | mmc.c | 33 char write[4 * 512], read[4 * 512]; in dm_test_mmc_blk() local 40 for (i = 0; i < sizeof(write); i++) in dm_test_mmc_blk() 41 write[i] = i; in dm_test_mmc_blk() 42 ut_asserteq(4, blk_dwrite(dev_desc, 0, 4, write)); in dm_test_mmc_blk() 44 ut_asserteq_mem(write, read, sizeof(write)); in dm_test_mmc_blk() 47 memset(&write[512], '\0', 2 * 512); in dm_test_mmc_blk() 50 ut_asserteq_mem(write, read, sizeof(write)); in dm_test_mmc_blk()
|
| /u-boot/test/py/ |
| A D | multiplexed_log.py | 239 self.f.write('''\ 318 self.f.write('''\ 363 self.f.write('</pre>\n') 366 self.f.write('</div>\n') 367 self.f.write('</div>\n') 385 self.f.write('<pre>') 390 self.f.write('</a>') 392 self.f.write('</div>\n') 446 self.f.write('</div>\n') 447 self.f.write('</div>\n') [all …]
|
| /u-boot/board/synopsys/hsdk/ |
| A D | headerize-hsdk.py | 86 file.write(arc_id.to_bytes(2, byteorder='little')) 87 file.write(uboot_img_size.to_bytes(4, byteorder='little')) 88 file.write(check_sum.to_bytes(1, byteorder='little')) 89 file.write(image_copy_adr.to_bytes(4, byteorder='little')) 90 file.write(magic1.to_bytes(5, byteorder='big')) 91 file.write(jump_address.to_bytes(4, byteorder='little')) 95 file.write(0xFF.to_bytes(1, byteorder='little')) 96 file.write(flash_address.to_bytes(4, byteorder='little')) 98 file.write(flash_type.to_bytes(1, byteorder='little')) 103 fo.write(fi.read()) [all …]
|
| /u-boot/drivers/net/phy/ |
| A D | mscc.c | 300 bus->write(bus, phy, MDIO_DEVAD_NONE, MSCC_EXT_PAGE_ACCESS, in vsc8584_cmd() 303 bus->write(bus, phy, MDIO_DEVAD_NONE, MSCC_PHY_PROC_CMD, in vsc8584_cmd() 314 bus->write(bus, phy, MDIO_DEVAD_NONE, MSCC_EXT_PAGE_ACCESS, in vsc8584_cmd() 330 bus->write(bus, phy, MDIO_DEVAD_NONE, MSCC_EXT_PAGE_ACCESS, in vsc8584_micro_deassert_reset() 342 bus->write(bus, phy, MDIO_DEVAD_NONE, MSCC_INT_MEM_CNTL, in vsc8584_micro_deassert_reset() 354 bus->write(bus, phy, MDIO_DEVAD_NONE, MSCC_EXT_PAGE_ACCESS, in vsc8584_micro_deassert_reset() 369 bus->write(bus, phy, MDIO_DEVAD_NONE, MSCC_EXT_PAGE_ACCESS, in vsc8584_micro_assert_reset() 389 bus->write(bus, phy, MDIO_DEVAD_NONE, MSCC_PHY_PROC_CMD, in vsc8584_micro_assert_reset() 397 bus->write(bus, phy, MDIO_DEVAD_NONE, MSCC_EXT_PAGE_ACCESS, in vsc8584_micro_assert_reset() 610 bus->write(bus, phy, MDIO_DEVAD_NONE, MSCC_INT_MEM_CNTL, in vsc8584_patch_fw() [all …]
|
| /u-boot/board/synopsys/axs10x/ |
| A D | headerize-axs.py | 106 file.write(arc_id.to_bytes(2, byteorder='little')) 107 file.write(uboot_img_size.to_bytes(4, byteorder='little')) 108 file.write(check_sum.to_bytes(1, byteorder='little')) 109 file.write(image_copy_adr.to_bytes(4, byteorder='little')) 110 file.write(magic1.to_bytes(5, byteorder='big')) 111 for i in range(16): file.write(0x00.to_bytes(1, byteorder='little')) 112 for byte in magic2: file.write(byte.to_bytes(36, byteorder='big')) 114 file.write(0x00.to_bytes(1, byteorder='little')) 116 file.write(jump_address.to_bytes(4, byteorder='little')) 121 fo.write(fi.read()) [all …]
|
| /u-boot/scripts/ |
| A D | spdxcheck.py | 235 sys.stderr.write('stdin input "-" must be the only path argument\n') 251 sys.stderr.write('%s: %s\n' %(se.el.path, se.txt)) 253 sys.stderr.write('%s\n' %se.txt) 257 sys.stderr.write('FAIL: %s\n' %ex) 258 sys.stderr.write('%s\n' %traceback.format_exc()) 273 sys.stderr.write('path %s does not exist\n' %p) 280 sys.stderr.write('\n') 285 sys.stderr.write('\n') 286 sys.stderr.write('Files checked: %12d\n' %parser.checked) 294 sys.stderr.write('FAIL: %s\n' %ex) [all …]
|
| /u-boot/doc/ |
| A D | README.sata | 5 * Read/write raw blocks from/to SATA hard disk 17 1.1 How to raw write the kernel, file system, dtb to a SATA hard disk? 22 write kernel 24 => sata write 40000 0 2000 26 write ramdisk 28 => sata write 40000 2000 8000 30 write dtb 32 => sata write 40000 a000 1000
|
| A D | README.davinci.nand_spl | 8 we need a command, which switches between this two read/write 9 functions, so we can write the UBL header and the spl 16 between the two NAND read/write modes. 63 * we write before the real spl code 80 !! Don;t forget to switch to rbl nand read/write functions with 94 !! Don;t forget to switch to rbl nand read/write functions with 100 !! Don;t forget to switch to rbl nand read/write functions with 123 writeheader nandrbl rbl;nand erase 80000 ${pagesz};nand write 80000000 80000 ${pagesz};nandrbl uboot 124 writenand_spl nandrbl rbl;nand erase a0000 3000;nand write 80000800 a0000 3000;nandrbl uboot 125 writeuboot nandrbl uboot;nand erase c0000 5d000;nand write 80003800 c0000 5d000 [all …]
|
| /u-boot/doc/usage/cmd/ |
| A D | read.rst | 3 read and write commands 12 write <interface> <dev[:part|#partname]> <addr> <blk#> <cnt> 14 The read and write commands can be used for raw access to data in 28 write section in read and write commands 31 The write command is completely equivalent to the read command, except 44 write mmc 0#bootdata $loadaddr 2 1
|
| A D | efi.rst | 93 f: uncached, write-coalescing, write-through, write-back 94 rf: uncached, write-coalescing, write-through, write-back, needs runtime mapping 204 f: uncached, write-coalescing, write-through, write-back 205 rf: uncached, write-coalescing, write-through, write-back, needs runtime mapping
|
| A D | mbr.rst | 12 mbr write [interface] [device no] [partition list] 50 => mbr write mmc 0 69 The 'mbr write' command returns 0 on success write or 1 on failure. 85 | 0 | mbr write was succesful | 87 | 1 | mbr write failed |
|
| /u-boot/drivers/spi/ |
| A D | mxs_spi.c | 76 char *data, int length, int write, in mxs_spi_xfer_pio() argument 96 if (write) in mxs_spi_xfer_pio() 109 if (write) in mxs_spi_xfer_pio() 114 if (!write) { in mxs_spi_xfer_pio() 164 if (!write) in mxs_spi_xfer_dma() 173 if (write) in mxs_spi_xfer_dma() 192 if (write) in mxs_spi_xfer_dma() 250 if (!write) in mxs_spi_xfer_dma() 264 int write = 0; in mxs_spi_xfer() local 285 write = 1; in mxs_spi_xfer() [all …]
|
| /u-boot/board/sunxi/ |
| A D | README.nand | 7 read and write disturbs, data retention issues, bloks becoming 35 sunxi-fel write 0x4a000000 u-boot-dtb.bin 36 sunxi-fel write 0x43000000 spl/sunxi-spl-with-ecc.bin 46 Then write the SPL and its backup: 48 nand write.raw.noverify 0x43000000 0 40 49 nand write.raw.noverify 0x43000000 0x400000 40 51 And finally write the U-Boot binary: 52 nand write 0x4a000000 0x800000 0xc0000
|
| /u-boot/lib/zlib/ |
| A D | inffast.c | 83 unsigned write; /* window write index */ in inflate_fast() local 118 write = state->write; in inflate_fast() 204 if (write == 0) { /* very common case */ in inflate_fast() 214 else if (write < op) { /* wrap around window */ in inflate_fast() 215 from += wsize + write - op; in inflate_fast() 216 op -= write; in inflate_fast() 223 if (write < len) { /* some from start of window */ in inflate_fast() 224 op = write; in inflate_fast() 234 from += write - op; in inflate_fast()
|
| /u-boot/lib/ |
| A D | semihosting.c | 115 struct smh_rdwr_s write; in smh_write() local 119 write.fd = fd; in smh_write() 120 write.memp = (void *)memp; in smh_write() 121 write.len = len; in smh_write() 123 ret = smh_trap(SYSWRITE, &write); in smh_write()
|
| /u-boot/drivers/pci/ |
| A D | pci_compat.c | 28 PCI_HOSE_OP(write, byte, 8, u8) 29 PCI_HOSE_OP(write, word, 16, u16) 30 PCI_HOSE_OP(write, dword, 32, u32)
|
| /u-boot/drivers/axi/ |
| A D | axi_sandbox.c | 56 if (!ops || !ops->write) in axi_sandbox_write() 59 return ops->write(emul, address, data, size); in axi_sandbox_write() 69 .write = axi_sandbox_write,
|
| A D | axi-uclass.c | 29 if (!ops->write) in axi_write() 32 return ops->write(dev, address, data, size); in axi_write()
|
| /u-boot/doc/imx/common/ |
| A D | imx6.txt | 102 We can't use 'nand write' command to write SPL/firmware image directly 114 - followed by FCB setup, like first 2 blocks for FCB/DBBT write, 116 - write firmware at FW1 block and 117 - finally write fcb/dttb in first 2 block. 136 - write FW/SPL in FW1 137 - write FCB/DBBT in first 2 blocks 139 step-1: write SPL 147 NAND fw write: 0x80000 offset, 0xb000 bytes written: OK 149 step-2: write u-boot-dtb.img 160 icorem6qdl> nand write ${loadaddr} uboot ${filesize} [all …]
|
| /u-boot/drivers/misc/ |
| A D | vexpress_config.c | 32 bool write, void *buf, int size) in vexpress_config_exec() argument 38 if (!write) { in vexpress_config_exec() 59 if (!write) in vexpress_config_exec() 89 .write = vexpress_config_write,
|
| /u-boot/drivers/power/ |
| A D | power_spi.c | 19 static u32 pmic_reg(struct pmic *p, u32 reg, u32 *val, u32 write) in pmic_reg() argument 38 pmic_tx = p->hw.spi.prepare_tx(reg, val, write); in pmic_reg() 46 if (write) { in pmic_reg()
|
| /u-boot/board/armadeus/opos6uldev/ |
| A D | opos6uldev.env | 44 if mmc write ${loadaddr} 0x2 ${sz}; then 54 if mmc write ${loadaddr} 0x8a ${sz}; then 80 if mmc write ${loadaddr} 0x40800 ${nbblocks}; then 90 if mmc write ${loadaddr} 0x800 ${nbblocks}; then 101 if mmc write ${loadaddr} 0 ${nbblocks}; then 111 mmc write ${loadaddr} 0 0x1000; 112 mmc write ${loadaddr} 0x800 0x1000; 113 mmc write ${loadaddr} 0x40800 0x1000; 114 mmc write ${loadaddr} 0x440800 0x1000;
|
| /u-boot/test/py/tests/test_efi_bootmgr/ |
| A D | conftest.py | 27 file.write("initrd 1") 30 file.write("initrd 2")
|
| /u-boot/test/py/tests/test_eficonfig/ |
| A D | conftest.py | 29 file.write("initrd 1") 32 file.write("initrd 2")
|