Giter VIP home page Giter VIP logo

omap-image-builder's Introduction

eeprom database

BeagleBoard.org BeagleBone (original bone/white):

  A4: [aa 55 33 ee 41 33 33 35  42 4f 4e 45 30 30 41 34 |.U3.A335BONE00A4|]
  A5: [aa 55 33 ee 41 33 33 35  42 4f 4e 45 30 30 41 35 |.U3.A335BONE00A5|]
  A6: [aa 55 33 ee 41 33 33 35  42 4f 4e 45 30 30 41 36 |.U3.A335BONE00A6|]
 A6A: [aa 55 33 ee 41 33 33 35  42 4f 4e 45 30 41 36 41 |.U3.A335BONE0A6A|]
 A6B: [aa 55 33 ee 41 33 33 35  42 4f 4e 45 30 41 36 42 |.U3.A335BONE0A6B|]
   B: [aa 55 33 ee 41 33 33 35  42 4f 4e 45 30 30 30 42 |.U3.A335BONE000B|]

BeagleBoard.org or Element14 BeagleBone Black:

  A5: [aa 55 33 ee 41 33 33 35  42 4e 4c 54 30 30 41 35 |.U3.A335BNLT00A5|]
 A5A: [aa 55 33 ee 41 33 33 35  42 4e 4c 54 30 41 35 41 |.U3.A335BNLT0A5A|]
 A5B: [aa 55 33 ee 41 33 33 35  42 4e 4c 54 30 41 35 42 |.U3.A335BNLT0A5B|]
 A5C: [aa 55 33 ee 41 33 33 35  42 4e 4c 54 30 41 35 43 |.U3.A335BNLT0A5C|]
  A6: [aa 55 33 ee 41 33 33 35  42 4e 4c 54 30 30 41 36 |.U3.A335BNLT00A6|]
   B: [aa 55 33 ee 41 33 33 35  42 4e 4c 54 30 30 30 42 |.U3.A335BNLT000B|]
   C: [aa 55 33 ee 41 33 33 35  42 4e 4c 54 30 30 30 43 |.U3.A335BNLT000C|]
   C: [aa 55 33 ee 41 33 33 35  42 4e 4c 54 30 30 43 30 |.U3.A335BNLT00C0|]

BeagleBoard.org BeagleBone Blue:

  A2: [aa 55 33 ee 41 33 33 35  42 4e 4c 54 42 4c 41 30 |.U3.A335BNLTBLA2|]

BeagleBoard.org BeagleBone Black Wireless:

  A5: [aa 55 33 ee 41 33 33 35  42 4e 4c 54 42 57 41 35 |.U3.A335BNLTBWA5|]

BeagleBoard.org PocketBeagle:

  A2: [aa 55 33 ee 41 33 33 35  50 42 47 4c 30 30 41 32 |.U3.A335PBGL00A2|]

SeeedStudio BeagleBone Green:

  1A: [aa 55 33 ee 41 33 33 35  42 4e 4c 54 1a 00 00 00 |.U3.A335BNLT....|]
   ?: [aa 55 33 ee 41 33 33 35  42 4e 4c 54 42 42 47 31 |.U3.A335BNLTBBG1|]

SeeedStudio BeagleBone Green Wireless:

 W1A: [aa 55 33 ee 41 33 33 35  42 4e 4c 54 47 57 31 41 |.U3.A335BNLTGW1A|]

SeeedStudio BeagleBone Green Gateway:

GG1A: [aa 55 33 ee 41 33 33 35  42 4e 4c 54 47 57 31 41 |.U3.A335BNLTGG1A|]

Arrow BeagleBone Black Industrial:

  A0: [aa 55 33 ee 41 33 33 35  42 4e 4c 54 41 49 41 30 |.U3.A335BNLTAIA0|]

BeagleBone Black Industrial:

  A0: [aa 55 33 ee 41 33 33 35  42 4e 4c 54 45 49 41 30 |.U3.A335BNLTEIA0|]

SanCloud BeagleBone Enhanced:

   A: [aa 55 33 ee 41 33 33 35  42 4e 4c 54 53 45 30 41 |.U3.A335BNLTSE0A|]

MENTOREL BeagleBone uSomIQ:

   6: [aa 55 33 ee 41 33 33 35  42 4e 4c 54 4d 45 30 36 |.U3.A335BNLTME06|]

Neuromeka BeagleBone Air:

  A0: [aa 55 33 ee 41 33 33 35  42 4e 4c 54 4e 41 44 30 |.U3.A335BNLTNAD0|]

Embest replica?:

      [aa 55 33 ee 41 33 33 35  42 4e 4c 54 74 0a 75 65 |.U3.A335BNLTt.ue|]

GHI OSD3358 Dev Board:

 0.1: [aa 55 33 ee 41 33 33 35  42 4e 4c 54 47 48 30 31 |.U3.A335BNLTGH01|]

PocketBone:

   0: [aa 55 33 ee 41 33 33 35  42 4e 4c 54 42 50 30 30 |.U3.A335BNLTBP00|]

Octavo Systems OSD3358-SM-RED:

   0: [aa 55 33 ee 41 33 33 35  42 4e 4c 54 4F 53 30 30 |.U3.A335BNLTOS00|]

