其实就是把全志的启动源,转换为u-boot定义的启动源,这么做的原因主要是u-boot通过一个宏SPL_LOAD_IMAGE_METHOD来添加一个spl loader,而前面的函数boot_from_devices里就会比对这个数值,选择相应的spl loader,这个宏的原型如下 #defineSPL_LOAD_IMAGE_METHOD(_name,_priority,_boot_device,_method)\SPL_LOAD_IMAGE...
#define SPL_LOAD_IMAGE_METHOD(_name, _priority, _boot_device, _method) 该宏会定义一个spl_image_loader类型结构体表示一个加载方案,_boot_device是该方案的ID,会被填入结构体的boot_device字段;_method则是加载函数,被填入load_image字段。 (c)调用boot_from_devices()遍历各方案:该函数中会根据spl_boot...
|--> SPL_LOAD_IMAGE_METHOD("NAND", 1, BOOT_DEVICE_NAND, spl_nand_load_image); (common/spl/spl_nand.c) |--> loader->load_image(spl_image, &bootdev); spl_nand_load_image (common/spl/spl_nand.c) |--> nand_init(); (common/spl/spl_mmc.c) |--> spl_get_load_buffer(0, s...
SPL_LOAD_IMAGE_METHOD("XIP", 0, BOOT_DEVICE_XIP, spl_xip);4 changes: 2 additions & 2 deletions 4 common/spl/spl_ymodem.c Original file line numberDiff line numberDiff line change @@ -112,7 +112,7 @@ int spl_ymodem_load_image(struct spl_image_info *spl_image, addr += res; ...
load->read(load, dataptr, spl_image->size, map_sysmem(spl_image->load_addr, spl_image->size)); break;case IH_COMP_LZMA: return spl_load_legacy_lzma(spl_image, load, offset);default: debug("Compression method %s is not supported\n", genimg_get_comp_short_name(image_get_comp(hdr)...
|--> memset(&spl_image, '\0', sizeof(spl_image)); |--> board_boot_order(spl_boot_list); |--> boot_from_devices(common/spl/spl.c) |--> spl_ll_find_loader(common/spl/spl.c) |--> ll_entry_start(include/linker_lists.h) |--> SPL_LOAD_IMAGE_METHOD("NAND", 1, BOOT_DEVI...
Cardinality for annotation annotation for method method must be greater than 1 or equal to -1 to represent unbounded. CDISP7326E Cannot set cardinality for annotation annotation for method method as the setter method's type enforces cardinality of 1. CDISP7327E Optional attribute for annotation ...
|--> SPL_LOAD_IMAGE_METHOD("NAND", 1, BOOT_DEVICE_NAND, spl_nand_load_image); (common/spl/spl_nand.c) |--> loader->load_image(spl_image, &bootdev); spl_nand_load_image (common/spl/spl_nand.c) |--> nand_init(); (common/spl/spl_mmc.c) ...
0x00000001bfffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000040000000-0x00000001bfffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x00000001bfffffff] [ 0.000000] psci: probing for conduit m...
IH was performed using the peroxidase anti-peroxidase method as previously described.37,38 Primary antibodies used were rabbit anti-mSCGB1A1 (a kind gift of Barry Stripp)39 and rabbit anti-mBPIFA1 that was generated previously to an epitope localized in the N-terminal portion of the protein ...