lkml.org 
[lkml]   [2015]   [Apr]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v9 00/17] Re-introduce h8300 architecture
On 04/28/2015 09:33 PM, Guenter Roeck wrote:
> On 04/28/2015 10:25 AM, Yoshinori Sato wrote:
>> At Tue, 28 Apr 2015 06:22:10 -0700,
>> Guenter Roeck wrote:
>>>
>>> On Mon, Apr 27, 2015 at 02:35:07PM +0900, Yoshinori Sato wrote:
>>>> Hello.
>>>> I will re-introducing h8300.
>>>>
>>>
>>> Hi,
>>>
>>> can you provide a link to a working toolchain, or provide directions
>>> on how to build one ?
>>
>> h8300-unknown-linux in gcc / binutils development version.
>> Patch of a release version has not been prepared yet.
>>
>
> Hi,
>
> With a toolchain based on binutils 2.25 (patched), gcc 5.1 (unpatched), and newlib 1.20
> (unpatched), I get for both h8300h-sim_defconfig and h8s-sim_defconfig:
>
> ./arch/h8300/kernel/vmlinux.lds:247: undefined symbol `jiffies_64' referenced in expression
>
> I had to modify arch/h8300/Makefile a bit since the linker does not understand
> -mh8300helf_linux and -mh8300self_linux; I had to use -mh8300helf and -mh8300self
> instead. Maybe I am missing a binutils patch. I also had to use h8300-linux-elf
> as target to convince gcc to accept it as valid target. Both should not result
> in the undefined symbol error, though.
>

Also, a build after "make allyesconfig" shows a few missing functions.
writel_relaxed
readl_relaxed
ioread32be
iowrite32be

I should have mentioned that I used branch 'h8300' of
git://git.sourceforge.jp/gitroot/uclinux-h8/linux.git for the build tests.

Guenter



\
 
 \ /
  Last update: 2015-04-29 07:21    [W:0.132 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site