Petalinux package installation on ubuntu 16.04
Well, recently I moved my development environment from ubuntu 15.10 to 16.04 LTS. After installing XSDK and Petalinux 15.2
$ petalinux-build
INFO: Checking component...
Well, recently I moved my development environment from ubuntu 15.10 to 16.04 LTS. After installing XSDK and Petalinux 15.2
$ petalinux-build
INFO: Checking component...
GIT | Basic Username and Email Configuration
# command for configuring user name
git config --global user.name "user name"
# command for configuring email address
git config --global user.email "email address"
.........
It is a basic module with Background images for customizing Drupal Login, Password, and Register pages.
Administrators can provide consumers with the ability to add user username, password, registration pages with their own background images / background colour. Different features include background color customization, image settings.
Load Address is RAM location where the kernel binary image is to be copied. Entry Point is the Location of the copied binary to be executed by uboot to boot kernel.
Your RAM is mapped at 80000000 and kernel LOAD ADDRESS is 80008000. bootm command uncompress the uImage from copied image location to 80008000 address and then calls the kernel entry point (may be the same address : 80008000) to execute the kernel.
All the pins in SOC are not GPIO. A specific group of pins mapped as GPIO. Other pins are configured for specific protocols like DDR, SPI, I2C... etc. GPIO is generic pins can be used for any purpose based on user requirement. It can be used for handling IRQs, trigger Resets, Glow LEDs..etc.
for example, Consider a FPGA is connected to SOC via GPIOs. User need to program the FPGA via these GPIO pins. In SOC side user need to write a specific program with mentioned sequence to drive those GPIO to program the FPGA config file
Admin Toolbar - Admin Toolbar intends to improve the default Drupal Toolbar (the administration menu at the top of your site) to transform it into a drop-down menu, providing a fast access to all administration pages. (or The Coffee module helps you to navigate through the Drupal admin faster)
<?php
node_types_rebuild();
$types = node_type_get_types();
node_add_body_field($types['content_type_name']);
?>
Use: php filter and run this code or use devel/php
Install "php-soap":
sudo yum install php70w-soap
Terminal:
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirror.digistar.vn
* epel: epel.mirror.srv.co.ge
* extras: centos-hn.viettelidc.com.vn
* nux-dextop: mirror.li.nux.ro
* updates: mirror.digistar.vn
* webtatic: sp.repo.webtatic.com
Where-ever you can add it.
<?php print theme('breadcrumb', array('breadcrumb'=>drupal_get_breadcrumb())); ?>
function hook_menu(){
$items = array();
$items['multistep'] = array(
'title' => 'Multistep',
'page callback' => 'drupal_get_form',
'page arguments' => array('multistep'),
'access callback' => TRUE,
);
return $items;
}
...
template_preprocess_html() in template.php file. Preprocess variables for html.tpl.php
// Add external file
drupal_add_css('https://fonts.googleapis.com/css?family=Roboto:400,300,500,700',array('type' => 'external'));
// Add Javascript file at the bottom of a page
drupal_add_js('/sites/all/themes/purple/js/bootstrap.min.js', array('type' => 'file', 'scope' => 'footer', 'weight' => 10));
}
mysqldump --opt --where='1 limit 10' -h IP_ADDRESS -u USER_NAME DATABASE_NAME TABLE_NAME > databasetable.sql
Get node title without using node_load($nid).
In template.php file you can add the below code:
$menu = menu_tree_output(menu_tree_all_data('main-menu', null, 1));
$variables['menu'] = drupal_render($menu);
Page.tpl.php (render the main menu tree in the page.tpl.php like this.)
<?php print $menu; ?>
menu_tree_all_data($menu_name, $link = NULL, $max_depth = NULL)
[https://api.drupal.org/api/drupal/includes!menu.inc/function/menu_tree_all_data/7]
<?php
$types = node_type_get_types();
node_add_body_field( $types['your_content_type_machine_name'] );
?>
$star = 80;
$star_display = theme('fivestar_static', array('rating' => $star,'stars' => 5));
print render($star_display);