I was running the Ridgerun SDK but wanted to give the IP NetCam Demo a try. I followed the instructions in the text file of the support page (http://designsomething.org/leopardboard/uploads/readme.txt) and it all appeared to install correctly but when i boot the leopardboard the bootloader says "bad magic number". Interestingly when i just write the bootloader and the uImage to flash, but not the ramdisk, it appears to boot ok...obviously only until the point where it needs the ramdisk. If i do write the ramdisk to flash then the bootloader just says bad magic number when booting. Anyone have any ideas what i am doing wrong?
Thanks
Leon
What are your bootargs and bootcmd environmental variables set to? The only thing I can think of is that these are wrong, or when you are putting the ramdisk in flash, you are overwriting part of the kernel. You could check if the latter problem is happening by flashing the kernel after the ramdisk.
Thanks for the reply. Environment variables and boot args are as per the setup readme file:
setenv bootargs 'mem=80M console=ttyS0,115200n8 root=/dev/ram0 rw initrd=0x82000000,8M ip=dhcp eth=00:0C:0C:A0:00:89 v4l2_video_capture=:device=MT9P031'
setenv bootcmd 'nand read 0x82000000 0x1000000 0x800000;nboot 0x80700000 0 0x400000;bootm 0x80700000'
It is possible that the ramdisk is overwriting the kernel but i don't know how that would be possible with the setup i used:
tftpboot 80700000 uImage
nand erase 400000 200000
nand write 80700000 400000 200000
tftpboot 80700000 ramdisk.gz
nand erase 1000000 800000
nand write 80700000 1000000 800000
İ had this problem only one time too with the same booting arguments, but intersting i think, after on my another tries , it works but at the end of booting in that ipcam demo, in my hyper terminal window , sendalarmtrigger message preiodicly, and leopard board want me to enter a valid login name and pwd and of course i dont know .
What are these login staffs, if anyone help me, i will presuade.
And a second question . İn our every application do i have to prepare and assamle my u_image with gcc/arm .I mean , i have a dm355 board and vga camera, i want a jpeg capture and then a live ipcam application.
Unfortunately I'm not sure exactly what is causing the problem then. I do somewhat remember seeing a similar situation in my tests, and like serkan I think it just started working eventually. Perhaps you could try re-flashing uboot.
In response to serkan's first question, the login is simply "root". There is no password.
In response to the second question, I don't believe the VGA camera works with the ipcam demo, only in the RidgeRun SDK. I have not yet been able to get jpeg compression working.
to serkan,
Even I am receiving the send alarm reset trigger messages continuously? Has your problem resolved? If yes how did you resolve it?
Does the uImage upload the demo program along with itself in the NAND
You can get rid of alarm messages
by stopping system_server,one of the IPNC programs.
killall system_server
IPNC demo program is in a filesystem, ramdisk.gz. (/opt/ipnc/)