- * if a u--boot is available as a file, we always use it
- */
- {
- image_size = load_image('mini2440/u-boot.bin', qemu_get_ram_ptr(0x03f8000
:
diff --git a/hw/mini2440.c b/hw/mini2440.c
index 5decf4b..7a70aae 100644
--- a/hw/mini2440.c
+++ b/hw/mini2440.c
@@ -258,46 +258,15 @@ static void mini2440_reset(void *opaque)
struct mini2440_board_s *s = (struct mini2440_board_s *) opaque;
uint32_t image_size;
- /*
- * Normally we would load 4 KB of nand to SRAM and jump there, but
- * it is not working perfectly as expected, so we cheat and load
- * it from nand directly relocated to 0x33f80000 and jump there
- */
- if (mini2440_load_from_nand(s->nand, 0, S3C_RAM_BASE | 0x03f80000, 256*1024)> 0)
- mini2440_printf('loaded default u-boot from NAND/n');
- s->cpu->env->regs[15] = S3C_RAM_BASE | 0x03f80000; /* start address, u-b
- }
-#if 0 && defined(LATER)
- if (mini2440_load_from_nand(s->nand, 0, S3C_SRAM_BASE_NANDBOOT, S3C_SRAM_SIZE) >
- s->cpu->env->regs[15] = S3C_SRAM_BASE_NANDBOOT; /* start address, u-boot
- mini2440_printf('4KB SteppingStone loaded from NAND/n');
- }
-#endif
- /*
- * if a u--boot is available as a file, we always use it
- */
- {
- image_size = load_image('mini2440/u-boot.bin', qemu_get_ram_ptr(0x03f80000))
- if (image_size < 0)
- image_size = load_image('u-boot.bin', qemu_get_ram_ptr(0x03f80000));
- if (image_size > 0) {
:
diff --git a/hw/mini2440.c b/hw/mini2440.c
index 5decf4b..7a70aae 100644
--- a/hw/mini2440.c
+++ b/hw/mini2440.c
@@ -258,46 +258,15 @@ static void mini2440_reset(void *opaque)
struct mini2440_board_s *s = (struct mini2440_board_s *) opaque;
uint32_t image_size;
- /*
- * Normally we would load 4 KB of nand to SRAM and jump there, but
- * it is not working perfectly as expected, so we cheat and load
- * it from nand directly relocated to 0x33f80000 and jump there
- */
- if (mini2440_load_from_nand(s->nand, 0, S3C_RAM_BASE | 0x03f80000, 256*1024)> 0) {
- mini2440_printf('loaded default u-boot from NAND/n');
- s->cpu->env->regs[15] = S3C_RAM_BASE | 0x03f80000; /* start address, u-boot
- }
-#if 0 && defined(LATER)
- if (mini2440_load_from_nand(s->nand, 0, S3C_SRAM_BASE_NANDBOOT, S3C_SRAM_SIZE) > 0)
- s->cpu->env->regs[15] = S3C_SRAM_BASE_NANDBOOT; /* start address, u-boot rel
- mini2440_printf('4KB SteppingStone loaded from NAND/n');
- }
-#endif
- /*
- * if a u--boot is available as a file, we always use it
- */
- {
- image_size = load_image('mini2440/u-boot.bin', qemu_get_ram_ptr(0x03f80000));
- if (image_size < 0)
- image_size = load_image('u-boot.bin', qemu_get_ram_ptr(0x03f80000));
- if (image_size > 0) {
- if (image_size & (512 -1)) /* round size to a NAND block size *
- image_size = (image_size + 512) & ~(512-1);
- mini2440_printf('loaded override u-boot (size %x)/n', image_size);
:
diff --git a/hw/mini2440.c b/hw/mini2440.c
index 5decf4b..7a70aae 100644
--- a/hw/mini2440.c
+++ b/hw/mini2440.c
@@ -258,46 +258,15 @@ static void mini2440_reset(void *opaque)
struct mini2440_board_s *s = (struct mini2440_board_s *) opaque;
uint32_t image_size;
- /*
- * Normally we would load 4 KB of nand to SRAM and jump there, but
- * it is not working perfectly as expected, so we cheat and load
- * it from nand directly relocated to 0x33f80000 and jump there
- */
- if (mini2440_load_from_nand(s->nand, 0, S3C_RAM_BASE | 0x03f80000, 256*1024)> 0) {
- mini2440_printf('loaded default u-boot from NAND/n');
- s->cpu->env->regs[15] = S3C_RAM_BASE | 0x03f80000; /* start address, u-boot alrea
- }
-#if 0 && defined(LATER)
- if (mini2440_load_from_nand(s->nand, 0, S3C_SRAM_BASE_NANDBOOT, S3C_SRAM_SIZE) > 0) {
上一篇:ecos on QEMU for mini2440 编译方法
下一篇:minigui1.6移植到mini2440
推荐阅读最新更新时间:2026-02-13 00:02
- 120W、12V 交流转直流单路输出电源,适用于台式电脑电源
- AM1S-1205SH30Z 1W DC-DC转换器典型应用
- 用于开/关控制应用的 AM2G-1209SH30Z 9V 2 瓦 DC-DC 转换器的典型应用
- MC33072DR2G 具有迟滞功能的低输入电压比较器的典型应用
- DER-204 - 133W主电源和待机电源组合
- EVAL-ADuC7020QSPZ,用于 ADuC7020 和 ARM7TDMI MCU 的开发系统
- 使用 NXP Semiconductors 的 MPC564 的参考设计
- DER-908 - 基于InnoSwitch3-Pro PowiGaN和威盛实验室VP302控制器的30 W USB PD 3.0与3.3 V-21 V PPS电源
- 具有欠压锁定功能的 LT3990HMSE 5V 降压转换器的典型应用
- DC782A-A,用于 LTC2249 高速、80 Msps、14 位 1MHz 的演示板Ain< 70MHz



IEEE Std 315-1975
FollowMeS3E3代码
Follow me第三季第4期任务汇总代码(MicroPython版)
非常经典的关于LLC的杨波博士论文
VI-27WIU






京公网安备 11010802033920号