Hi ,Dave
Though I am quite a new hand in the uImage system ,I did suspect the uImage
could cause this problem.Do you remember one of my roach in netboot doesn't
work normally I mentioned previously?It works fine with the soloboot.
Interestingly,one of my roach works fine with netboot before,now could not
works in soloboot!(Using the telnet,The /boffiles could not found in the
soloboot Roach linux while others could) .
I checked the uImage on the no-work-in-soloboot roach,Well,I use soloboot
now,so the file command can not be found on busybox.
~ # file
-sh: file: not found
but the set-up in soloboot process tell me the ulmage is like this:
Image Name: Linux-3.4.0-rc3+
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 2429134 Bytes = 2.3 MiB
Load Address: 00500000
Entry Point: 00500460
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
The same roach run in netboot,and log in as root in ssh,The information like
this:
root@pf1:~# file -s /dev/mtdblock0
/dev/mtdblock0: u-boot legacy uImage, Linux-3.4.0-rc3+, Linux/PowerPC, OS
Kernel Image (gzip), 2429134 bytes, Tue May 29 15:05:09 2012, Load Address:
0x00507
As the netboot,we also use the
uImage-r2borph3
In our PC, the information like this:
[peter@roachserver ~]$ file -L /srv/roach_boot/boot/uImage
/srv/roach_boot/boot/uImage: u-boot legacy uImage, Linux-3.7.0-rc2+,
Linux/PowerPC, OS Kernel Image (gzip), 2231485 bytes, Mon Nov 19 15:30:35 2012,
Load Address: 0x00500000, Entry Point: 0x005010D4, Header CRC: 0x9BDC0E32, Data
CRC: 0xF3A1DC96
(I am not sure why the data is not same with you:Mon Nov 19 15:30:35 2012)
what's more information,The other roachs which could work in both soloboot and
netboot.
The soloboot information in set-up process:
## Booting kernel from Legacy Image at f8000000 ...
Image Name: Linux-3.9.0-rc1+
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 2345540 Bytes = 2.2 MiB
Load Address: 00500000
Entry Point: 005010d4
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
As the no-work-in-soloboot roach in soloboot has a image name :Linux-3.4.0-rc3+
I am not sure whether is the Linux version in soloboot that matters.
Jason have once mentioned this similar question to me,he also sent me a latest
binary romfs soloboot.
https://www.mail-archive.com/casper%40lists.berkeley.edu/msg05393.html
Hope these information could be helpful to our question!
Thanks for your warm help to me in PAPER model !
Peter
PS:I also found a new version on https://github.com/ska-sa/roach2_nfs_uboot
upload on Nov 12, 2014.I will try it latter.
At 2014-11-14 08:40:35, "David MacMahon" <[email protected]> wrote:
>Thanks, Marc,
>
>On Nov 13, 2014, at 12:08 AM, Marc Welz wrote:
>
>> Also look in https://github.com/ska-sa/roach2_nfs_uboot, particularly the
>> boot directory - occasionally prebuilt images get uploaded there, though for
>> the change information you will
>> have to read the ska-sa/katcp_devel commits.
>
>FWIW, we are using the "boot/uImage-r2borph3" kernel image from commit a8da6b6
>of that repository. The "file" command shows it as:
>
>$ file -L /srv/tftpboot/uboot-roach2/uImage-r2borph3
>/srv/tftpboot/uboot-roach2/uImage-r2borph3: u-boot legacy uImage,
>Linux-3.7.0-rc2+, Linux/PowerPC, OS Kernel Image (gzip), 2231485 bytes, Sun
>Nov 18 23:30:35 2012, Load Address: 0x00500000, Entry Point: 0x005010D4,
>Header CRC: 0x9BDC0E32, Data CRC: 0xF3A1DC96
>
>Interestingly, the (NOT used by PAPER) soloboot uImage kernel image in
>/dev/mtdblock0 on one of our ROACH2s deployed in South Africa is:
>
>root@r2d020808:~# file -s /dev/mtdblock0
>/dev/mtdblock0: u-boot legacy uImage, Linux-3.4.0-rc3+, Linux/PowerPC, OS
>Kernel Image (gzip), 2429134 bytes, Tue May 29 17:05:09 2012, Load Address:
>0x00500000, Entry Point: 0x00500460, Header CRC: 0xCAB17B63, Data CRC:
>0x096FD3C7
>
>...while the (NOT used by PAPER) soloboot uImage kernel image in
>/dev/mtdblock0 on two ROACH2s in our lab is:
>
>root@r2d020813:~# file -s /dev/mtdblock0
>/dev/mtdblock0: u-boot legacy uImage, Linux-3.9.0-rc1+, Linux/PowerPC, OS
>Kernel Image (gzip), 2345540 bytes, Wed Mar 6 02:54:34 2013, Load Address:
>0x00500000, Entry Point: 0x005010D4, Header CRC: 0xC0B47AFF, Data CRC:
>0x9247592F
>
>root@r2d020669:~# file -s /dev/mtdblock0
>/dev/mtdblock0: u-boot legacy uImage, Linux-3.9.0-rc1+, Linux/PowerPC, OS
>Kernel Image (gzip), 2345540 bytes, Wed Mar 6 02:54:34 2013, Load Address:
>0x00500000, Entry Point: 0x005010D4, Header CRC: 0xC0B47AFF, Data CRC:
>0x9247592F
>
>These two ROACH2s were repaired by Digicom (813 for the U72 fix and 669 for
>"vehicular stress"). It looks like Digicom is populating the ROACH2 soloboot
>with a new uImage that is not available in the "roach2_nfs_uboot" repo. Are
>different kernels required for netboot vs soloboot or is this just an
>oversight?
>
>Richard and/or Peter,
>
>I'm curious to know what versions of uImage you have for both your netboot
>environment and in /dev/mtdblock0 on your ROACH2s. Can you please run the
>above "file" commands on your uImages and report back with the results? This
>will hopefully help us zero in on where the problem is (and where/when it was
>corrected).
>
>Thanks,
>Dave
>