Loading ...
Sorry, an error occurred while loading the content.

error during openslug 3.10 compile at the very end

Expand Messages
  • gweissenseel
    I just changed my computer to a amd64 bit end when I try to compile openslug I get this message at the end of the compile. Any ideas padBytes error: data
    Message 1 of 2 , Aug 8, 2007
    • 0 Attachment
      I just changed my computer to a amd64 bit end when I try to compile
      openslug I get this message at the end of the compile. Any ideas

      padBytes error: data (1064336) is longer than total_len (1048576)
      at /home/music/slug/slugos-3.10-beta/openslug-

      here is the log:

      NOTE: Executing mkfs.jffs2 --root=/home/music/slug/slugos-3.10-
      beta/openslug-nslu2.tmp/rootfs --faketime --
      output=/home/music/slug/slugos-3.10-beta/openslug-
      nslu2.tmp/deploy/images/openslug-nslu2-20070808011404.rootfs.jffs2 --
      pad --big-endian --eraseblock=0x20000 -D /home/music/slug/slugos-3.10-
      beta/openembedded/files/device_table-slugos.txt
      + nslu2_pack_image
      + test yes = yes
      + install -d /home/music/slug/slugos-3.10-beta/openslug-
      nslu2.tmp/deploy/images/slug
      + install -m 0644 /home/music/slug/slugos-3.10-beta/openslug-
      nslu2.tmp/staging/armeb-linux/lib/nslu2-
      binaries/RedBoot /home/music/slug/slugos-3.10-beta/openslug-
      nslu2.tmp/staging/armeb-linux/lib/nslu2-
      binaries/Trailer /home/music/slug/slugos-3.10-beta/openslug-
      nslu2.tmp/staging/armeb-linux/lib/nslu2-
      binaries/SysConf /home/music/slug/slugos-3.10-beta/openslug-
      nslu2.tmp/deploy/images/slug/
      + install -m 0644 /home/music/slug/slugos-3.10-beta/openslug-
      nslu2.tmp/deploy/images/zImage-nslu2be /home/music/slug/slugos-3.10-
      beta/openslug-nslu2.tmp/deploy/images/slug/vmlinuz
      + install -m 0644 /home/music/slug/slugos-3.10-beta/openslug-
      nslu2.tmp/deploy/images/openslug-nslu2-
      20070808011404.rootfs.jffs2 /home/music/slug/slugos-3.10-
      beta/openslug-nslu2.tmp/deploy/images/slug/flashdisk.jffs2
      + cd /home/music/slug/slugos-3.10-beta/openslug-
      nslu2.tmp/deploy/images/slug
      + slugimage -p -b RedBoot -s SysConf -r
      Ramdisk:1,Flashdisk:flashdisk.jffs2 -t Trailer -
      o /home/music/slug/slugos-3.10-beta/openslug-
      nslu2.tmp/deploy/images/openslug-nslu2-20070808011404.flashdisk.img
      padBytes error: data (1064336) is longer than total_len (1048576)
      at /home/music/slug/slugos-3.10-beta/openslug-
      nslu2.tmp/staging/x86_64-linux/bin/slugimage line 58.
      Read 0x00040000 bytes from "RedBoot" into <RedBoot> (2 blocks / 2
      blocks)
      Read 0x00020000 bytes from "SysConf" into <SysConf> (1 blocks / 1
      blocks)
      Read 0x00103D80 bytes from "vmlinuz" into <Kernel> (9 blocks / 8
      blocks)
      Read 0x00500000 bytes from "flashdisk.jffs2" into <Flashdisk> (40
      blocks / 40 blocks)
      Read 0x00000010 bytes from "Trailer" into <Trailer> (0x00010 bytes /
      0x00010 bytes)
      Wrote 2 blocks (0x00000000 to 0x00040000) from <RedBoot>
      into "/home/music/slug/slugos-3.10-beta/openslug-
      nslu2.tmp/deploy/images/openslug-nslu2-20070808011404.flashdisk.img"
      Wrote 1 blocks (0x00040000 to 0x00060000) from <SysConf>
      into "/home/music/slug/slugos-3.10-beta/openslug-
      nslu2.tmp/deploy/images/openslug-nslu2-20070808011404.flashdisk.img"

      thanks

      Guenter
    • Rod Whitby
      ... It s a known problem that 64bit compiles cause the image to be too large. Simple fix is to build on a 32bit machine (or chroot, or virtual machine). -- Rod
      Message 2 of 2 , Aug 8, 2007
      • 0 Attachment
        gweissenseel wrote:
        > I just changed my computer to a amd64 bit end when I try to compile
        > openslug I get this message at the end of the compile. Any ideas
        >
        > padBytes error: data (1064336) is longer than total_len (1048576)
        > at /home/music/slug/slugos-3.10-beta/openslug-

        It's a known problem that 64bit compiles cause the image to be too large.

        Simple fix is to build on a 32bit machine (or chroot, or virtual machine).

        -- Rod
      Your message has been successfully submitted and would be delivered to recipients shortly.