This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

How to boot uClinux by RedBoot on ARM7TDMI ?


Hi, all:

  My board (Samsung S3C4510B, ARM7TDMI) running RedBoot
checked out from CVS, and I wish to boot uClinux by RedBoot.
I modify below to enable 'exec' command

--- hal_arm_snds.cdl_orig       Tue Jul 20 14:41:42 2004
+++ hal_arm_snds.cdl    Tue Jul 20 17:26:33 2004
@@ -78,6 +79,8 @@
         puts $::cdl_header "#define HAL_PLATFORM_CPU    \"ARM 7TDMI\""
         puts $::cdl_header "#define HAL_PLATFORM_BOARD  \"Samsung SNDS\""
         puts $::cdl_header "#define HAL_PLATFORM_EXTRA  \"\""
+        puts $::cdl_header "#define HAL_PLATFORM_MACHINE_TYPE  90"
+        puts $::cdl_header "#define CYGHWR_REDBOOT_ARM_TRAMPOLINE_ADDRESS
0x00001f00"
         puts $::cdl_header ""
     }

But no matter using 'exec' or 'go' command,
I get below error message.

RedBoot> load -r -v -b 0x38000 zImage
RedBoot> exec
Using base address 0x00038000 and length 0x000b33c8
ks32c5000_eth_stop()
$T050f:b8088001;0d:303e200;#55

Could anyone kind give some comment or suggestion ?

BTW

  I comment some codes in
uClinux-dist/linux-2.4.x/arch/armnommu/boot/compressed/head.S
which copy flash/rom data to ram. It maybe not necessary if I use
RedBoot to load uClinux.



-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]