BeagleLogic Standalone:

   A: [aa 55 33 ee 41 33 33 35  42 4c 47 43 30 30 30 41 |.U3.A335BLGC000A|]

BeagleBone AI-64:

  B0: [aa 55 33 ee 01 37 00 10  2e 00 42 42 4f 4e 45 41 |.U3..7....BBONEA|]
      [49 2d 36 34 2d 42 30 2d  00 00                   |I-64-B0-..      |]

BeaglePlay:

  A0: [aa 55 33 ee 01 37 00 10  2e 00 42 45 41 47 4c 45  |.U3..7....BEAGLE|]
      [50 4c 41 59 2d 41 30 2d  00 00                    |PLAY-A0-..      |]

Scripts to support customized image generation for many arm systems

BeagleBoard branch:

git clone https://github.com/beagleboard/image-builder.git

Release Process:

bb.org-v201Y.MM.DD
git tag -a bb.org-v201Y.MM.DD -m 'bb.org-v201Y.MM.DD'
git push origin --tags

Master branch:

git clone https://github.com/RobertCNelson/omap-image-builder

eewiki.net: Debian Stable (armel) minfs:

./RootStock-NG.sh -c eewiki_minfs_debian_buster_armel

eewiki.net: Debian Stable (armhf) minfs:

./RootStock-NG.sh -c eewiki_minfs_debian_buster_armhf

eewiki.net: Ubuntu Stable (armhf) minfs:

./RootStock-NG.sh -c eewiki_minfs_ubuntu_bionic_armhf

elinux.org: Debian Images:

./RootStock-NG.sh -c rcn-ee.net-console-debian-buster-armhf
http://elinux.org/BeagleBoardDebian#Demo_Image

elinux.org: Ubuntu Images:

./RootStock-NG.sh -c rcn-ee.net-console-ubuntu-bionic-armhf
http://elinux.org/BeagleBoardUbuntu#Demo_Image

Release Process:

vYEAR.MONTH
git tag -a v202y.mm -m 'v202y.mm'
git push origin --tags

MachineKit:

./RootStock-NG.sh -c machinekit-debian-stretch
http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#BBW.2FBBB_.28All_Revs.29_Machinekit

omap-image-builder's People

Contributors

apr-cn-eng avatar atsushinemoto avatar baorepo avatar bdube avatar bollenn avatar cdsteinkuehler avatar danlipsitt avatar dlech avatar dschaper avatar g40 avatar jadonk avatar jbdatko avatar jlefley avatar kingwad avatar krvprashanth avatar liberato-whisper avatar mcrapet avatar mranostay avatar nunojpg avatar pillar1989 avatar richneese avatar robertcnelson avatar rpjday avatar ungureanuvladvictor avatar wijnen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

omap-image-builder's Issues

MITM resistance: missing pieces

With most of the http: and git: URLs now replaced by https:, I've run grep -rEioh '(#.*)?(http|git)://[^ "]*' | sort -u on the repo and grouped the results.

Critical

http://debian.beagleboard.org/packages/beagleboneblack-archive-keyring.asc

Move the key into the repo?

Problematic?

http://www.machinekit.net/deb/wheezy-armhf/v3.8.13xenomai-bone33/
http://rcn-ee.homeip.net:81/dl/mirrors/deb
git://arago-project.org/git/projects/am33x-cm3.git
git://git.linuxcnc.org/git/linuxcnc.git
git://git.mah.priv.at/xenomai-linuxcnc.git

Harmless

(Commented out)

##deb-src http://${deb_mirror}
##deb-src http://ftp.debian.org/debian
#deb http://${deb_mirror}
#deb http://ftp.debian.org/debian
#deb-src http://${deb_mirror}
#deb-src http://ftp.debian.org/debian
#deb-src http://security.debian.org/
#git clone -b MachineKit-ubc git://git.mah.priv.at/emc2-dev.git
#http://blog.npmjs.org/post/78085451721/npms-self-signed-certificate-is-no-more
#http://eewiki.net/display/linuxonarm/LSR+COM6L+Adapter+Board
#http://ftp.us.debian.org/debian/pool/main/d/debootstrap/
#http://linux.die.net/man/8/debootstrap
#http://shop.leopardimaging.com/product.sc?productId=17
#wget http://static.mah.priv.at/public/beaglebone/starterkit/deploy/3.8.13xenomai-bone20.config
#wget http://static.mah.priv.at/public/beaglebone/starterkit/deploy/3.8.13xenomai-bone23.config
#wget http://www.machinekit.net/deb/wheezy-armhf/v3.8.13xenomai-bone26/3.8.13xenomai-bone26.config

(Webpages)

http://beagleboard.org/source
http://bugs.elinux.org/issues/61
http://elinux.org/BeagleBoardDebian#Demo_Image
http://elinux.org/BeagleBoardUbuntu#Demo_Image
http://elinux.org/Beagleboard:BeagleBoneBlack_Debian
http://bb-lcnc.blogspot.com/p/machinekit_16.html
http://bugs.elinux.org/projects/debian-image-releases
http://eewiki.net/display/linuxonarm/Home

(Trust follows from signing keys)

http://${apt_proxy}${deb_mirror}
http://${apt_proxy}\
http://${deb_mirror}
http://ftp.debian.org/debian
http://security.debian.org/
http://debian.beagleboard.org/packages

(= Self)

http://192.168.7.2\

quantal: serial terminal (getty)

From precise -> quantal something changed with the serial handling:

  • CPUFreq Utilities: Setting ondemand CPUFreq governor... * CPU0... [ OK ]
  • Starting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
    [ OK ]
    and nothing...

the debian console image take up to 2 mins to boot, any suggestion?

hi,i use bb.org-console-debian-stable.conf to build an image for Beaglebone Black Rev C. It take up to 2 mins to login when with no ethernet cable connected .

I find the following solution for Ubuntu in the file "scripts/chroot.sh", how to do that on debian,any suggestion?

thanks.


case "${deb_distribution}" in
debian)
    sudo cp ${OIB_DIR}/target/init_scripts/generic-${deb_distribution}.sh ${tempdir}/etc/init.d/generic-boot-script.sh
    sudo cp ${OIB_DIR}/target/init_scripts/capemgr-${deb_distribution}.sh ${tempdir}/etc/init.d/capemgr.sh
    sudo cp ${OIB_DIR}/target/init_scripts/capemgr ${tempdir}/etc/default/
    distro="Debian"
    ;;
