我在移植ixp425 arm芯片的时候,用的u-boot版本为2011.06,中间搬移代码到sdram中的地址是由board_init_f一步步计算出来的,而CONFIG_SYS_TEXT_BASE nmsaknd2019-07-08 05:45:06 为什么AM335X u-boot.img从SPI FLASH启动不成功?原因是什么? MiB我跟进去,找到了函数:spi_boot,然后打印出在内存CONFIG_SYS_TEXT_...
msize = fixed_sdram(); /* Local Bus setup lbcr and mrtpr */ out_be32(&lbc->lbcr, CONFIG_SYS_LBC_LBCR); out_be32(&lbc->mrtpr, CONFIG_SYS_LBC_MRTPR); out_be32(&lbc->lbcr, 0x00040000); out_be32(&lbc->mrtpr, 0x20000000); sync(); /* return total bus SDRAM size(bytes)...
gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE; gd->bd->bi_dram[0].size = get_effective_memsize(); printf("xmtech am gd->bd->bi_dram[0].size:%lld\n",gd->bd->bi_dram[0].size); if (ram_size > CONFIG_MAX_MEM_MAPPED) { gd->bd->b...
@@ -100,21 +100,6 @@ int fixed_sdram(void) #if (CONFIG_SYS_DDR_SIZE != 256) #warning Currenly any ddr size other than 256 is not supported #endif #ifdef CONFIG_DDR_II im->ddr.csbnds[2].csbnds = CONFIG_SYS_DDR_CS2_BNDS; im->ddr.cs_config[2] = CONFIG_SYS_DDR_CS2_CONFIG...
公共文件config fex配置说明v.pdf,sys_c f g. e A20sys_config.fex AA20ssyyss__ccoonnffiigg..feex配置说明 V2.1 V2.11 05 2014-06-05 -1- 历史版本 修改人 时间 备注 V1.0 2013-03-15 建立初始版本 V2.1 2014-06-05 增加axp15_para 配置说明; 增加boot_init_gpio 配置说
CONFIG_SYS_CACHE_SHIFT_6=y CONFIG_SYS_CACHELINE_SIZE=64 CONFIG_SYS_ARM_CACHE_WRITEBACK=y # CONFIG_SYS_ARM_CACHE_WRITETHROUGH is not set # CONFIG_SYS_ARM_CACHE_WRITEALLOC is not set # CONFIG_ARCH_CPU_INIT is not set CONFIG_SYS_ARCH_TIMER=y # CONFIG_ARM_SMCCC is not set # CONFIG...
solo_dev->sys_config = SOLO_SYS_CFG_SDRAM64BIT | SOLO_SYS_CFG_INPUTDIV(25) | SOLO_SYS_CFG_FEEDBACKDIV(solo_dev->clock_mhz *2-2) | SOLO_SYS_CFG_OUTDIV(3); solo_reg_write(solo_dev, SOLO_SYS_CFG, solo_dev->sys_config); ...
CONFIG_RT_MAIN_THREAD_STACK_SIZE=2048 CONFIG_RT_MAIN_THREAD_PRIORITY=10 # CONFIG_RT_USING_LEGACY is not set CONFIG_RT_USING_MSH=y CONFIG_RT_USING_FINSH=y CONFIG_FINSH_USING_MSH=y CONFIG_FINSH_THREAD_NAME="tshell" CONFIG_FINSH_THREAD_PRIORITY=25 CONFIG_FINSH_THREAD_STACK_SIZE...
voidsdram_set_registers(void){inti, max;uint8_treg; PRINT_DEBUG("Northbridge prior to SDRAM init:\n"); DUMPNORTH(); max = ARRAY_SIZE(register_values);/* Set registers as specified in the register_values[] array. */for(i =0; i < max; i +=3) { ...
echo 70 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold printf " No. Switching to ondemand scaling governor" log_end_msg 0 fi ;; *) echo "Usage: $0 start" >&2 exit 3 ;; esac EOF chmod +x /etc/init.d/switch_cpu_governor && update-rc.d switch_cpu_go...