freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

ar71xx-uboot編譯入門(參考版)

2024-08-03 12:46本頁面
  

【正文】 若要加快速度,可以加上多線程參數(shù) jN,其中 N 為 CPU 核心數(shù)若要顯示詳細(xì)過程,可以加上 V=99。 Use softfloat選中編譯:運(yùn)行 make 即可開始編譯。 Target Architecture Variant選擇 mips 32r2Target options Target Architecture選擇 MIPS (big endian)Target options下載地址:在 Download 下面選擇一個下載,就行,如 配置:解壓代碼,如解壓到 ~/打開終端,進(jìn)入 buildroot 目錄,運(yùn)行 make menuconfig 命令:以 Atheros AR71XX 為例AR71XX CPU 架構(gòu)為 MIPS 32位,大端字節(jié)序 (Bigendian),指令集 MIPS32 Release 2 (mips32r2),不含浮點(diǎn)單元Ralink 的 CPU 跟 AR71XX 基本相同,只是字節(jié)序?yàn)樾《?(Littleendian)target_optionTarget options但是為什么不使用 OpenWrt 而要使用 Buildroot 呢?這是因?yàn)?OpenWrt 生成的工具鏈依賴度太高,而且缺少部分特性,容易導(dǎo)致編譯失敗。說道這里,你可能會覺得,這跟 OpenWrt 的編譯環(huán)境很像。自己制作工具鏈并不復(fù)雜,而且可以根據(jù)自己的需要進(jìn)行設(shè)置。if (rc = 0) {/* invalid mand or not repeatable, forget it */lastmand[0] = 0。 /* retry autoboot */ endif}endifif (len == 1)puts (INTERRUPT\n)。 ifdef CONFIG_RESET_TO_RETRY/* Reinit board to run initialization code again */do_reset (NULL, 0, 0, NULL)。else if (len == 0)flag |= CMD_FLAG_REPEAT。 flag = 0。) {ifdef CONFIG_BOOT_RETRY_TIMEif (rc = 0) {/* Saw enough of a valid mand to* restart the timeout.*/reset_cmd_timeout()。)。}endif/* 啟動命令執(zhí)行完畢,則開始處理交互命令 *//** Main Loop for Monitor Command Processing*/ifdef CFG_HUSH_PARSERparse_file_outer()。/* CONFIG_BOOTDELAY */ifdef CONFIG_AMIGAONEG3SE{extern void video_banner(void)。/* restore Control C checking */ endif}省略endif elseparse_string_outer(s, FLAG_PARSE_SEMICOLON |FLAG_EXIT_FROM_LOOP)。 !abortboot (bootdelay)) { ifdef CONFIG_AUTOBOOT_KEYEDint prev = disable_ctrlc(1)。 s amp。if (bootdelay = 0 amp。 endif}/* 重新獲取啟動命令 */s = getenv (bootcmd)。endif /* CONFIG_AR7100 */elsesetenv (bootcmd, tftpboot 0x8022c090 uImage。if (!s) {/* 如果沒有啟動命令,就設(shè)置默認(rèn)的命令 */ifdef CONFIG_ROOTFS_FLASH/* XXX if rootfs is in flash, expect uImage to be in flash */ifdef CONFIG_AR7100/* 這里設(shè)置的即為 AR71XX 的默認(rèn)固件啟動命令 */setenv (bootcmd, bootm 0xbf200000)。 ifdef CONFIG_BOOT_RETRY_TIMEinit_cmd_timeout ()。 bootdelay = s ? (int)simple_strtol(s, NULL, 10) : CONFIG_BOOTDELAY。amp。int bootdelay。amp。) {main_loop ()。endifeth_initialize(gdbd)。 endifif (CONFIG_COMMANDS amp。 CFG_CMD_NET)if ((s = getenv (bootfile)) != NULL) {copy_filename (BootFile, s, sizeof (BootFile))。/** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** **//* Initialize from environment */if ((s = getenv (loadaddr)) != NULL) {load_addr = simple_strtoul (s, NULL, 16)。jumptable_init ()。if defined(CONFIG_PCI)/** Do pci configuration*//* PCI 設(shè)備初始化 */pci_init()。if (s)s = (*e) ? e + 1 : e。 ++i) {bdbi_enetaddr[i] = s ? simple_strtoul (s, amp。for (i = 0。/* relocate environment function pointers etc. *//* 重定位環(huán)境變量相關(guān)函數(shù)和數(shù)據(jù) */env_relocate()。endif/* initialize malloc() area *//* 初始化內(nèi)存管理器,以便能夠使用 malloc 等函數(shù) */mem_malloc_init()。 if CFG_MONITOR_BASE == CFG_FLASH_BASEbdbi_flashoffset = monitor_flash_len。bdbi_flashstart = CFG_FLASH_BASE。display_flash_config (size)。endif/* 熄滅路由的 LED *//* turn off switch LED added by tiger 20091225 */ar7240_gpio_sw_led()。cmdtphelp = (char *)addr。 cmdtpusage = (char *)addr。cmdtpname = (char *)addr。endifcmdtpcmd =(int (*)(struct cmd_tbl_s *, int, int, char *[]))addr。addr = (ulong) (cmdtpcmd) + gdreloc_off。__u_boot_cmd_end。__u_boot_cmd_start。uboot_end_data dest_addr。gdreloc_off = dest_addr CFG_MONITOR_BASE。 gdflags |= GD_FLG_RELOC。int i。endifchar *s, *e。extern void malloc_bin_reloc (void)。然后 C 環(huán)境就緒,進(jìn)入 board_init_r 繼續(xù)運(yùn)行,此時 SPI Flash 不再被使用,UBoot 完全在內(nèi)存中運(yùn)行了回到 lib_mips/:void board_init_r (gd_t
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1