Change Debian image disk before installing on BBB - linux-kernel

I'm working with beaglebones black always with Debian, more time with "Debian 7.9 2015-11-12 4GB SD LXDE" but in the current time i start working with "Debian 9.2 2017-10-10 4GB SD IoT".
I would like to know if it is possible, and if so, how to do it. So my objetive is when i flash the eMMC of the BeagleBone Black with a new Debian image disk, this image already contains some modifications that I always do after installing a new image, like for example:
-set up a static ip on /etc/network/interfaces
- and other little things
So the goal, is to know the best away (in Windows or Linux) open the image, do the modifications and build the image again, and ofcourse the programs to use.
Best regards,
David

Either mount and modify the SD card.
Or boot from SD and modify the SD card.
Or if you want to flash the same image to multiple devices, then flash to one and modify it to your liking. Once done use the appropriate script in /opt to turn it back into a SD card /flasher.

1) Boot your Beaglebone from the SD card enabling EMMC flashing
Plug the SD card and hold the boot button on the top right (near the SD card slot) and, while holding this button, insert the USB/power lead to connect the power. Keep holding the button until the LEDs start to flash.
(Complete info on http://derekmolloy.ie/write-a-new-image-to-the-beaglebone-black/)
2) Make your modifications to the image on EMMC
For example remove some packages, download updates, configure network interfaces, etc.
3) Dump EMMC content to SD
There are many ways to do this, but the easiest is to use the beaglebone-black-make-microSD-flasher-from-eMMC.sh script that should be already installed on the beaglebone or downloading it from Github.
4) Remove SD card and repeat from Step 1) on another beaglebone

Related

is mi notebook 14 graphics card switchable

I want to buy a mi notebook 14. In the spec sheet it says it has a Nvidia graphics card. I know a few friends who bought a laptop with dedicated graphics card, but they cant change the graphics card system wide. There is a way to change the graphics card for a specific applications, but I don't want that. So I want to ask, Is there a way to change graphics cards system wide?
There is a way to add a graphics card to a laptop, but it's not for gaming purposes. Strange as it might sound, you can plug one in to a USB port. Doing this gives you an extra graphics output so you can drive an external monitor as well as your laptop's built-in screen. If your laptop already has a VGA, DisplayPort or HDMI output, adding a USB graphics card means you can drive a third screen: you're not limited to two displays.
For example, this StarTech adapter gives your laptop an HDMI output: https://www.amazon.co.uk/StarTech-com-External-Video-Monitor-Adapter/dp/B00H91BRZU/ref=sr_1_fkmr0_2?tag=pcagenius-21&ie=UTF8&qid=1521109083&sr=8-2-fkmr0&keywords=Startek%20USB%20graphics%20card&ascsubtag=06-3364133-11-0000000&geniuslink=true

Windows iot LCD screen for raspberry pi

Please apart from the 7" LCD touch screen, which other lcd screen can work with raspberry pi using windows iot core operating system
It is recommended to use the screen device which is listed in the Hardware compatibility list. As mentioned in the document, this list is not exhaustive. There are many other peripherals not listed on this page that are compatible with Windows 10 IoT Core. You may try with other screen, maybe it is also compatible. If you just want to use a display screen without touch input, in general the screen with HDMI interface is usable.

Custom ROM Samsung SM-G53OT1

I've been using this phone a while, and I have been through tough times with it. Two bootloops, Google Play Services crashing infinitely, weird errors, everything. I'd say I've "bonded" with this Samsung and would like to take it up a notch.
I've been looking everywhere for ROMS for this phone and I haven't been able to find any, not figure out how. Maybe I'm just stupid but man it's aggregating.
I have a PC, Samsung driver's, Odin, and of course, my Samsung. I have everything I believe is necessary to flash a custom ROM.
I would appreciate ANY help to get a nice ROM for my phone.
At the minimum, I'd like it to have a theme changer.
Samsung Galaxy Grand Prime One
SM-G53OT1
You can install CM 13 on your SM G5series
CM 13 is a custom ROM used in android devices.
your warranty will be void if you install a custom rom.
careful that installing a custom ROM would sometimes injure your device
permanently.
Follow these steps to root your device to enjoy vast features
Download a recovery.img,USB driver and ADB tools for your corresponding device(extract and install them and keep the extracted file in one folder)
Download and Copy the zipped cm13 and gapps6(arm)to your device's internal or SD storage
Connect your device to a PC in USB debugging mode(just tap 7 times on the developer options in settings to enable USB debugging)
open program files,open minimal adb tools.Type CMD in location bar to open the command prompt in that folder)
type "adb devices" in the CMD without quotes.
"fastboot recovery.img"
Your device will be reboot and
Team win recovery is opened
wipe the system ,cache,dalvik cache
select INSTALL from the option
choose the zipped file cm13 and swipe it to flash the custom ROM.
choose the zipped file gaapps and flash it by swiping.
Your device will be updated to marshmallow after rebooting

Mac OS: get full control of web-camera (USB connected)

The task:
OS: Mac OS X 10.9 +
Description:
There is web-camera connected to a Mac via USB. I need to discover a way of getting access to its' brightness, pan, color temperature, focus, etc.
I also need a way to apply image filters against camera's video stream.
I need to be able to control the camera while it is being used by other programs like Skype, so I can transmit for example video stream with increased contrast at Skype video call.
Reference app: https://itunes.apple.com/app/webcam-settings/id533696630?mt=12
Solution:
This is the question.
As far as I understood I must to find custom kext (driver) in order to perform all this magic.
Could you please show me right direction, libraries, drivers, etc.
You can use opencv library to capture camera frames, apply filters, etc.
http://docs.opencv.org/2.4/doc/tutorials/introduction/display_image/display_image.html
Then you can feed a virtual cam that can feed into Skype, etc.
http://download.cnet.com/Virtual-Webcam/3000-2348_4-75754338.html
There also many open source virtual webcam available.
I hope this helps.

J2ME cache issue

I have to write a J2ME app to retrieve images from server and display in mobile phone.
I have seen and test that Snaptu have a mechanism to cache image, event with 100 images (both normal size and zoom size). I wonder how they can do that?
I though that those guys use rms to save image stream to data. But when i check in working folder of simulater( I use Windows XP and Sun Wireless Toolkit 3.0, the Emulator device i use to run my program is CLDC Device 1 - my working folder is C:\Document And Settings\Administrator\javame-sdk\3.0\work\6\appdb), i see some .db file. When i delete these files, i still can view cache image in my emulator????
I also thought that those guys use heap memory to save image. But it is not correct because when i set limit device memory is 2MB (like some mobile phones), and i load and view 100 images in zoom size, it didn't make OutOfMemory Error?
It so weird.
Any one can help me? Thanks
RMS is possible solution for trusted and untrusted MIDlet.
JSR-75 file connection is possible solution for trusted MIDlet only. You can't create file if your app is untrusted.

Resources