Ralink armv5t

Mori Hiroki yamori813 at yahoo.co.jp
Mon Mar 25 10:06:12 UTC 2019


Hi

This is command of u-boot for execute kernel by tftp.

5VT1310-EVB# tftpboot 0x40800000 Buffalo_WZR2-G300N_kernel.kbin.oldlzma.uboot
5VT1310-EVB# tftpboot $(memtmp_addr) Buffalo_WZR2-G300N_kernel.kbin.oldlzma.uboot
5VT1310-EVB# bootm


Hiroki Mori



----- Original Message -----
> From: Mori Hiroki <yamori813 at yahoo.co.jp>
> To: Warner Losh <imp at bsdimp.com>
> Cc: "freebsd-arm at freebsd.org" <freebsd-arm at freebsd.org>
> Date: 2019/3/25, Mon 17:42
> Subject: Re: Ralink armv5t
> 
> Hi
> 
> I think you can build freebsd master tree. I think your problem is address or 
> compress.
> 
> ZRouter use old lzma command by ray's hack.
> 
> 
> This is my kernel elf infomation.
> 
> 
> % readelf -h Buffalo_WZR2-G300N_kernel
> ELF Header:
>   Magic:   7f 45 4c 46 01 01 01 09 00 00 00 00 00 00 00 00 
>   Class:                             ELF32
>   Data:                              2's complement, little endian
>   Version:                           1 (current)
>   OS/ABI:                            FreeBSD
>   ABI Version:                       0
>   Type:                              EXEC (Executable file)
>   Machine:                           ARM
>   Version:                           0x1
>   Entry point address:               0xc0000100
>   Start of program headers:          52 (bytes into file)
>   Start of section headers:          3628384 (bytes into file)
>   Flags:                             0x5000202, Version5 EABI, has entry point, 
> software FP
>   Size of this header:               52 (bytes)
>   Size of program headers:           32 (bytes)
>   Number of program headers:         6
>   Size of section headers:           40 (bytes)
>   Number of section headers:         38
>   Section header string table index: 35
> 
> 
> This is files information.
> 
> Buffalo_WZR2-G300N_kernel:                         ELF 32-bit LSB executable, AR
> M, EABI5 version 1 (FreeBSD), dynamically linked, interpreter /red/herring, for 
> FreeBSD 13.0 (1300017), not stripped
> Buffalo_WZR2-G300N_kernel.kbin:                    data
> Buffalo_WZR2-G300N_kernel.kbin.oldlzma:            LZMA compressed data, non-str
> eamed, size 2871992
> Buffalo_WZR2-G300N_kernel.kbin.oldlzma.uboot:      u-boot legacy uImage, FreeBSD
>  Kernel Image, Linux/ARM, OS Kernel Image (lzma), 999733 bytes, Fri Mar 22 10:49
> :29 2019, Load Address: 0x40000100, Entry Point: 0x40000100, Header CRC: 0x0DC80
> 973, Data CRC: 0xFCAD138A
> 
> Thanks
> 
> Hiroki Mori
> 
> 
> ----- Original Message -----
>> From: Warner Losh <imp at bsdimp.com>
>> To: Mori Hiroki <yamori813 at yahoo.co.jp> 
>> Cc: "freebsd-arm at freebsd.org" <freebsd-arm at freebsd.org>
>> Date: 2019/3/24, Sun 03:26
>> Subject: Re: Ralink armv5t
>> 
>> 
>> I'd love to get my ralink board going... I still haven't been able 
> to get it booting all the way...
>> 
>> 
>> Do I need to build with ZRouter? Or can I do that with just a plain FreeBSD 
> tree? I've been doing the latter, but I see from your dmesg postings that 
> maybe I should consider the former....
>> 
>> 
>> Warner
>> 
>> On Sat, Mar 23, 2019 at 11:59 AM Mori Hiroki <yamori813 at yahoo.co.jp> 
> wrote:
>> 
>> Hi
>>> 
>>> I give WZR2-G300N to manu yesterday.
>>> 
>>> 
>>> Also I give WZR2-G300N to hrs and mizhka.
>>> 
>>> Regards
>>> 
>>> Hiroki Mori
>>> 
>>> 
>> 
>> 
> 
> _______________________________________________
> freebsd-arm at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm 
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"
> 



More information about the freebsd-arm mailing list