10:27 | Ed1983> | hey all can someone please help me |
10:28 | Ed1983> | looking to get the new kali image on my cubox pro but it doesn't work |
10:28 | Ed1983> | this is what i see on the kali web site |
10:28 | Ed1983> | If the image does not boot, please connect via serial and make sure that your u-boot version is listed as 5.4.4 NQ SR1. If it is just 5.4.4 NQ, you will need to upgrade it via the CuBox installer. Instructions can be found at the CuBox Wiki |
10:29 | Ed1983> | but i do not know how to update the u-boot |
10:29 | Ed1983> | any info would be very helpfull as i cant find any info about the cubox-installer all i can find is the ignition installer |
10:32 | Ed1983> | hey anyone here ?? |
10:33 | Ed1983> | this is what happens when i have the image on my SD card |
10:33 | Ed1983> | U-Boot 2013.10-rc4-gad02f4927 (Apr 21 2017 - 15:57:15) |
10:33 | Ed1983> | CPU: Freescale i.MX6Q rev1.2 at 792 MHz |
10:33 | Ed1983> | Reset cause: POR |
10:33 | Ed1983> | Board: MX6-CuBox-i |
10:33 | Ed1983> | DRAM: 2 GiB |
10:33 | Ed1983> | MMC: FSL_SDHC: 0 |
10:33 | Ed1983> | *** Warning - bad CRC, using default environment |
10:33 | Ed1983> | In: serial |
10:33 | Ed1983> | Out: serial |
10:33 | Ed1983> | Err: serial |
10:33 | Ed1983> | Net: FEC [PRIME] |
10:33 | Ed1983> | Hit any key to stop autoboot: 0 |
10:33 | Ed1983> | ## Executing script at 17f00000 |
10:33 | Ed1983> | Wrong image format for "source" command |
10:33 | Ed1983> | mmc0 is current device |
10:33 | Ed1983> | Unsupported feature found (64bit, possibly metadata_csum), not mounting |
10:33 | Ed1983> | Failed to mount ext2 filesystem... |
10:33 | Ed1983> | ** Unrecognized filesystem type ** |
10:33 | Ed1983> | Unsupported feature found (64bit, possibly metadata_csum), not mounting |
10:33 | Ed1983> | Failed to mount ext2 filesystem... |
10:34 | Ed1983> | ** Unrecognized filesystem type ** |
10:34 | Ed1983> | Unsupported feature found (64bit, possibly metadata_csum), not mounting |
10:34 | Ed1983> | Failed to mount ext2 filesystem... |
10:34 | Ed1983> | ** Unrecognized filesystem type ** |
10:34 | Ed1983> | Unsupported feature found (64bit, possibly metadata_csum), not mounting |
10:34 | Ed1983> | Failed to mount ext2 filesystem... |
10:34 | Ed1983> | ** Unrecognized filesystem type ** |
10:34 | Ed1983> | Unsupported feature found (64bit, possibly metadata_csum), not mounting |
10:34 | Ed1983> | Failed to mount ext2 filesystem... |
10:34 | Ed1983> | ** Unrecognized filesystem type ** |
10:34 | Ed1983> | Unsupported feature found (64bit, possibly metadata_csum), not mounting |
10:34 | Ed1983> | Failed to mount ext2 filesystem... |
10:34 | Ed1983> | ** Unrecognized filesystem type ** |
10:34 | Ed1983> | Unsupported feature found (64bit, possibly metadata_csum), not mounting |
10:34 | Ed1983> | Failed to mount ext2 filesystem... |
10:34 | Ed1983> | ** Unrecognized filesystem type ** |
10:34 | Ed1983> | Unsupported feature found (64bit, possibly metadata_csum), not mounting |
10:34 | Ed1983> | Failed to mount ext2 filesystem... |
10:34 | Ed1983> | ** Unrecognized filesystem type ** |
10:34 | Ed1983> | Booting from net ... |
10:34 | Ed1983> | FEC Waiting for PHY auto negotiation to complete......... TIMEOUT ! |
10:34 | Ed1983> | Could not initialize PHY FEC |
10:34 | Ed1983> | FEC Waiting for PHY auto negotiation to complete......... TIMEOUT ! |
10:34 | Ed1983> | Could not initialize PHY FEC |
10:34 | Ed1983> | Booting uImage |
10:34 | Ed1983> | Wrong Image Format for bootm command |
10:45 | Ed1983> | hi anyone active ?? |
11:02 | vpeter> | weekend |
11:05 | vpeter> | jnettlet, Artox: I just found out one disturbing thing: With lede master with kernel 4.9.31 I have 15 °C higher temp than with old lede with 4.4.28 :( |
11:05 | vpeter> | Back to old lede sd card - it is already to hot in summer :) |
11:06 | vpeter> | Doesn't need extra heat. |
11:10 | Ed1983> | plhey vpeter |
11:10 | Ed1983> | hey vpeter can u help me please |
11:12 | vpeter> | Which cubox is this? new one? or old? |
11:13 | vpeter> | Here is something http://sr.maltegrosse.de/index.php?title=CuBox_Installer |
11:14 | vpeter> | And seems you are using old cubox based on the Marvell Armada 510? |
11:15 | vpeter> | seems links are dead :( |
11:15 | Ed1983> | its the new one |
11:16 | vpeter> | with imx6 soc? |
11:16 | Ed1983> | how would i tell the diffrence |
11:17 | Ed1983> | sorry for the stupid question i have been at this for hours |
11:17 | vpeter> | Do you have serial console on it? |
11:17 | Ed1983> | yep |
11:17 | vpeter> | Ah, you posted output - it is i.MX6Q. So "new" one :) |
11:17 | Ed1983> | ill show you the output i get |
11:17 | Ed1983> | yep the new one :) |
11:17 | vpeter> | and that's why CuBox Installer is no good for you. |
11:18 | Ed1983> | ok |
11:18 | Ed1983> | so how do i go about getting this image to work i have been looking for bloody hours |
11:18 | vpeter> | Where did you get kali linux image? |
11:18 | vpeter> | http://docs.kali.org/kali-on-arm/install-kali-arm-on-a-cubox |
11:18 | vpeter> | here? |
11:19 | Ed1983> | from here https://www.offensive-security.com/kali-linux-arm-images/ |
11:19 | Ed1983> | havent had problems with it in the past |
11:20 | vpeter> | And which image did you use? For From CuBox or From CuBox-I? You need From CuBox-I. |
11:20 | Ed1983> | this is what i see on the Kali page |
11:20 | Ed1983> | If the image does not boot, please connect via serial and make sure that your u-boot version is listed as 5.4.4 NQ SR1. If it is just 5.4.4 NQ, you will need to upgrade it via the CuBox installer. Instructions can be found at the CuBox Wiki |
11:20 | Ed1983> | but im not to sure what to do from hered |
11:20 | Ed1983> | cubox-i |
11:20 | Ed1983> | thats the image i used |
11:20 | vpeter> | This refers for cubox - old version. |
11:20 | vpeter> | Let me download it and make sd card. |
11:21 | Ed1983> | strange as i have had it working before using the images listed on the kali website |
11:21 | Ed1983> | your a star thank you for your help |
11:21 | vpeter> | Double check that you used correct image. |
11:21 | Ed1983> | i have 3 times |
11:22 | vpeter> | How did you wrote image to sd card? |
11:22 | Ed1983> | because the fist image i would not get the front light on |
11:22 | vpeter> | Did you extract it first? |
11:22 | Ed1983> | win32 disk image |
11:22 | Ed1983> | yep |
11:22 | vpeter> | Then all good. |
11:22 | Ed1983> | yep as the light come on it just wouldnt boot the kernal |
11:24 | Ed1983> | i think it may have something to do with the u-boot version but have no clue how to flash it :( |
11:24 | Ed1983> | as it states here |
11:24 | Ed1983> | If the image does not boot, please connect via serial and make sure that your u-boot version is listed as 5.4.4 NQ SR1. If it is just 5.4.4 NQ, you will need to upgrade it via the CuBox installer. Instructions can be found at the CuBox Wiki |
11:26 | vpeter> | Let me see what will happen to me. But maybe will take an hour or two - lunch time soon. |
11:27 | vpeter> | O boy, I really need new computer - it takes ages to extract xz :( |
11:27 | Ed1983> | not a problem just like the fact someone is helping :) |
11:27 | Ed1983> | lol |
11:27 | vpeter> | When my laptop was born there was no xz :-) |
11:28 | Ed1983> | haha |
11:28 | Ed1983> | whats doing my head in i have downloaded images for the kali before and it has just worked just not sure why all the trouble this time |
11:29 | vpeter> | It should just work. Image has correct u-boot from what I see. |
11:30 | Ed1983> | how would i tell ? |
11:31 | Ed1983> | what do u think could be the problem from the serial console output ? |
11:32 | Ed1983> | also how would i know if i have an up to date u-boot whats the new version and how do you install it because i cant find anything usefull |
11:32 | vpeter> | Well, I newer saw this spl: error reading image u-boot.img, err - -1 |
11:33 | Ed1983> | ok just strange how the red light comes on but it just dont want to boot proplery |
11:34 | Ed1983> | thanks for taking the time to help by the way much appreciated |
11:36 | Ed1983> | do you need me to printenv ??? |
11:37 | vpeter> | Botting my own - it is a fail :( |
11:40 | vpeter> | You can try some older version of kali? |
11:43 | vpeter> | need to go. But will look this later. |
11:46 | vpeter> | I think this image will not boot: |
11:46 | vpeter> | CuBox-i U-Boot > ext4ls mmc 0:1 |
11:46 | vpeter> | Unsupported feature found (64bit, possibly metadata_csum), not mounting |
11:46 | vpeter> | Failed to mount ext2 filesystem... |
11:46 | vpeter> | ** Unrecognized filesystem type ** |
11:47 | vpeter> | Need more investigation. |
11:47 | vpeter> | later :) |
11:53 | Ed1983> | ok |
11:53 | Ed1983> | thanks for taking a look anyone else who can help ? |
12:05 | Ed1983> | hi anyone here who can help im still stuck on this :( |
12:22 | Ed1983> | anyone awake ? ? |
13:06 | vpeter> | Ed1983: give me few more minutes to see if I can fix this image. |
13:06 | Ed1983> | no problem that would be very helpfull as im still trying :/ |
13:10 | Ed1983> | also opening the file with 7-zip i noticed the crc is 000000 |
13:13 | Ed1983> | http://tinypic.com/r/2r6fm9y/9 |
13:15 | Ed1983> | vpeter what do u think it could be ? |
13:17 | vpeter> | will tell you in a few minutes. |
13:17 | vpeter> | Need to move image to home, create sd card and see if it works. |
13:17 | Ed1983> | ok not a problem thank you for taken the time to have a look |
13:19 | Ed1983> | also how do i check my u-boot version from serial |
13:19 | Ed1983> | because i think that may be the problem |
13:21 | Ed1983> | need to make sure its 5.4.4 NQ SR1.and not 5.4.4 NQ |
13:22 | vpeter> | I told you this is for old cubox (without i). |
13:23 | vpeter> | The problem with this image is that ext filesystem is using 64bit feature set which is not supported by u-boot. |
13:23 | vpeter> | https://github.com/SolidRun/u-boot-imx6/commit/446857a0fe16b2c8d17b57ab20bfe2d000a77734 |
13:24 | Ed1983> | how comes the images have worked beofore using the same link why on earth have they gone back to the old version of cubox-i |
13:26 | vpeter> | This image newer worked. Only some older one. The problem is that ext4 filesystem is created with one feature which was not used before. |
13:26 | Ed1983> | so is there any work around ? |
13:27 | vpeter> | I recreated ext4 filesystem in this image. Few more minutes and we will see if it boots. |
13:27 | Ed1983> | i have also looked at the build script but getting errors i got it to work a few years ago because i needed to change some settings in the kernal but now getting compile errors |
13:28 | Ed1983> | onfiguring for mx6_cubox-i - Board: mx6_cubox-i, Options: IMX_CONFIG=board/solidrun/mx6_cubox-i/imx6image.cfg,MX6QDL,SPL,FSL_ENV_IN_MMC |
13:28 | Ed1983> | Generating include/autoconf.mk |
13:28 | Ed1983> | In file included from /root/Desktop/CUBOX/cubox-i-3.0/u-boot-imx6/include/linux/compiler.h:40:0, |
13:28 | Ed1983> | from /root/Desktop/CUBOX/cubox-i-3.0/u-boot-imx6/include/linux/byteorder/little_endian.h:12, |
13:28 | Ed1983> | from /root/Desktop/CUBOX/cubox-i-3.0/u-boot-imx6/include/asm/byteorder.h:29, |
13:28 | Ed1983> | from /root/Desktop/CUBOX/cubox-i-3.0/u-boot-imx6/include/compiler.h:112, |
13:28 | Ed1983> | from /root/Desktop/CUBOX/cubox-i-3.0/u-boot-imx6/include/image.h:19, |
13:28 | Ed1983> | from include/common.h:100: |
13:28 | Ed1983> | /root/Desktop/CUBOX/cubox-i-3.0/u-boot-imx6/include/linux/compiler-gcc.h:93:30: fatal error: linux/compiler-gcc6.h: No such file or directory |
13:28 | Ed1983> | #include gcc_header(__GNUC__) |
13:30 | vpeter> | For this u-boot version patch is needed for gcc 6. Or use newer u-boot https://github.com/SolidRun/u-boot-imx6 |
13:31 | Ed1983> | ill take a look |
13:31 | Ed1983> | thats the u-boot i downloaded and tried to compile |
13:31 | vpeter> | Seems it is already used latest one. |
13:32 | Ed1983> | is there something that needs to be updated on the cubox-i its self ? |
13:34 | Ed1983> | so what would the next step be as im stuck well and truely |
13:34 | vpeter> | and we have a winner :D |
13:34 | vpeter> | Kali GNU/Linux Rolling kali ttymxc0 |
13:34 | vpeter> | kali login: root |
13:34 | vpeter> | Password: |
13:34 | vpeter> | The programs included with the Kali GNU/Linux system are free software; |
13:34 | vpeter> | the exact distribution terms for each program are described in the |
13:34 | vpeter> | individual files in /usr/share/doc/*/copyright. |
13:34 | vpeter> | Kali GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent |
13:34 | vpeter> | permitted by applicable law. |
13:34 | vpeter> | root@kali:~# |
13:34 | Ed1983> | whoop whoop |
13:34 | Ed1983> | what did u do |
13:34 | Ed1983> | please explain |
13:35 | vpeter> | use this image http://vpeter.libreelec.tv/tmp/kali-2017.01-cubox-i-no-64bit-ext4.img.gz |
13:35 | Ed1983> | life saver |
13:35 | Ed1983> | would you mind explaining whaat you did as so i can keep it as a refrence |
13:36 | Ed1983> | what did you need to change and so on |
13:48 | vpeter> | Ed1983: something like this https://pastebin.com/tqykH9Md |
13:49 | Ed1983> | cool ill have a look now |
13:50 | Ed1983> | man your a star A***** thank you soooo much for helping me out |
13:50 | vpeter> | Well, I don't know much but few things I understand :-D |
13:51 | Ed1983> | hahah i wouldnt have known where to start on this i wounder why no one else has picked this up |
13:53 | Ed1983> | so looking at it you have changed the file system |
13:56 | Ed1983> | writing to disk now ill let you know how i get on |
13:56 | Artox> | Ed1983: many have picked this up |
13:56 | Artox> | e.g. the SR debian images also pass arguments to mkfs.ext4 |
13:56 | Artox> | but the issue only appears on new buildhosts |
13:56 | Artox> | old systems such as debian wheezy and jessie don't create ext4 with 64-bit feature |
13:57 | Ed1983> | hi Artox many thanks for the input |
13:57 | Artox> | It is only recently that this feature was enabled by default |
13:57 | Ed1983> | been driving me mad for bloody hours and could not find that much info on it |
13:58 | Artox> | It is a quiet thing, and there are many semif-xes for it |
13:59 | Artox> | one is: just use an old distro release to build sdcard images |
13:59 | Artox> | not even worth documenting ...... |
14:16 | Ed1983> | hey vpeter its now booting happydays |
14:16 | Ed1983> | looking forward to getting it up and runing again |
14:16 | Ed1983> | :)))))) |
14:16 | Ed1983> | :) |
14:17 | vpeter> | Well, I test it myself so should boot for you too :) |
14:24 | Ed1983> | yea its good i can get my server back up and running yey :) |
14:24 | Ed1983> | cant thank you enough buddy |