Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jun 2010 20:57:41 +1200
From:      Andrew Turner <andrew@fubar.geek.nz>
To:        Ho Van Than <hvanthan@gmail.com>
Cc:        freebsd-arm@freebsd.org, Ravindra <ravindra.kulkarni@globaledgesoft.com>
Subject:   Re: Porting FreeBSD-S3c2410
Message-ID:  <20100629205741.4c72ff8f@bender>
In-Reply-To: <AANLkTikK0XMeWihh1T4S0F59G88dQiDmNBhD0lQD7HnE@mail.gmail.com>
References:  <4C28B426.8050703@globaledgesoft.com> <20100629093417.2d696824@bender> <4C297B66.1020200@globaledgesoft.com> <20100629180756.40313ead@bender> <4C299426.7000402@globaledgesoft.com> <20100629190016.6b9e8b61@bender> <AANLkTikK0XMeWihh1T4S0F59G88dQiDmNBhD0lQD7HnE@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 29 Jun 2010 14:59:27 +0700
Ho Van Than <hvanthan@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100629205741.4c72ff8f>