ubuntu)
    sudo cp ${OIB_DIR}/target/init_scripts/generic-${deb_distribution}.conf ${tempdir}/etc/init/generic-boot-script.conf
    sudo cp ${OIB_DIR}/target/init_scripts/capemgr-${deb_distribution}.sh ${tempdir}/etc/init/capemgr.sh
    sudo cp ${OIB_DIR}/target/init_scripts/capemgr ${tempdir}/etc/default/
    distro="Ubuntu"

    if [ -f ${tempdir}/etc/init/failsafe.conf ] ; then
        #Ubuntu: with no ethernet cable connected it can take up to 2 mins to login, removing upstart sleep calls..."
        sudo sed -i -e 's:sleep 20:#sleep 20:g' ${tempdir}/etc/init/failsafe.conf
        sudo sed -i -e 's:sleep 40:#sleep 40:g' ${tempdir}/etc/init/failsafe.conf
        sudo sed -i -e 's:sleep 59:#sleep 59:g' ${tempdir}/etc/init/failsafe.conf
    fi
    ;;
esac

here is the kernel output:

networking[247]: Configuring network interfaces...Internet Systems Consortium DHCP Client 4.2.2
networking[247]: Copyright 2004-2011 Internet Systems Consortium.
networking[247]: All rights reserved.
networking[247]: For info, please visit https://www.isc.org/software/dhcp/
[   14.464526] net eth0: initializing cpsw version 1.12 (0)
[   14.478669] net eth0: phy found : id is : 0x7c0f1
[   14.489531] libphy: PHY 4a101000.mdio:01 not found
[   14.494642] net eth0: phy 4a101000.mdio:01 not found on slave 1
[   14.512087] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
networking[247]: Listening on LPF/eth0/1c:ba:8c:e4:c1:e8
networking[247]: Sending on   LPF/eth0/1c:ba:8c:e4:c1:e8
networking[247]: Sending on   Socket/fallback
networking[247]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
[   14.835369] omap_rng 48310000.rng: base address of priv is -97452032
[   14.900233] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
networking[247]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
networking[247]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
networking[247]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 15
networking[247]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 21
networking[247]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
networking[247]: No DHCPOFFERS received.
networking[247]: No working leases in persistent database - sleeping.
networking[247]: done.

Debian console version partition problem (Bug)

When building the Console image (debian-7.2.6-console-armhf-2014-09-04) using setup_sdcard.sh script and passing the argument --beagleboard.org-production the usb functionality is added. However, there is no way to use the separated space within the Beaglebone. One can mount the partition manually by mount /dev/mmclbk0p1 /boot/uboot/, but changes made in there are not happening. Also when mount is added to the fstab, the booting hangs and one has to enter default mode.

Beagle C4 (classic): u-boot lock up on reboot

Config: ONDEMAND disabled to work around it..

RobertCNelson/linux-dev@69e54d1

Affected in:
v3.7-rc5: (u-boot-v2012.10)
v3.6.x
v3.5.7

(serial)
voodoo@beagle-c4-256mb-c0:~$ sudo reboot

