Patch android script fails

cancel
Showing results for 
Search instead for 
Did you mean: 

Patch android script fails

1,432 Views
arunmitteam
Contributor III

Hi,

I'm trying to flash sd card with Adeneo's ginger bread android os and followed the instructions available in the guide. When I run the ./patch_android.sh I get the below error and I'm struck in this for last 2 days. Has anyone faced similar error before? Please help me fix this error.

/home/lucid/Desktop/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:2236: space before tab in indent.

    mrc 15, 0, r0, c1, c0, 1

/home/lucid/Desktop/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:2237: space before tab in indent.

    orr r0, r0, #7

warning: squelched 22 whitespace errors

warning: 27 lines add whitespace errors.

fatal: corrupt patch at line 172

Error! Fail to apply patch from /home/lucid/Desktop/i.MX53-QSB-Android-Gingerbread-Release4.3/install/imx-android-r10.3/code/r10.3/platform/bootable/bootloader/uboot-imx.git to /home/lucid/Desktop/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx. Stop

Labels (2)
0 Kudos
10 Replies

592 Views
test_developer
Contributor I

Hi Arun / r.lorriaux,

I desperately need help please!

I have switched to Ubuntu 10.4 LTS 64bit but I still have the error.

Deleting branch imx_r10.3 from packages/apps/SoundRecorder
Deleting branch imx_r10.3 from packages/apps/Gallery3D
Deleting branch imx_r10.3 from system/vold
Deleting branch imx_r10.3 from packages/providers/MediaProvider
Deleting branch imx_r10.3 from packages/apps/Camera
Deleting branch imx_r10.3 from external/sqlite
Deleting branch imx_r10.3 from packages/apps/Settings
Deleting branch imx_r10.3 from external/alsa-lib
Deleting branch imx_r10.3 from external/alsa-utils
Deleting branch imx_r10.3 from packages/apps/CertInstaller
Deleting branch imx_r10.3 from packages/inputmethods/PinyinIME
Deleting branch imx_r10.3 from packages/wallpapers/MagicSmoke
Deleting branch imx_r10.3 from system/netd
Load new gits created by FSL...
Creating NEW gits - external/linux-lib
Creating NEW gits - external/linux-firmware-imx
Creating NEW gits - external/linux-atheros-wifi
Creating NEW gits - external/wpa_supplicant_ath
Creating NEW gits - system/wlan/atheros
Creating NEW gits - hardware/mx5x
Creating NEW gits - external/hostapd-0.6.8
Creating NEW gits - external/systemtap
Creating NEW gits - system/dispd
Creating NEW gits - packages/apps/fsl_imx_demo
Creating NEW gits - device/fsl
Switch all gits to base version ...
Switching base version for bootable/bootloader/uboot-imx
Switching base version for kernel_imx
Switching base version for bionic
Switching base version for bootable/recovery
Switching base version for external/linux-lib
Switching base version for external/linux-firmware-imx
Switching base version for external/linux-atheros-wifi
Switching base version for external/wpa_supplicant_ath
Switching base version for system/wlan/atheros
Switching base version for hardware/mx5x
Switching base version for build
Switching base version for prebuilt
Switching base version for system/core
Switching base version for system/extras
Switching base version for external/wpa_supplicant
Switching base version for external/dhcpcd
Switching base version for external/hostapd-0.6.8
Switching base version for external/ppp
Switching base version for external/bluetooth/bluez
Switching base version for external/e2fsprogs
Switching base version for external/genext2fs
Switching base version for external/systemtap
Switching base version for external/mtd-utils
Switching base version for frameworks/base
Switching base version for hardware/alsa_sound
Switching base version for hardware/libhardware
Switching base version for hardware/libhardware_legacy
Switching base version for hardware/ril
Switching base version for packages/apps/Music
Switching base version for packages/apps/SoundRecorder
Switching base version for packages/apps/Gallery3D
Switching base version for system/vold
Switching base version for system/dispd
Switching base version for packages/apps/fsl_imx_demo
Switching base version for packages/providers/MediaProvider
Switching base version for packages/apps/Camera
Switching base version for external/sqlite
Switching base version for packages/apps/Settings
Switching base version for bootable/bootloader/legacy
Switching base version for bootable/diskinstaller
Switching base version for cts
Switching base version for dalvik
Switching base version for development
Switching base version for device/fsl
Switching base version for device/common
Switching base version for device/sample
Switching base version for external/alsa-lib
Switching base version for external/alsa-utils
Switching base version for external/apache-http
Switching base version for external/astl
Switching base version for external/bison
Switching base version for external/blktrace
Switching base version for external/bluetooth/glib
Switching base version for external/bluetooth/hcidump
Switching base version for external/bouncycastle
Switching base version for external/bsdiff
Switching base version for external/bzip2
Switching base version for external/chromium
Switching base version for external/clearsilver
Switching base version for external/dbus
Switching base version for external/dnsmasq
Switching base version for external/dropbear
Switching base version for external/easymock
Switching base version for external/elfcopy
Switching base version for external/elfutils
Switching base version for external/embunit
Switching base version for external/emma
Switching base version for external/esd
Switching base version for external/expat
Switching base version for external/fdlibm
Switching base version for external/freetype
Switching base version for external/fsck_msdos
Switching base version for external/giflib
Switching base version for external/grub
Switching base version for external/gtest
Switching base version for external/guava
Switching base version for external/icu4c
Switching base version for external/iproute2
Switching base version for external/ipsec-tools
Switching base version for external/iptables
Switching base version for external/jdiff
Switching base version for external/jhead
Switching base version for external/jpeg
Switching base version for external/jsr305
Switching base version for external/junit
Switching base version for external/kernel-headers
Switching base version for external/libffi
Switching base version for external/libgsm
Switching base version for external/libnfc-nxp
Switching base version for external/libpcap
Switching base version for external/libpng
Switching base version for external/libvpx
Switching base version for external/libxml2
Switching base version for external/mtpd
Switching base version for external/netcat
Switching base version for external/netperf
Switching base version for external/neven
Switching base version for external/nist-sip
Switching base version for external/oauth
Switching base version for external/openssl
Switching base version for external/oprofile
Switching base version for external/ping
Switching base version for external/proguard
Switching base version for external/protobuf
Switching base version for external/qemu
Switching base version for external/quake
Switching base version for external/safe-iop
Switching base version for external/skia
Switching base version for external/sonivox
Switching base version for external/speex
Switching base version for external/srec
Switching base version for external/stlport
Switching base version for external/strace
Switching base version for external/svox
Switching base version for external/tagsoup
Switching base version for external/tcpdump
Switching base version for external/tinyxml
Switching base version for external/tremolo
Switching base version for external/v8
Switching base version for external/webkit
Switching base version for external/wpa_supplicant_6
Switching base version for external/xmlwriter
Switching base version for external/yaffs2
Switching base version for external/zlib
Switching base version for frameworks/ex
Switching base version for frameworks/opt/emoji
Switching base version for hardware/broadcom/wlan
Switching base version for hardware/msm7k
Switching base version for hardware/qcom/gps
Switching base version for hardware/qcom/media
Switching base version for hardware/ti/omap3
Switching base version for hardware/ti/wlan
Switching base version for libcore
Switching base version for ndk
Switching base version for packages/apps/AccountsAndSyncSettings
Switching base version for packages/apps/Bluetooth
Switching base version for packages/apps/Browser
Switching base version for packages/apps/Calculator
Switching base version for packages/apps/Calendar
Switching base version for packages/apps/CertInstaller
Switching base version for packages/apps/Contacts
Switching base version for packages/apps/DeskClock
Switching base version for packages/apps/Email
Switching base version for packages/apps/Gallery
Switching base version for packages/apps/HTMLViewer
Switching base version for packages/apps/Launcher2
Switching base version for packages/apps/Mms
Switching base version for packages/apps/Nfc
Switching base version for packages/apps/PackageInstaller
Switching base version for packages/apps/Phone
Switching base version for packages/apps/Protips
Switching base version for packages/apps/Provision
Switching base version for packages/apps/QuickSearchBox
Switching base version for packages/apps/SpeechRecorder
Switching base version for packages/apps/Stk
Switching base version for packages/apps/Tag
Switching base version for packages/apps/VoiceDialer
Switching base version for packages/experimental
Switching base version for packages/inputmethods/LatinIME
Switching base version for packages/inputmethods/OpenWnn
Switching base version for packages/inputmethods/PinyinIME
Switching base version for packages/providers/ApplicationsProvider
Switching base version for packages/providers/CalendarProvider
Switching base version for packages/providers/ContactsProvider
Switching base version for packages/providers/DownloadProvider
Switching base version for packages/providers/DrmProvider
Switching base version for packages/providers/GoogleContactsProvider
Switching base version for packages/providers/TelephonyProvider
Switching base version for packages/providers/UserDictionaryProvider
Switching base version for packages/wallpapers/Basic
Switching base version for packages/wallpapers/LivePicker
Switching base version for packages/wallpapers/MagicSmoke
Switching base version for packages/wallpapers/MusicVisualization
Switching base version for sdk
Switching base version for system/bluetooth
Switching base version for system/media
Switching base version for system/netd
Switching base version for system/wlan/ti
Applying patches ...
Applying patch to bootable/bootloader/uboot-imx
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:603: space before tab in indent.
        mov r3, #0xDA
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:622: space before tab in indent.
        str r3, [r1, #0x100]
warning: 2 lines add whitespace errors.
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:1825: new blank line at EOF.
+
warning: 1 line adds whitespace errors.
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:160: space before tab in indent.
     /*2K PAGE*/
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:178: space before tab in indent.
     //unlock internal buffer
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:181: space before tab in indent.
     //unlock nand device
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:288: space before tab in indent.
     // check for bad block
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:375: space before tab in indent.
  add     r0, r0, #4 /* skip reset vector   */
warning: 5 lines add whitespace errors.
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:51: space before tab in indent.
     check_soc_version r1, r2
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:52: space before tab in indent.
     cmp r1, #0x20
warning: 2 lines add whitespace errors.
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:542: space before tab in indent.
     mrc 15, 0, r0, c1, c0, 1
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:543: space before tab in indent.
     bic r0, r0, #7
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:544: space before tab in indent.
     mcr 15, 0, r0, c1, c0, 1
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:546: space before tab in indent.
     mrc 15, 0, r0, c1, c0, 1
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:547: space before tab in indent.
     orr r0, r0, #7
warning: squelched 8 whitespace errors
warning: 13 lines add whitespace errors.
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:200: new blank line at EOF.
+
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:446: new blank line at EOF.
+
warning: 2 lines add whitespace errors.
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:202: new blank line at EOF.
+
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:280: new blank line at EOF.
+
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:541: new blank line at EOF.
+
warning: 3 lines add whitespace errors.
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:811: space before tab in indent.
     mrc 15, 0, r0, c1, c0, 1
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:812: space before tab in indent.
     bic r0, r0, #7
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:813: space before tab in indent.
     mcr 15, 0, r0, c1, c0, 1
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:815: space before tab in indent.
     mrc 15, 0, r0, c1, c0, 1
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:816: space before tab in indent.
     orr r0, r0, #7
warning: squelched 7 whitespace errors
warning: 12 lines add whitespace errors.
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:1766: new blank line at EOF.
+
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:4174: new blank line at EOF.
+
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:4471: new blank line at EOF.
+
warning: 3 lines add whitespace errors.
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:195: new blank line at EOF.
+
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:781: new blank line at EOF.
+
warning: 2 lines add whitespace errors.
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:260: new blank line at EOF.
+
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:331: new blank line at EOF.
+
warning: 2 lines add whitespace errors.
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:599: new blank line at EOF.
+
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:1136: new blank line at EOF.
+
warning: 2 lines add whitespace errors.
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:49: new blank line at EOF.
+
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:440: new blank line at EOF.
+
warning: 2 lines add whitespace errors.
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:319: new blank line at EOF.
+
warning: 1 line adds whitespace errors.
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:2232: space before tab in indent.
     mrc 15, 0, r0, c1, c0, 1
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:2233: space before tab in indent.
     bic r0, r0, #7
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:2234: space before tab in indent.
     mcr 15, 0, r0, c1, c0, 1
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:2236: space before tab in indent.
     mrc 15, 0, r0, c1, c0, 1
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:2237: space before tab in indent.
     orr r0, r0, #7
warning: squelched 22 whitespace errors
warning: 27 lines add whitespace errors.
fatal: corrupt patch at line 172
Error! Fail to apply patch from /home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/install/imx-android-r10.3/code/r10.3/platform/bootable/bootloader/uboot-imx.git to /home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx. Stop
administrator@administrator:~/i.MX53-QSB-Android-Gingerbread-Release4.3/scripts$ ./patch_android.sh >> me.txt
y
y
mkdir: cannot create directory `/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply': File exists
administrator@administrator:~/i.MX53-QSB-Android-Gingerbread-Release4.3/scripts$ ./patch_android.sh >> me.txt
y
y
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:603: space before tab in indent.
        mov r3, #0xDA
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:622: space before tab in indent.
        str r3, [r1, #0x100]
warning: 2 lines add whitespace errors.
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:1825: new blank line at EOF.
+
warning: 1 line adds whitespace errors.
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:160: space before tab in indent.
     /*2K PAGE*/
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:178: space before tab in indent.
     //unlock internal buffer
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:181: space before tab in indent.
     //unlock nand device
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:288: space before tab in indent.
     // check for bad block
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:375: space before tab in indent.
  add     r0, r0, #4 /* skip reset vector   */
warning: 5 lines add whitespace errors.
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:51: space before tab in indent.
     check_soc_version r1, r2
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:52: space before tab in indent.
     cmp r1, #0x20
warning: 2 lines add whitespace errors.
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:542: space before tab in indent.
     mrc 15, 0, r0, c1, c0, 1
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:543: space before tab in indent.
     bic r0, r0, #7
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:544: space before tab in indent.
     mcr 15, 0, r0, c1, c0, 1
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:546: space before tab in indent.
     mrc 15, 0, r0, c1, c0, 1
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:547: space before tab in indent.
     orr r0, r0, #7
warning: squelched 8 whitespace errors
warning: 13 lines add whitespace errors.
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:200: new blank line at EOF.
+
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:446: new blank line at EOF.
+
warning: 2 lines add whitespace errors.
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:202: new blank line at EOF.
+
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:280: new blank line at EOF.
+
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:541: new blank line at EOF.
+
warning: 3 lines add whitespace errors.
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:811: space before tab in indent.
     mrc 15, 0, r0, c1, c0, 1
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:812: space before tab in indent.
     bic r0, r0, #7
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:813: space before tab in indent.
     mcr 15, 0, r0, c1, c0, 1
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:815: space before tab in indent.
     mrc 15, 0, r0, c1, c0, 1
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:816: space before tab in indent.
     orr r0, r0, #7
warning: squelched 7 whitespace errors
warning: 12 lines add whitespace errors.
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:1766: new blank line at EOF.
+
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:4174: new blank line at EOF.
+
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:4471: new blank line at EOF.
+
warning: 3 lines add whitespace errors.
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:195: new blank line at EOF.
+
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:781: new blank line at EOF.
+
warning: 2 lines add whitespace errors.
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:260: new blank line at EOF.
+
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:331: new blank line at EOF.
+
warning: 2 lines add whitespace errors.
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:599: new blank line at EOF.
+
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:1136: new blank line at EOF.
+
warning: 2 lines add whitespace errors.
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:49: new blank line at EOF.
+
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:440: new blank line at EOF.
+
warning: 2 lines add whitespace errors.
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:319: new blank line at EOF.
+
warning: 1 line adds whitespace errors.
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:2232: space before tab in indent.
     mrc 15, 0, r0, c1, c0, 1
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:2233: space before tab in indent.
     bic r0, r0, #7
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:2234: space before tab in indent.
     mcr 15, 0, r0, c1, c0, 1
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:2236: space before tab in indent.
     mrc 15, 0, r0, c1, c0, 1
/home/administrator/i.MX53-QSB-Android-Gingerbread-Release4.3/src/bootable/bootloader/uboot-imx/.git/rebase-apply/patch:2237: space before tab in indent.
     orr r0, r0, #7
warning: squelched 22 whitespace errors
warning: 27 lines add whitespace errors.
fatal: corrupt patch at line 172

What do I need to do?

0 Kudos

592 Views
test_developer
Contributor I

Arun,

I've tried upgrading the OS to Ubuntu 12.04 LTS but I still get the same error.

Now I'm installing 10.04 LTS 64bit that I've found on the internet. Will post again if the same error occurs.

0 Kudos

592 Views
test_developer
Contributor I

Guys, I'm having the same problem mentioned.

The problem is I'm running on Ubuntu 10.04 64bit.

I did a $uname -a

and got i686 GNU/Linux <-- which shows that I'm running on a 64bit.

Why do I still get that error? Please help. Thanks.

0 Kudos

592 Views
arunmitteam
Contributor III

This is my output for the same command -

Linux arun 2.6.32-38-generic #83-Ubuntu SMP Wed Jan 4 11:12:07 UTC 2012 x86_64 GNU/Linux

0 Kudos

592 Views
arunmitteam
Contributor III

Did you download the ubuntu 10.04 from internet or trying to use the image that came with the QSB?

- Arun

0 Kudos

592 Views
admin
Specialist II

AdeneoEmbedded, can you help with Arun's question?

0 Kudos

592 Views
arunmitteam
Contributor III

Hi,

I finally found out that the issue is with the Ubuntu 32 bit version. The patch script fails in the Ubuntu VM that comes in the DVD along with the board. I was trying with 32 bit Ubuntu default VM for a long time and gave up. Again I started with a fresh install of Ubuntu 64 bit and did all the setup. So the script works only for 64 bit Ubuntu though the document says otherwise. Please correct me if I'm wrong.

0 Kudos

592 Views
alishaperkins
Contributor III

r.lorriaux

HI Remi - Can you possibly direct us to the right person that might be able answer the above question?  Thanks! Alisha

0 Kudos

592 Views
r_lorriaux
Contributor I

Hi Alisha & Arun,

That person would be me, so here it goes:

We have heard of problems coming from people using that virtual machine image. It seems that the version of Ubuntu that has been used (10.04) has issues unpacking the BSP archive (although we also test it on 10.04 and have no issues). Upgrading Ubuntu or moving to 64 bit does fix it, so I can confirm that.

Remi

0 Kudos

592 Views
arunmitteam
Contributor III

yes definitely. There were no issues when I moved to 64 bit ubuntu version. But I was trying with the image for so many days, i lost all the hope and moved on. Somewhere one person in forum had replied try ubuntu 64 bit and as a last resort I tried it. So it's better to add a one liner in the documentation or have the 64 bit image with the board so that people will know what could be a possible solution to it. Sorry if I sound like pin pointing mistakes, you guys are doing a great job. It's  just a small suggestion from my experience. Thanks!

0 Kudos