Skip to content

Instantly share code, notes, and snippets.

View gs-niteesh's full-sized avatar

Niteesh Babu G S gs-niteesh

  • India, Tamil Nadu
View GitHub Profile
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2020.06.06 20:16:29 =~=~=~=~=~=~=~=~=~=~=~=
U-Boot SPL 2020.04-00684-gd202f67db0 (Apr 26 2020 - 23:05:26 +0530)
Trying to boot from MMC1
U-Boot 2020.04-00684-gd202f67db0 (Apr 26 2020 - 23:05:26 +0530)
CPU : AM335X-GP rev 2.1
Model: TI AM335x PocketBeagle
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2020.06.06 21:03:20 =~=~=~=~=~=~=~=~=~=~=~=
sdhci_ti1-slot0: Controller timeout
sdhci_ti1-slot0: ============== REGISTER DUMP ==============
sdhci_ti1-slot0: Sys addr: 0x00000000 | Version: 0x00003101
sdhci_ti1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci_ti1-slot0: Argument: 0x00000000 | Trn mode: 0x00000000
sdhci_ti1-slot0: Present: 0x01f70000 | Host ctl: 0x00000000
sdhci_ti1-slot0: Power: 0x00000000 | Blk gap: 0x00000000
sdhci_ti1-slot0: Wake-up: 0x00000000 | Clock: 0x00008007
U-Boot 2020.04-00684-gd202f67db0 (Apr 26 2020 - 23:05:26 +0530)
CPU : AM335X-GP rev 2.1
Model: TI AM335x PocketBeagle
DRAM: 512 MiB
WDT: Started with servicing (60s timeout)
NAND: 0 MiB
MMC: OMAP SD/MMC: 0
Loading Environment from FAT... OK
Net: No ethernet found.
// Program name Data type
#include <stdio.h>
int main()
{
int a;
double d;
char c;
float f;
// program for ascii values
#include <stdio.h>
int main()
{
char ch;
scanf("%d", &ch);
int d = ch;
char pc = ch - 1;
// program for average sum
#include <stdio.h>
int main()
{
char name;
scanf("%c", &name);
int m1;
int m2;
#include <stdio.h>
int main(int argc, char const *argv[])
{
int n;
scanf("%d", &n);
int a=-1;
int b=-1;
int c=-1;
int d=-1;
#include <stdio.h>
int main(){
double mc;
int tt;
int tp;
scanf("%lf\n%d\n%d", &mc, &tt, &tp);
float tip = (mc * tt) / 100;
float tax = (mc * tp) / 100;
#include <math.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <assert.h>
#include <limits.h>
#include <stdbool.h>
int main() {
#include <stdio.h>
int main()
{
int a, b;
scanf("%d\n%d\n", &a, &b);
int c = a + b;
int d = a - b;
int e = a * b;
int f = a / b;