20 Nov
2012
20 Nov
'12
12:40
On 19/11/12 17:20, Alexander Graf wrote: >> >>> It would boot as far as "Starting kernel ... Uncompressing Linux... >> >>> done, booting the kernel." and then hang indefinitely. I blamed the errors: >> >>> Loading file "/boot.scr" from mmc device 0:1 (mmcda1) >> >>> 641 bytes read >> >>> ## Executing script at 02000000 >> >>> ## Error: "kerneladdr" not defined >> >>> ## Error: "ramdiskaddr" not defined > >> These are actually ok messages. The script checks for existence of these variables and defines them differently if they don't exist. The CuBox specific bit is where it checks for the $arcNumber and overrides that whole logic. > >> > >> The only major difference I can see in your patch is that instead of running into that code path, you just replace all variable use with the same addresses the variables would expand to if you get into the $arcnumber==3905 case. I just checked this again with the original 12.2 image from opensuse.org - arcNumber is 3905 (I checked with printenv before booting). The situation is the same - it gets as far as "done, booting the kernel" and then it hangs there. Just for kicks, I inserted the other SD card - the one with my image on it - that boots fine. How can I debug this further? Here is diff -Nurbs cubox-opensuse.txt cubox-ciaran.txt: cfarrell@linux-bwve:/tmp> diff -Nurbs cubox-opensuse.txt cubox-ciaran.txt --- cubox-opensuse.txt 2012-11-20 13:26:35.689283094 +0100 +++ cubox-ciaran.txt 2012-11-20 13:27:14.617798125 +0100 @@ -1,4 +1,4 @@ -CuBox>> printenv +uBox>> printenv baudrate=115200 loads_echo=0 ipaddr=192.168.15.223 @@ -37,7 +37,7 @@ standalone=fsload 0x2000000 ${image_name};setenv bootargs ${console} ${mtdparts} root=/dev/mtdblock0 rw ip=${ipaddr}:${serverip}${bootargs_end} usb0Mode=${usb0Mode} usb1Mode=${usb1Mode} video=dovefb:lcd0:${lcd0_params},lcd1:${lcd1_params} clcd.lcd0_enable=${lcd0_enable} clcd.lcd1_enable=${lcd1_enable}; bootm 0x2000000; bootdelay=3 disaMvPnp=no -ethaddr=00:50:43:3b:2b:19 +ethaddr=00:50:43:b4:06:1e usb0Mode=host usb1Mode=host yuk_ethaddr=00:00:00:EE:51:81 -- Ciaran Farrell, Attorney at Law SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, DE GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org