The system is going down for reboot NOW!6mb-c0 (ttyO2) (Mon Nov 12 12:21:47 2
[ 65.517822] EXT4-fs (sda6): re-mounted. Opts: (null)
[ 67.875213] musb-hdrc musb-hdrc.0: remove, state 4
[ 67.881164] usb usb2: USB disconnect, device number 1
[ 67.891601] musb-hdrc musb-hdrc.0: USB bus 2 deregistered
[ 67.923950] Disabling non-boot CPUs ...
[ 67.928619] Restarting system.
���40W���������
(hardlock)

Unafffected:
v3.4.7: RobertCNelson/stable-kernel@d734e12

Bisect Log:
git bisect good v3.4
git bisect bad v3.5-rc1

git bisect bad 6f73b3629f774c6cba589b15fd095112b25ca923
git bisect good 99262a3dafa3290866512ddfb32609198f8973e9
git bisect bad 5d4e2d08e7fdf7339f84a1c670d296a77e02f881
git bisect bad f6a26ae7699416d86bea8cb68ce413571e9cab3c
git bisect good 8dca6010d44cc722a94dc6da96560f9083dac782
git bisect good 813a95e5b4fa936bbde10ef89188932745dcd7f4
git bisect bad be944f1e79063e4f27b46c74f10c86b2387afa9f
git bisect bad ff658f46d4641ac023b0d807d7e946822c925829
git bisect good afeb36f128e387f8ad2cd7cd94020bae984ea9b4
git bisect bad d61676b8f079d39808559e67c48a518fd14411ec
git bisect bad a8822e2d570bc265c9fa0347710fbcc7bef8b327

bisect_config: https://gist.github.com/4075506
script branch: v3.4.x

v3.5.x: FIXED/HACK: RobertCNelson/stable-kernel@5d331bf
v3.6.x: FIXED/HACK: RobertCNelson/stable-kernel@1750613

Validation: 2012.11

Beagle C4: (pass)
Beagle xM wifi: (pass)
Beagle xM LCD7: (pass)
Panda:
Panda ES: (pass)
Bone:
Bone LCD7: (pass)
Bone LCD3: (pass)

[email protected] timed out on beagleboard.org-console.sh

I use bb.org-console-debian-stable.sh to build an image ,it takes more than 1 min to boot.

I found there is no ttyGS0 ,and the message shows that:

root@bbb:~# tail -f /var/log/messages 
Sep  1 09:35:27 bbb kernel: [    4.583006] net eth0: initializing cpsw version 1.12 (0)
Sep  1 09:35:27 bbb kernel: [    4.587093] net eth0: phy found : id is : 0x7c0f1
Sep  1 09:35:27 bbb kernel: [    4.612459] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Sep  1 09:35:30 bbb kernel: [   70.219248] can: controller area network core (rev 20120528 abi 9)
Sep  1 09:35:30 bbb kernel: [   70.219368] NET: Registered protocol family 29
Sep  1 09:35:30 bbb kernel: [   70.233589] can: raw protocol (rev 20120528)
Sep  1 09:35:53 bbb systemd[1]: Job dev-ttyGS0.device/start timed out.
Sep  1 09:35:53 bbb systemd[1]: Job [email protected]/start failed with result 'dependency'.
Sep  1 09:35:53 bbb systemd[1]: Job dev-ttyGS0.device/start failed with result 'timeout'.
Sep  1 09:35:53 bbb systemd[1]: Startup finished in 2s 870ms 281us (kernel) + 1min 30s 266ms 71us (userspace) = 1min 33s 136ms 352us.
^C
root@bbb:~# ifconfig -a 
eth0      Link encap:Ethernet  HWaddr 1c:ba:8c:e4:c1:e8  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:40 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

RootStock-NG.sh fails when using qemu-arm-static

I'm currently unable to build BBB images on amd64 due to RootStock-NG.sh failing with:

chroot: failed to run command ‘/bin/sh’: No such file or directory

The reason may be that in scripts/chroot.sh the qemu-arm-static binary, which is required when building on a different architecture, is removed from the chroot before the cleanup_script.sh was run.

BeagleBoard ULC7 (v3.7.x)

use kernel module over u-boot setting:

http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/commit/?id=f0e2305c7e1

diff --git a/recipes-kernel/linux/linux-mainline-3.2/beagleboard/defconfig b/recipes-kernel/linux/linux-mainline-3.2/beagleboard/defconfig
index eaf9548..28f096c 100644
--- a/recipes-kernel/linux/linux-mainline-3.2/beagleboard/defconfig
+++ b/recipes-kernel/linux/linux-mainline-3.2/beagleboard/defconfig
@@ -2907,7 +2907,7 @@ CONFIG_BACKLIGHT_CLASS_DEVICE=y
CONFIG_BACKLIGHT_GENERIC=y

CONFIG_BACKLIGHT_ADP8860 is not set

CONFIG_BACKLIGHT_ADP8870 is not set

-CONFIG_BACKLIGHT_TLC59108=m
+CONFIG_BACKLIGHT_TLC59108=y

package lists cant be diffed

the package lists in the .conf files cannot be reasonably diffed and massaged by meld

I'd propose to change the habit to transform them from:

fasel="apt-transport-https alsa-utils apache2 autoconf automake avahi-daemon bash-completion \
u-boot-tools usb-modeswitch usbutils v4l-utils vim wget wireless-tools \
wpasupplicant wvdial zd1211-firmware"

into this:

fasel=" \
    alsa-utils  \
    apache2 \
    apt-transport-https \
    autoconf    \
    automake    \
...
    zd1211-firmware \
"

This Emacs Lisp fragment does the job - mark a region including quotes and hit M-/ - replaces the region with a sorted list of packages, one per line

Emacs lisp: mhaberler@a8099e6

result: mhaberler@e3a0c45?diff=unified

Panda ES Stuck on u-boot v2012.04

Panda' ES locks up on bootup with > u-boot v2012.04

RobertCNelson/Bootloader-Builder#1

Panda ES:
v2013.01-rc1 + 3.2.33-x15

[ 2.613739] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: [email protected]
[ 2.622863] Unable to handle kernel NULL p
(lockup)

With 3.6.6-x3:

U-Boot 2013.01.-rc1-dirty (Nov 07 2012 - 14:33:13)

CPU : OMAP4460 ES1.1
Board: OMAP4 Panda

debian@arm:~$ uname -a
Linux arm 3.6.6-x3 #1 SMP Wed Nov 7 15:28:55 CST 2012 armv7l GNU/Linux

(Panda original if fine)

Correct usage of local --bootloader argument in create-sdcard.sh?

Hey,

I'm trying to insert a custom built bootloader (from RobertCNelson/Bootloader-Builder) locally during the image creation of a jessie distro.

I put the built MLO-am335x_evm-v2016.03-r6 and u-boot-am335x_evm-v2016.03-r6.img into a folder under omap-image-builder and added --bootloader ../../mydir/ to the setup-sdcard.sh command, but the script exits inside local_bootloader () with an error copying. ${boot_name} does not seem to be set - not sure if it is needed?

I tried using * at the end of the dir and an absolute path but neither worked for me.

Any suggestions welcome - Maybe my syntax is off in the switch or I am missing something with another flag. Also - I presume I need to have a local copy of bootloader-ng also?

Many thanks!

Des

temporary directory: random tempdir, need to re-download again if download fail.

Hi, one thing I encountered is that in the "RootStock-NG.sh", it will make temp directory which is random generated, for example, "tempdir=$(mktemp -d -p ${DIR}/ignore)" http://pastebin.ubuntu.com/11734252/

The problem is my network sometimes is unstable, and when it failed to download (and it always will :( ), everything that have been downloaded need to re-download again (Since another new different random folder will be generated). So I fixed the temp directory location instead of letting it random generate each time (I replace all 3 occurrence in the script to be something like "tempdir=$(mkdir -d -p ${DIR}/ignore/tempdir)").

Are there any design consideration for random generating the temp folder to store data each time? Any issue if fix the temp directory as what I did to overcome network issue?

Thanks. :)

Element14 Rev C ID

There may be a typo or error with the last two bytes in the Rev C identifier under your EEPROM database section in the readme:

C: [aa 55 33 ee 41 33 33 35  42 4e 4c 54 30 30 30 43 |.U3.A335BNLT000C|]

On our Element14 Rev C we read (not byteswapped):

[ 55aa ee33 3341 3533 4e42 544c 3030 3043  | .U3.A335BNLT00C0 ]

chroot: failed to run command `debootstrap/debootstrap': No such file or directory

Hi,

I tried to use the image builder but run into a problem one it tries to setup the root fs.

See below the output.

Nay clue?

Cheers

Running as:

sudo /home/codewithpassion/openrov/omap-image-builder/git/project-rootstock/rootstock --imagesize 2G --fqdn arm --login ubuntu --password temppwd --fullname "Demo User" --seed git-core,nano,pastebinit,wget,i2c-tools,bsdmainutils,usb-modeswitch,usbutils,wireless-tools,wpasupplicant,openssh-server,apache2,ntpdate,ppp,btrfs-tools,cpufrequtils,fbset,initramfs-tools,lsb-release,linux-firmware,devmem2,python-software-properties --mirror http://ports.ubuntu.com/ubuntu-ports/ --components "main,universe,multiverse" --dist oneiric --serial ttyO2 --script /home/codewithpassion/openrov/omap-image-builder/tools/fixup.sh --kernel-image http://rcn-ee.net/deb/oneiric-armel/v3.2.30-x14/linux-image-3.2.30-x14_1.0oneiric_armel.deb --secondary-kernel-image http://rcn-ee.net/deb/oneiric-armel/v3.2.30-psp23/linux-image-3.2.30-psp23_1.0oneiric_armel.deb --apt-upgrade --arch=armel

I: Running on a x86_64 machine
I: Creating temporary qemu Image to be used as rootfs
I: Mounting temporary Image
I: Running first stage
/home/codewithpassion/openrov/omap-image-builder/git/project-rootstock/rootstock: 364: /home/codewithpassion/openrov/omap-image-builder/git/project-rootstock/rootstock: cannot open /tmp/tmp.laQsE1hgMp/dbfifo: Interrupted system call
chroot: failed to run command `debootstrap/debootstrap': No such file or directory
I: First stage install done
/home/codewithpassion/openrov/omap-image-builder/git/project-rootstock/rootstock: 1107: /home/codewithpassion/openrov/omap-image-builder/git/project-rootstock/rootstock: cannot create /tmp/tmp.laQsE1hgMp/tmpmount/etc/fstab: Directory nonexistent

u-boot: v2013.04 migration

Goal, needs to be compatible with:
ubuntu-12.10-console-armhf-2013-03-28

BeagleBone [x]
BBB [x]
Panda [x]
Panda ES [x]
BeagleBoard [x]

Beagleboard Rev C + 14.04 image

I tried your ubuntu-14.04.2-console-armhf-2015-07-08.tar.xz image with my beagleboard rev C2. I found two issues. The MLO downloaded with setup_sdcard.sh does not work. After using an older version (v2015.04-r1 or v2015.01-r6) the board boots. Furthermore, the serial port in omap3-beagle.conf is set to ttyS2 but it has to be ttyO2. Otherwise a login from the serial port is not possible.

Nice to see up to date software for such an old board. Good work!

Cant boot without eth0 (bug)

Hello there,
I am using the console version of Debian for BeagleBone Black. I have installed the gadget script that allows me to use usb device as network adapter (usb). Now when I boot the board it checks the eth0 and usb0. If they both are connected it boots really fast. Although if i shutdown the board now and take away the ethernet cable, the board will hang in the checking eth0 state (read from tty0) for about 2 minutes untill the board boots. If i connect the ethernet cable (dhcp server router on the other end) the board will boot soon.

I thought maybe this will only happen one time, but now everytime i boot the board without ethernet connected its taking ages for beagle to boot. I have checked this with 2 different BeagleBone Black boards one rev B and one rev C (but same image).

This is the tty0 (serial) output till the place the booting stops:

U-Boot SPL 2014.10-rc2-00017-g621bc23 (Sep 04 2014 - 19:58:48)


U-Boot 2014.10-rc2-00017-g621bc23 (Sep 04 2014 - 19:58:48), Build: jenkins-github_Bootloader-Builder-22

       Watchdog enabled
I2C:   ready
DRAM:  512 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
Using default environment

Net:   <ethaddr> not set. Validating first E-fuse MAC
cpsw, usb_ether
Hit any key to stop autoboot:  0
gpio: pin 53 (gpio 53) value is 1
Card did not respond to voltage select!
Card did not respond to voltage select!
gpio: pin 56 (gpio 56) value is 0
gpio: pin 55 (gpio 55) value is 0
gpio: pin 54 (gpio 54) value is 0
switch to partitions #0, OK
mmc1(part 0) is current device
gpio: pin 54 (gpio 54) value is 1
SD/MMC found on device 1
Checking for: /uEnv.txt ...
Checking for: /boot.scr ...
Checking for: /boot/boot.scr ...
Checking for: /boot/uEnv.txt ...
gpio: pin 55 (gpio 55) value is 1
764 bytes read in 24 ms (30.3 KiB/s)
Loaded environment from /boot/uEnv.txt
Checking if uname_r is set in /boot/uEnv.txt...
gpio: pin 56 (gpio 56) value is 1
Running uname_boot ...
loading /boot/vmlinuz-3.8.13-bone64 ...
5605264 bytes read in 382 ms (14 MiB/s)
loading /boot/dtbs/3.8.13-bone64/am335x-boneblack.dtb ...
26098 bytes read in 34 ms (749 KiB/s)
loading /boot/initrd.img-3.8.13-bone64 ...
2282569 bytes read in 153 ms (14.2 MiB/s)
debug: [console=ttyO0,115200n8 root=UUID=49a3b628-4d8e-4a0f-b159-bd265e36a9df ro rootfstype=ext4 rootwait fixrtc quiet init=/lib/systemd/systemd] ...
debug: [bootz 0x82000000 0x88080000:22d449 0x88000000] ...
Kernel image @ 0x82000000 [ 0x000000 - 0x558790 ]
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Ramdisk to 8fdd2000, end 8ffff449 ... OK
   Loading Device Tree to 8fdc8000, end 8fdd15f1 ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.338900] omap2_mbox_probe: platform not supported
