Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Fri Nov 24, 2017 5:37 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Kuro HG/WR U-boot Flash
PostPosted: Fri Feb 22, 2013 4:38 am 
Offline
Total Newbie

Joined: Fri Feb 22, 2013 4:23 am
Posts: 3
Hello,
I try to make some use of my old Kuro HG/WR by updating the bootloader to U-boot so i can run a recent Debian on it.
I encounter the following problems:

1-
Code:
dd if=u-boot-lsppchg-flash-1.2.0-r2.bin of=/dev/mtdblock1 bs=1k

wont work from the standard kernel, EM mode or normal mode ( the device is not present so it will create/write for nothing ).

2-
Most of the files needed in the various tutorials are now offline, i didnt find a sylver image to try out with another kernel.

Code:
KURO-BOX:~# uname -a
Linux KURO-BOX 2.4.17_mvl21 #24 2004ǯ 10�� 19�� ������ 17:17:03 JST ppc GNU/Linux


The PPC kuros are old, thats true, but it would be great to keep'em alive!

Thanks in advance for your help, and my apologies for my english.


Top
   
PostPosted: Sun Feb 24, 2013 1:30 pm 
Offline
Regular Member
User avatar

Joined: Mon Oct 08, 2007 6:34 am
Posts: 334
try foonas-em: http://foonas.org/index.php?title=Foonas-em:lsppc

more information can be found in this post: viewtopic.php?f=9&t=25817

Cheers,
Stonie.

_________________
KuroHG - UBoot 1.2, foonas-em & Debian Wheezy - 3.4 Kernel
Kurobox Pro - Dave's Lenny-armel
LS-WVL - opened
LS-XHL - Squeeze Bootstrap
LS-VL - Squeeze Bootstrap


Top
   
PostPosted: Mon Feb 25, 2013 8:40 am 
Offline
Total Newbie

Joined: Fri Feb 22, 2013 4:23 am
Posts: 3
Thanks for your help,

Foonas-EM is probably the best tool for setting up OS images on the Ls, but it needs u-boot to load itself.

So the actual issue, for me, is flashing u-boot on the rom, and it seems that my late 2.4.17 kernel wont do the job.

Do you think i could boot another one ( maybe from an old sylver image, or even a 2.4.20 from buffalo ) to flash u-boot with DD ?

If so, where could y find the files? ( kernel + loader or full image including those )

Thanks.


Top
   
PostPosted: Tue Feb 26, 2013 2:36 am 
Offline
Regular Member
User avatar

Joined: Mon Oct 08, 2007 6:34 am
Posts: 334
Yes, you are in a bit of a tight spot with a 2.4 kernel.

Have you attached a serial console to the box? that way you can see exactly what UBoot version you are at and interact with UBoot directly.
http://buffalo.nas-central.org/wiki/Add_Serial_Port

Then read this page: http://buffalo.nas-central.org/index.ph ... bootloader (taking note of "Flashing U-Boot from U-Boot")

Good luck,
Stonie.

_________________
KuroHG - UBoot 1.2, foonas-em & Debian Wheezy - 3.4 Kernel
Kurobox Pro - Dave's Lenny-armel
LS-WVL - opened
LS-XHL - Squeeze Bootstrap
LS-VL - Squeeze Bootstrap


Top
   
PostPosted: Thu Feb 28, 2013 1:56 pm 
Offline
Total Newbie

Joined: Fri Feb 22, 2013 4:23 am
Posts: 3
I am sure that i dont have u-boot on this box but the original bootloader.

For now im stuck here, following the http://buffalo.nas-central.org/wiki/Kurobox_support_in_stock_2.6_kernels#dtc_tool how to.

I used the uloader for 2.4.17 kernel and the prebuilt u-boot "u-boot-hg.ram.bin" (1.2.0-r2 )

Code:
# ./u-boot-load-hg.sh 
Warning: kernel-module version mismatch
   uloader.o was compiled for kernel version 2.4.17_mvl21-sandpoint
   while this kernel is version 2.4.17_mvl21
Warning: loading uloader.o will taint the kernel: forced load
  See http://www.tux.org/lkml/#export-tainted for information about tainted modules
Module uloader loaded, with warnings

# Connection closed by foreign host.


After that i have nothing on netcat ( 192.168.1.150:6666 )

The kuro start flashing the power led, then after some minutes lights up the diag (red) led alone.

There is something wrong, but where?


Top
   
PostPosted: Fri Mar 01, 2013 12:20 am 
Offline
Regular Member
User avatar

Joined: Mon Oct 08, 2007 6:34 am
Posts: 334
Are you 100% sure you have your network configuration set-up correctly?

If you do... then all I can suggest is attaching a serial cable, at least you will be able to see what is going on.

_________________
KuroHG - UBoot 1.2, foonas-em & Debian Wheezy - 3.4 Kernel
Kurobox Pro - Dave's Lenny-armel
LS-WVL - opened
LS-XHL - Squeeze Bootstrap
LS-VL - Squeeze Bootstrap


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 6 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited