Porting FreeBSD-S3c2410
Andrew Turner
andrew at fubar.geek.nz
Tue Jun 29 08:57:23 UTC 2010
On Tue, 29 Jun 2010 14:59:27 +0700
Ho Van Than <hvanthan at gmail.com> wrote:
...
> 4. Make image (That command I using Linux OS)
> mkimage -A arm -O freebsd -T kernel -C none -a 30008000 -e 300080e0
> -n "FreeBSD" -d kernel kernel.boot
This looks correct. You will need to adjust KERNPHYSADDR in
sys/arm/s3c2xx0/std.ln2410sbc to 0x30008000 and KERNVIRTADDR to
0xc0008000 if you are using this address.
...
> utu-bootloader=>>>bootm
> ## Booting image at 30000000 ...
> Image Name: FreeBSD
> Created: 2010-06-29 7:25:23 UTC
> Image Type: ARM Unknown OS Kernel Image (uncompressed)
> Data Size: 3312563 Bytes = 3.2 MB
> Load Address: 30008000
> Entry Point: 30008000
The entry point is wrong, it should 0x300080e0. Are you booting
the same kernel you built above? The entry points are different.
Andrew
--
Andrew Turner
WhiteQueue Consulting http://whitequeue.com/
Custom FreeBSD and Linux development
More information about the freebsd-arm
mailing list