[    0.493923] tps65217-bl tps65217-bl: no platform data provided
[    0.558079] bone-capemgr bone_capemgr.9: slot #0: No cape found
[    0.595187] bone-capemgr bone_capemgr.9: slot #1: No cape found
[    0.632295] bone-capemgr bone_capemgr.9: slot #2: No cape found
[    0.669405] bone-capemgr bone_capemgr.9: slot #3: No cape found
[    0.685183] bone-capemgr bone_capemgr.9: slot #6: BB-BONELT-HDMIN conflict P8.45 (#5:BB-BONELT-HDMI)
[    0.694765] bone-capemgr bone_capemgr.9: slot #6: Failed verification
[    0.701502] bone-capemgr bone_capemgr.9: loader: failed to load slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
[    0.717894] omap_hsmmc mmc.5: of_parse_phandle_with_args of 'reset' failed
[    0.781004] pinctrl-single 44e10800.pinmux: pin 44e10854 already requested by 44e10800.pinmux; cannot claim for gpio-leds.8
[    0.792693] pinctrl-single 44e10800.pinmux: pin-21 (gpio-leds.8) status -22
[    0.799971] pinctrl-single 44e10800.pinmux: could not request pin 21 on device pinctrl-single
Loading, please wait...
systemd-fsck[202]: rootfs: clean, 13088/111104 files, 94873/444160 blocks
[    4.431551] libphy: PHY 4a101000.mdio:01 not found
[    4.436598] net eth0: phy 4a101000.mdio:01 not found on slave 1

After about 2 mins the login message shows up:

Debian GNU/Linux 7 beaglebone ttyO0

default username:password is [debian:temppwd]

Support/FAQ: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian

The IP Address for usb0 is: 192.168.7.2
beaglebone login:

I would really aprichiate help.

emmc-flasher does not set custom dtb in uEnv on eMMC?

Hi!

I added an own config to the build system (https://github.com/robert-budde/omap-image-builder/blob/master/configs/ibb_gateway_debian_testing_armhf.conf) which sets chroot_uenv_txt="ibb_uEnv.txt". The file states "dtb=am335x-boneblack-ibb.dtb". Writing non-flasher sd-cards using setup_sdcard.sh works like a charm and makes the resulting card also use the referenced dtb, though using a flasher-image to flash the eMMC seems it does not migrate the dtb-setting?

difficulty reproducing image @ tag v2014.08

It's probably just be finger trouble, guidance would be appreciated if it is. If there is a more appropriate place for this issue please don't hesitate in re-directing me there.

I've been trying to reproduce your pre-configured image BeagleBone/BeagleBone Black: v3.8.13-bone63 kernel as provided on elinux.org using tag v2014.08 but have been unsuccessful, both the image for microSD and the image for booting from microSD and flashing the eMMC.

Basically we're running RootStock-NG.sh with -c rcn-ee_console_ubuntu_stable_armhf and upon completion (with sudo) setup_sdcard.sh --dtb beaglebone --img foo.img

During the process we can see

Log: (chroot) Installing:  linux-image-3.16.0-armv7-lpae-x2 linux-image-3.16.0-armv7-x4 linux-image-3.8.13-bone63

but when running setup_sdcard.sh we eventually fail with

Transfer of data is Complete, now syncing data to disk...
-----------------------------
Error: [conf_kernel] not defined [armv7_lpae,armv7,bone]...

Some inspection of the setup_sdcard.sh script shows that it isn't conf_kernel that isn't set but rather select_kernel that is empty.

Given the images on elinux.org is there a top-level document that describes how to reproduce the pre-compiled images there from the various git repositories, if there is I'd be happy to just follow it. We are aware of readme.md but it doesn't seem to cover the entire process.

Panda Stuck on v3.2.x

Unhandled fault: imprecise external abort (0x1406) at xyz

u-boot: v2012.10 - v3.6.6-x3 : Unhandled fault: imprecise external abort (0x1406)
u-boot: v2012.10 - v3.7-rc4 : 12 hours later, still not ^...

kernel: v3.9.x migration

BeagleBoard [ ]
zippy2 [ ]

BeagleBoard xM [ ]
ulcd7 (lcd) [ ]
ulcd7 (touch) [ ]
lsr wifi [ ]
spidev [ ]
Aptina [ ]
Clock looks off...

PandaBoard [ ]
PandaBoard ES [ ]
spidev [ ]

Validation: 2012.12

Beagle B5/Zippy2:
Beagle C4:
Beagle xM wifi: [okay]
Beagle xM LCD7: [okay]
Panda: [okay]
Panda ES: [okay]
Bone: [okay]
Bone LCD7:
Bone LCD3: [okay]

deborphan removes explicitly installed library packages

I noticed when the chroot_very_small_image option is enabled and I have specified a library package (i.e. libtar0) in deb_include, when I run RootStock-NG.sh, deborphan is called and subsequently removes the library package I specified.

I suppose it may be unusual to explicitly require a library package but I am developing a custom image to support software that is not packaged as a Debian package and I need to include its library dependencies in the image.

One possible fix is to add all the packages required in the project file to deborphan's keep list so they are not removed when deborphan runs. I have made this change in this commit: c9a5904

Bug in scripts/chroot.sh

Hello,

since commit 91f43f7 I can't build the images anymore, because of the following errors:

platform-bbb/image-builder/scripts/chroot.sh: 235: [: xarmhf: unexpected operator
platform-bbb/image-builder/scripts/chroot.sh: 235: [: xarmhf: unexpected operator
platform-bbb/image-builder/scripts/chroot.sh: 238: [: xarmhf: unexpected operator

The problem seems to be that the comparisons on that line are done with == as comparison operator instead of =.

Validation: 2013.02

Beagle B5/Zippy2:
Beagle C4:
Beagle xM wifi: [x]
Beagle xM LCD7:
Panda: [x]
Panda ES:
Bone:
Bone LCD7:
Bone LCD3: [x]
Bone DVI Cape: [x]

temporary directory: target is busy

Sometimes if a rootfs build doesn't go well, a subseqeuent run will end with something like the following line:

umount: /home/crunchex/work/omap-image-builder4/ignore/tmp.3e5NsX4RjV/proc: target is busy
(In some cases useful info about processes that
use the device is found by lsof(8) or fuser(1).)

I suspect that this happens because a previous build might have gotten interrupted before the script unmounted the subdirectories while in chroot - but I could be wrong. Anyway, this leaves me with a tmp directory with some messed up permissions that I can't remove, even as root (via sudo). Any tips on how to resolve this issue?

Validation: 2013.03

Beagle B5/Zippy2:
Beagle C4:
Beagle xM wifi:
Beagle xM LCD7:
Panda: [x]
Panda ES:
Bone: [x]
Bone LCD7:
Bone LCD3:
BBB: [x]

Removing xscreensaver from autostart causes incorrect permissions

It looks like most image generation script (specifically, all except machinekit-wheezy) remove xscreensaver from being auto-started by writing a filtered version of /etc/xdg/lxsession/LXDE/autostart to a temporary file which is then copied back. Unfortunately, this can, and at least for the latest Nov 12 debian wheezy image for BBB has resulted in incorrect permissions for this file, namely readable only by root. As a result, lxpanel won't start up by default for a user, and so the X display lacks the task bar, desktops, and everything else that comes with lxpanel.

(This has confounded me for quite a while - there are no error messages from the lightdm startup about this logged anywhere that would point to the culprit.)

Build kernel & kernel-headers packages

I'm not sure if this is the right place to ask this, but IWBNI as well as building the kernel you could package it and the headers up as well. There's a 'kernel-package' debian package to help automate this, but I don't know if or how well it will work when doing cross-compiles, so it might have to be done (slowly) natively.

I understand that the generated kernel might not be put in the right place, or named the right thing, but it would be a start at least. And the headers would definitely be useful - I'd like to be able to rebuild some kernel modules.

Thanks!

Failure at bb-npm-installer.postinst step

Trying to build an image that installs the experimental node v4.x. Our build was successful a couple weeks ago, but something about the bb-npm-installer involving an initial install of node v0.10 seems to be breaking the build now. We installed node v0.12, as shown in the other config files and there doesn't seem to be a package for nodejs-v0.10.x or nodejs-v0.10.x-legacy. Tried to match the other Jessie config files as best as possible and made sure we were working from the omap-image-builder's HEAD.

Build log:
omap-build-log.txt

Config file being used:

https://github.com/spiderkeys/omap-image-builder/blob/openrov-dev-image/configs/OpenROV-debian-jessie-development.conf

Any insight is appreciated. Thanks!

src packages

Really should:

dpkg -l | tail -n+6 | cut -d" " -f3 | tr -s "\n" " " | sed "s/:armel//g" | sed "s/:armhf//g" > installed_packages
apt-get source --download-only cat installed_packages

Failed to fetch cdrom://[Debian GNU/Linux 8 _Jessie_ ?

Hi Robert,

Using a freshly cloned copy of this repo and attempting to build a image for Debian Jessie

me@debi7:~/bonebuild/omap-image-builder$ uname -a
Linux debi7 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1 (2015-05-24) x86_64 GNU/Linux
me@debi7:~/bonebuild/omap-image-builder$ ./RootStock-NG.sh -c eewiki_minfs_debian_jessie_armhf
...
Fetched 18.1 MB in 1min 27s (207 kB/s)                                                                                        
W: Failed to fetch cdrom://[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20150606-14:41]/dists/jes
sie/main/binary-i386/Packages  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add
 new CD-ROMs

E: Some index files failed to download. They have been ignored, or old ones used instead.

Is this a local configuration problem? It looks like the Debian host is getting confused. The process works exactly as expected on a Mint distro host.

TAIA.

[email protected] isn't broken, it's the node version being distributed.

This commit [email protected] is broken, make sure to install [email protected] before bonescript appears to assume that [email protected] is broken and works around the issue for BoneScript. I guess that there was a compile error similar to the following installing [email protected]

../node_modules/nan/nan.h:316:47: error: ‘REPLACE_INVALID_UTF8’ is not a member of ‘v8::String’
cc1plus: warning: unrecognized command line option "-Wno-unused-local-typedefs" [enabled by default]

If the is the case, then it's not [email protected] that's broken, it's the version of node v0.10.29 that's is being distributed with Operating Systems like Debian. The Node.js v0.10.29 version being distributed doesn't carry the REPLACE_INVALID_UTF8 patch.

I had a similar issue installing the epoll module. See here for additional information.

BeagleBone + Custom Kernel (uBoot)

I am trying to put the patches from OSADL on my BeagleBone Black but the problem is that I need a pre-installed system on my SD card. With setup_sdcard, which comes with debian demo image, I couldn't update the uImage (which I already have compiled) or anything like that.

I used the --beagleboard.org-production because then I would have the boot/ partition outside of the rootfs/. I tried to delete the two uEnv.txt files and put the MLO and u-boot.img there instead. At the /rootfs/boot i put the uImag and /dts/am335x-boneblack.dtb. But it didn't worked...

That is someway, with the actual script, that could make it work (putting different uImage, in this case)?

Getting g_serial in console image

Hi,

I have been trying the prebuilt images on a BBB. I am most interested in a very basic image, which I think the -concole- images will provide. However, I cannot get the USB serial gadget to work (I do not need the USB ethernet gadget). Looking at the /opt/scripts/boot/am335x_evm.sh script it sees the the console build only has a single ext4 partition and does not use g_multi but uses g_ether instead. If I connect to the device over the network I cannot load g_serial, it throws an error of 'no such device' (IIRC).

Questions:

  • Can g_serial not be loaded when g_ether is loaded?
  • Can one create an image that would forego g_ether and use g_serial instead?
  • Can one create a -console- image with FAT partition, which would allow g_multi and therefore all USB gadget support?

Thanks,
Adi

DE0-Nano-SoC kit - suboptimal partition layout

hi Robert, not sure this is the place to discuss https://www.eewiki.net/display/linuxonarm/DE0-Nano-SoC+Kit#DE0-Nano-SoCKit-SetupmicroSDcard (pls advise otherwise)

the partition layout as per GSRD recommendations is a tad silly and can be improved:

  • the vfat partition is not really necessary - the /boot in ext4 rootfs works just fine and gives less problems on upgrading (vfat symlink snafus during kernel upgrade etc)
  • the A2 partition for the u-boot-with-spl.img should be before the root partition so the root partition can be easily extended to match the SD card

not sure how to proceed on this, are you working on this?
Michael

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.