Re: kernels for Loongson 3A
I see that your PMON is *not* from lemote, and I think this is the root
cause of boot failure. Please use this one, thanks.
http://dev.lemote.com/files/upload/lm/kernel/testing/pmon-A1004-2.1.3.bin
Huacai
> * chenhc@lemote.com (chenhc@lemote.com) [130625 04:51]:
>> * Aron
>> > On Tue, Jun 25, 2013 at 9:48 AM, <chenhc@lemote.com> wrote:
>> >> Really? I remember that you have a good kernel with the 3.9 branch in
>> >> dev.lemote.com.
>
>> > Unfortunately it does not boot, and it may caused by the difficulty of
>> > handling massive merge conflicts with 3.9 version of Debian kernel.
>> > The merge was success on 3.6 branch so we are running on it.
>
>> Which compiler do you use? 3.9 is OK here.
>
> Which git url do you mean? The one on
> git://dev.lemote.com/linux-official.git doesn't work for me either, it
> fails while bootup with
>
> PMON> load tftp://10.1.1.20/9/vmlinux-3.10.0-rc6+
> Loading file: tftp://10.1.1.20/9/vmlinux-3.10.0-rc6+ (elf)
> (elf)
> 0x80300000/7678944 + 0x80a52be0/271968(z) + 17385 syms-
> Entry address is 807e4700
> PMON> initrd tftp://10.1.1.20/9/initrd.img-3.10.0-rc6+
> Loading initrd image tftp://10.1.1.20/9/initrd.img-3.10.0-rc6+(bin)
> |
> Loaded 1233077 bytes
> PMON> g console=ttyS0,115200 root=/dev/sda2
> /home/TMP/wanghongmei/28/pmon-loongson3/pmon/common/env.c:length of
> boot_param is 00000090
> ac = 00000005, nsp @ 8afffec8, env @ 8affff30, en @ 80110bd8
> vsp = 08xffffffff8afffee0, ssp @ 08xffffffff8affff30
> board_name:Loongson-3A-780E-1w-V1.03-demo ---0x8010df38 10
> Shutdown:0x80071b34 reset:0x80071c80
> zero at v0 v1 a0 a1 a2 a3
> 00000000 00000000 00000000 00000000 00000005 8afffec8 8affff30 80110bd8
> t0 t1 t2 t3 t4 t5 t6 t7
> 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
> s0 s1 s2 s3 s4 s5 s6 s7
> 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
> t8 t9 k0 k1 gp sp s8 ra
> 00000000 00000000 00000000 00000000 00000000 8afffea8 00000000 800a73f0
>
> Exception Cause=address error on load or ifetch, SR=0x34000082,
> PC=0x80a1b924
> CONTEXT=0x00157ba0, XCONTEXT=0x00000000
> BADVADDR=0xffffffff8010d26a, ENTHI=0xffffffffe000
> ENTLO0=0x02000017, ENTLO1=0x02040017
>
> zero at v0 v1 a0 a1 a2 a3
> 00000000 34000080 8010d260 8010d260 00000000 34000080 00000000 00000002
> t0 t1 t2 t3 t4 t5 t6 t7
> 00000030 80a70000 00000001 43757043 00000004 80a6df40 00000000 00000000
> s0 s1 s2 s3 s4 s5 s6 s7
> 00000000 80a70000 00000002 00000003 00000001 00000000 00000000 00000000
> t8 t9 k0 k1 gp sp s8 ra
> 00000003 00000000 00000000 00000000 809c0000 809c3d90 00000000 80a1b48c
>
> 80a1b924 8c44000a lw a0,10(v0) # addr=0x8010d26a
> Token is correct!
> flag is 0x0000160000003210
>
>
> Regards,
> Andi
>
Reply to: