Buffalo NAS-Central Forums
http://forum.buffalo.nas-central.org/

2.6.23 +
http://forum.buffalo.nas-central.org/viewtopic.php?f=12&t=10326
Page 2 of 4

Author:  Bauldrick [ Mon Aug 11, 2008 10:12 pm ]
Post subject:  Re: 2.6.23 +

I was about to say "I have a cunning plan". "Why don't I try a dhcp address where it should be!"
:biglol:

Author:  davy_gravy [ Mon Aug 11, 2008 10:31 pm ]
Post subject:  Re: 2.6.23 +

hehe, so the good news you shared is that
Code:
 Linux lsmipsel 2.6.23 #1 Mon Aug 11 15:17:30 CDT 2008 mips unknown
seems OK, although PCI stuff may not be much good w/ this...

I will see if 2.6.23.17 will build. If so, I will put up a kernel/module package for LS2 users to dip into... EDIT : After we get the scsi/sata/usb stuff checked... I'm thinking it is borked...

2.6.24 and higher will take considerably more work. Maybe someone more able or energetic would be willing to help out with the pci, timer irq, and war.h stuff? I saw some similar work over at OpenWRT... maybe it could be adapted?

Author:  davy_gravy [ Tue Aug 12, 2008 4:52 pm ]
Post subject:  Re: 2.6.23 +

For reference, some rc32434 support looks like it now in linux-2.6.27rc2... http://www.linuxhq.com/kernel/v2.6/27-r ... -rc32434.c

Code:
davygravy@bitbaker-i686:~/Desktop/mips/linux-2.6.27-rc2$ find . -name *rc32434*
./include/asm-mips/mach-rc32434
./include/asm-mips/mach-rc32434/rc32434.h
./arch/mips/pci/ops-rc32434.c
./arch/mips/pci/pci-rc32434.c
./arch/mips/pci/fixup-rc32434.c


and from menuconfig:
Code:
CONFIG_MIKROTIK_RB532:                                                                                              │  
  │                                                                                                                     │ 
  │ Support the Mikrotik(tm) RouterBoard 532 series,                                                                    │ 
  │ based on the IDT RC32434 SoC.                                                                                       │ 
  │                                                                                                                     │ 
  │ Symbol: MIKROTIK_RB532 [=y]                                                                                         │ 
  │ Prompt: Mikrotik RB532 boards                                                                                       │ 
  │   Defined at arch/mips/Kconfig:557


... granted the RB532 board is quite different from the EB434 ...

Author:  davy_gravy [ Fri Aug 15, 2008 6:15 am ]
Post subject:  Re: 2.6.23 +

Bauldrick, are you game for another try? (and a pre-emptive thanks for your continued patience) I made another round of adjustments for the processor speed and a few more things...

http://buffalo.nas-central.org/download ... .27-rc2_v3

Since this is just a bare kernel, not an initramfs... , so it might be better to copy this one to your /boot dir and fill in the ? w/ the correct partition #...

Code:
=> ide reset
=> ext2load ide 0:1 82000000  /boot/vmlinuz-2.6.27-rc2_v3
=> setenv bootargs netconsole=6666@192.168.11.150/,@192.168.11.149/ root=/dev/sda? rw
=> bootm 82000000

Author:  Bauldrick [ Fri Aug 15, 2008 8:48 am ]
Post subject:  Re: 2.6.23 +

Yep, always willing!

setenv bootargs netconsole=6666@192.168.11.150/,@192.168.11.149/ root=/dev/sda1 rw

Loading .text.klist_add_tail @ 0x802cc020 (80 bytes)
Loading .text.klist_add_head @ 0x802cc070 (80 bytes)
Loading .text.sha_init @ 0x802cc0c0 (64 bytes)
Loading .text.sha_transform @ 0x802cc100 (712 bytes)
Loading __ex_table @ 0x802cc3d0 (5992 bytes)
Loading .notes @ 0x802cdb38 (36 bytes)
Loading .exit.text @ 0x8033debc (2060 bytes)
Loading .init.ramfs @ 0x8033f000 (134 bytes)
Clearing .bss @ 0x80340000 (84336 bytes)

Starting kernel @ 0x80104370...

no ip, no response


I tried this also:

setenv hdfile boot/vmlinuz-2.6.27-rc2_v3
boot


Loading .data @ 0x80306000 (86136 bytes)
Loading .data.cacheline_aligned @ 0x8031c000 (1712 bytes)
Loading .init.text @ 0x8031d000 (123192 bytes)
Loading .init.data @ 0x8033b138 (10300 bytes)
Loading .init.setup @ 0x8033d980 (816 bytes)
Loading .initcall.init @ 0x8033dcb0 (524 bytes)
Loading .exit.text @ 0x8033debc (2060 bytes)
Loading .init.ramfs @ 0x8033f000 (134 bytes)
Clearing .bss @ 0x80340000 (84336 bytes)

Starting kernel @ 0x80104370...

but no ip and no response...

Author:  davy_gravy [ Fri Aug 15, 2008 2:42 pm ]
Post subject:  Re: 2.6.23 +

OK, that's a start ... I'll look into some other things :)

Question: Is what you show above more than what you saw on the last one we tried on August 13? (2 days ago we were saying this in the irc...)
Quote:
Aug 13 15:40:23 * davygravy things it is a slim chance of booting, but the results of trying might shed some light...
Aug 13 15:41:12 <Bauldrick> give it a go now, cheers
Aug 13 15:41:56 * davygravy crosses his fingers...
Aug 13 15:47:41 <Bauldrick> doesn't seem to boot , nothing after bootm 82..
Aug 13 15:48:08 <davygravy> kk, that's what I figured...
Aug 13 15:48:11 <davygravy> but...


Probably a day or two and I'll have another one...

Author:  Bauldrick [ Fri Aug 15, 2008 4:35 pm ]
Post subject:  Re: 2.6.23 +

Yeah, I believe so, it wasn't printing out anything then after the boot command

Author:  davy_gravy [ Sat Aug 16, 2008 2:20 am ]
Post subject:  Re: 2.6.23 +

OK Bauldrick, a windfall for you, hehe ... :D
A. the same kernel but w/ some debug options enabled...
http://buffalo.nas-central.org/download ... rc3-debug3 and

B. some adjustments to memory ... also w/ debug ...
http://buffalo.nas-central.org/download ... dmemregion

If you can again try them each, as you did last time, using both kinds of commands... and post back what ya see ... that would be great... :)

Author:  Bauldrick [ Sat Aug 16, 2008 12:04 pm ]
Post subject:  Re: 2.6.23 +

These are what I get:

A) vmlinuz-2.6.27-rc3-debug3

=> ide reset
=> ext2load ide 0:1 82000000 /boot/*

Loading .text.klist_next @ 0x802cefb8 (164 bytes)
Loading .text.klist_del @ 0x802cf05c (88 bytes)
Loading .text.klist_iter_exit @ 0x802cf0b4 (56 bytes)
Loading .text.klist_add_after @ 0x802cf230 (84 bytes)
Loading .text.klist_add_tail @ 0x802cf284 (80 bytes)
Loading .text.klist_add_head @ 0x802cf2d4 (80 bytes)
Loading .exit.text @ 0x803422ec (2060 bytes)
Loading .init.ramfs @ 0x80343000 (134 bytes)
Clearing .bss @ 0x80344000 (84384 bytes)

Didn't seem to start,but:

setenv hdfile boot/*
boot

Loading .text.klist_remove @ 0x802cf144 (40 bytes)
Loading .text.klist_node_init @ 0x802cf16c (112 bytes)
Loading .text.klist_add_before @ 0x802cf1dc (84 bytes)
Loading .text.klist_add_after @ 0x802cf230 (84 bytes)
Loading .text.klist_add_tail @ 0x802cf284 (80 bytes)
Loading .initcall.init @ 0x803420d4 (536 bytes)
Loading .exit.text @ 0x803422ec (2060 bytes)
Loading .init.ramfs @ 0x80343000 (134 bytes)
Clearing .bss @ 0x80344000 (84384 bytes)

Starting kernel @ 0x80104370...

But nothing there to connect to.

B) vmlinuz-2.6.27-rc3-debug_LNI-addmemregion

=> ide reset
=> ext2load ide 0:1 82000000 /boot/*

Loading .text.ipv6_parse_hopopts @ 0x802c365c (244 bytes)
Loading .text.datagram_send_ctl @ 0x802c3750 (1076 bytes)
Loading .text.datagram_recv_ctl @ 0x802c3b84 (1012 bytes)
Loading .text.ip6_datagram_connect @ 0x802c3f78 (1244 bytes)
Loading .text.ipv6_local_error @ 0x802c4454 (488 bytes)
Loading .text.ipv6_recv_error @ 0x802c463c (724 bytes)
Loading .text.ipip6_tunnel_bind_dev @ 0x802c8b7c (288 bytes)
Loading .text.ipip6_tunnel_locate @ 0x802c8c9c (500 bytes)
Loading .text.ipv6_ext_hdr @ 0x802ca21c (80 bytes)

setenv hdfile boot/*
boot

Loading .text.ipv6_hop_ra @ 0x802c2f18 (132 bytes)
Loading .text.ipv6_hop_jumbo @ 0x802c2f9c (660 bytes)
Loading .text.ipv6_destopt_rcv @ 0x802c3230 (460 bytes)
Loading .text.ipv6_rthdr_rcv @ 0x802c33fc (608 bytes)
Loading .text.ipv6_parse_hopopts @ 0x802c365c (244 bytes)
Loading .text.datagram_send_ctl @ 0x802c3750 (1076 bytes)
Loading .text.datagram_recv_ctl @ 0x802c3b84 (1012 bytes)
Loading .text.ip6_datagram_connect @ 0x802c3f78 (1244 bytes)
Loading .text.ipv6_local_error @ 0x802c4454 (488 bytes)

Author:  davy_gravy [ Sat Aug 16, 2008 3:27 pm ]
Post subject:  Re: 2.6.23 +

Again, thanks Bauldrick... I'll try to make some sense of this and put up another try. The second kernel with the altered add memory region didn't seem to go anywhere... that helps to know.

Author:  davy_gravy [ Sat Aug 16, 2008 10:39 pm ]
Post subject:  Re: 2.6.23 +

hmmm... it seems not to have liked the change to the memory region... I made a few tweaks to try to get a bit more info out it it.. and...
maybe we can pass the memory w/ the bootargs...
Code:
setenv bootargs mem=64M netconsole=6666@192.168.11.150/,@192.168.11.149/ root=/dev/sda1 rw

game for another go, Bauldrick?
http://buffalo.nas-central.org/download ... c3-debugv4

Author:  Bauldrick [ Sun Aug 17, 2008 11:05 am ]
Post subject:  Re: 2.6.23 +

vmlinuz-2.6.27-rc3-debugv4

=> ide reset
=> ext2load ide 0:1 82000000 /boot/*
=> setenv bootargs mem=64M netconsole=6666@192.168.11.150/,@192.168.11.149/ root=/dev/sda1 rw

Loading .text.xfrm6_update_pmtu @ 0x802c87d8 (20 bytes)
Loading .text.xfrm6_policy_fini @ 0x802c87ec (12 bytes)
Loading .text.packet_ioctl @ 0x802cd5d0 (384 bytes)
Loading .text.packet_seq_start @ 0x802cd750 (104 bytes)
Loading .text.packet_seq_next @ 0x802cd7b8 (84 bytes)
Loading .text.packet_release @ 0x802ce390 (516 bytes)
Loading .text.packet_getsockopt @ 0x802cf104 (568 bytes)
Loading .text.call_commit_handler @ 0x802cfa68 (56 bytes)
Loading __ksymtab_gpl @ 0x802fed2c (5720 bytes)



Didn't load, without mem=64M didn't go anywhere.


setenv hdfile boot/*
boot

Loading .text.if6_get_next @ 0x802a4948 (68 bytes)
Loading .text.if6_seq_next @ 0x802a498c (64 bytes)
Loading .text.addrconf_del_ifaddr @ 0x802a8070 (176 bytes)
Loading .text.addrconf_add_ifaddr @ 0x802a8a54 (196 bytes)
Loading .text.if6_seq_show @ 0x802a8b18 (272 bytes)
Loading .text.inet6_dump_ifinfo @ 0x802a8c28 (316 bytes)
Loading .text.addrconf_notify @ 0x802a90f8 (2380 bytes)
Loading .text.ipv6_rcv_saddr_equal @ 0x802a9a44 (504 bytes)
Loading .text.__ipv6_addr_label @ 0x802aad20 (320 bytes)

Starting kernel @ 0x80104370...

Heres as much as I see from that if it helps, - http://pastebin.com/m30706547

Author:  davy_gravy [ Sun Aug 17, 2008 5:34 pm ]
Post subject:  Re: 2.6.23 +

Bauldrick, I'm gonna dig around locally and see if I can find a cheap or bricked LS2 and hook up serial... I'm guessing unless networking devices and some other stuff is already working, it may be very difficult to do this via netconsole ... though we did try...

I've looked over things a few more times and I still think it is doable... it just may take a while... I will pm you when I have made further progress...

Where things are:
- with the patch I made up for 2.6.23.x, it boots and ethernet is fine. But pci is broken, because of the problem w/ dev->irq, so we aren't able to see ide stuff... also 2.6.23.x is just plain old ... it was a good place to start, but probably not worth continuing here.
- 2.6.27 looks promising, since a related board (rb532) is now supported in 2.6.27-rc3. The rb532 has the same SoC and some similar board specs, but has a CF slot instead of IDE, NAND, and two extra (VIA) ethernet ports. Some of the rb532 structure was based on the same work for the IDT EB434 board (which LNI used as a base for the LS2). Currently the kernel builds, but some board specific stuff needs to be changed, including:
    removing the NAND, extra ethernet and CF stuff,
    adding in support for the ST and Macronix chips
    adding in the IT8211 PCI IDE disk controller
    add in USB
    checking over the ethernet/korina stuff- it may be OK as is

Author:  davy_gravy [ Tue Aug 19, 2008 9:48 pm ]
Post subject:  Re: 2.6.23 +

OK, the cf slot and rb532 NAND stuff is removed, I checked over korina-ethernet ... have a go and post back if you like... you can try it with both of your methods, and w/ and w/o the mem=64M arguement as well... a pre-emptive thanks, Bauldrick...

http://buffalo.nas-central.org/download ... nuz-svn-r8

Author:  Bauldrick [ Tue Aug 19, 2008 11:13 pm ]
Post subject:  Re: 2.6.23 +

This is what happens:

vmlinuz-svn-r8

setenv:

Loading .text.rawv6_bind @ 0x802b8500 (472 bytes)
Loading .text.rawv6_recvmsg @ 0x802b86d8 (612 bytes)
Loading .text.rawv6_sendmsg @ 0x802b893c (3124 bytes)
Loading .text.inet6_add_protocol @ 0x802b9570 (104 bytes)
Loading .text.inet6_del_protocol @ 0x802b95d8 (112 bytes)
Loading .text.icmpv6_push_pending_frames @ 0x802b9748 (672 bytes)
Loading .text.igmp6_net_exit @ 0x802bad74 (68 bytes)
Loading .text.igmp6_mcf_seq_open @ 0x802badb8 (16 bytes)
Loading .text.igmp6_mc_seq_open @ 0x802badc8 (16 bytes)

Didn't load

=> ide reset
=> ext2load ide 0:1 82000000 /boot/*
=> setenv bootargs netconsole=6666@192.168.11.150/,@192.168.11.149/ root=/dev/sda1 rw
=> bootm 82000000


Loading .data @ 0x8030c000 (86088 bytes)
Loading .data.cacheline_aligned @ 0x80322000 (1712 bytes)
Loading .init.text @ 0x80323000 (124604 bytes)
Loading .init.data @ 0x803416c0 (10380 bytes)
Loading .init.setup @ 0x80343f50 (864 bytes)
Loading .initcall.init @ 0x803442b0 (544 bytes)
Loading .exit.text @ 0x803444d0 (2224 bytes)
Loading .init.ramfs @ 0x80345000 (133 bytes)
Clearing .bss @ 0x80346000 (84672 bytes)

Starting kernel @ 0x80104370...

Nothing there.....


ide reset
ext2load ide 0:1 82000000 /boot/vmlinuz-svn-r8
setenv bootargs mem=64M netconsole=6666@192.168.11.150/,@192.168.11.149/ root=/dev/sda1 rw
bootm 82000000

Loading .text.xfrm6_dst_destroy @ 0x802c89b0 (160 bytes)
Loading .text.__xfrm6_find_bundle @ 0x802c8a50 (524 bytes)
Loading .text._decode_session6 @ 0x802c8c5c (576 bytes)
Loading .text.__xfrm6_state_sort_cmp @ 0x802c8e9c (68 bytes)
Loading .text.__xfrm6_tmpl_sort_cmp @ 0x802c8ee0 (60 bytes)
Loading .text.xfrm6_state_fini @ 0x802c8f1c (12 bytes)
Loading .text.packet_setsockopt @ 0x802cea40 (1300 bytes)
Loading .text.get_wireless_stats @ 0x802cf890 (40 bytes)
Clearing .bss @ 0x80346000 (84672 bytes)

Starting kernel @ 0x80104370...

Page 2 of 4 All times are UTC+01:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/